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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.2.0-rc0
    • Component/s: Build
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Sprint:
      QuInt A (10/12/15)

      Description

      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
      

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                1 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: