OS X compiler warning

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • WT2.8.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None

      An evergreen patch build of latest WiredTiger develop fails on OS X with:

      [2016/01/21 20:48:54.033] src/third_party/wiredtiger/src/btree/bt_rebalance.c:146:7: error: format specifies type 'unsigned long long' but the argument has type 'size_t' (aka 'unsigned long') [-Werror,-Wformat]
       [2016/01/21 20:48:54.033]                     rs->leaf_next, UINT32_MAX);
       [2016/01/21 20:48:54.033] ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
       [2016/01/21 20:48:54.033] src/third_party/wiredtiger/src/include/error.h:51:27: note: expanded from macro 'WT_RET_MSG'
       [2016/01/21 20:48:54.033]         __wt_err(session, __ret, __VA_ARGS__);                          \
      

              Assignee:
              Keith Bostic (Inactive)
              Reporter:
              Alexander Gorrod
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: