Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-1421

zSeries on Ubuntu build failure - unused function warning on big-endian

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.6.0
    • Affects Version/s: None
    • Component/s: None
    • None

      https://evergreen.mongodb.com/task_log_raw/mongo_c_driver_zseries_ubuntu1604_debug_compile_sasl_nossl_4ea9bcd961df939b58a6e5db017a3fd13425a34a_16_07_27_00_51_01/0?type=T

       [2016/07/26 18:51:39.789] src/mongoc/mongoc-rpc.c:134:4: error: '_mongoc_rpc_swab_to_le_reply_header' defined but not used [-Werror=unused-function]
       [2016/07/26 18:51:39.790]     _mongoc_rpc_swab_to_le_##_name (mongoc_rpc_##_name##_t *rpc) \
       [2016/07/26 18:51:39.790]     ^
       [2016/07/26 18:51:39.790] src/mongoc/op-reply-header.def:1:1: note: in expansion of macro 'RPC'
       [2016/07/26 18:51:39.790]  RPC(
       [2016/07/26 18:51:39.790]  ^
       [2016/07/26 18:51:39.790] src/mongoc/mongoc-rpc.c:176:4: error: '_mongoc_rpc_swab_from_le_reply_header' defined but not used [-Werror=unused-function]
       [2016/07/26 18:51:39.790]     _mongoc_rpc_swab_from_le_##_name (mongoc_rpc_##_name##_t *rpc) \
       [2016/07/26 18:51:39.790]     ^
       [2016/07/26 18:51:39.790] src/mongoc/op-reply-header.def:1:1: note: in expansion of macro 'RPC'
       [2016/07/26 18:51:39.790]  RPC(
       [2016/07/26 18:51:39.790]  ^
       [2016/07/26 18:51:39.871] cc1: all warnings being treated as errors
       [2016/07/26 18:51:39.874] Makefile:3312: recipe for target 'src/mongoc/libmongoc_1_0_la-mongoc-rpc.lo' failed
       [2016/07/26 18:51:39.874] make[1]: Leaving directory '/data/mci/63897e39864a4ed2b4080dd560a73df5/mongoc'
       [2016/07/26 18:51:39.874] make[1]: *** [src/mongoc/libmongoc_1_0_la-mongoc-rpc.lo] Error 1
       [2016/07/26 18:51:39.875] make: *** [all-recursive] Error 1
      

            Assignee:
            bjori Hannes Magnusson
            Reporter:
            bjori Hannes Magnusson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: