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

OS X compiler warning

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • WT2.8.0
    • None
    • None

    Description

      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__);                          \
      

      Attachments

        Issue Links

          Activity

            People

              keith.bostic@mongodb.com Keith Bostic
              alexander.gorrod@mongodb.com Alexander Gorrod
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: