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

OS X compiler warning

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: WT2.8.0
    • Component/s: None
    • Labels:
      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

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

                Dates

                Created:
                Updated:
                Resolved: