Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-2344

OS X compiler warning

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • WT2.8.0
    • Affects Version/s: None
    • Component/s: 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@mongodb.com Keith Bostic (Inactive)
            Reporter:
            alexander.gorrod@mongodb.com Alexander Gorrod
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: