Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-20664

WiredTiger and zlib trigger clang 3.7's Wshift-negative-value warning

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.2.0-rc0
    • Affects Version/s: None
    • Component/s: Build
    • None
    • Fully Compatible
    • ALL
    • QuInt A (10/12/15)

      It is included in Wall so we'll need to either fix them or suppress the warning when building those libraries.

      src/third_party/zlib-1.2.8/inflate.c:1507:61: error: shifting a negative signed value is undefined [-Werror,-Wshift-negative-value]
          if (strm == Z_NULL || strm->state == Z_NULL) return -1L << 16;
                                                              ~~~ ^
      1 error generated
      

            Assignee:
            mathias@mongodb.com Mathias Stearn
            Reporter:
            mathias@mongodb.com Mathias Stearn
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: