Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-2511

Disable warnings for zlib in CMake

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 1.10.0
    • None
    • None
    • None
    • Fully Compatible

    Description

      Evergreen compiles mongo-c-driver with -Werror treating all warnings as errors. The autotools Makefile.am clears the CFLAGS for zLib to prevent zLib warnings showing up.

      We should do something similar in CMake. Currently if we specify

      -DCMAKE_C_FLAGS="-Werror"
      

      as a CMake option compile will fail from zLib warnings.

      Attachments

        Activity

          People

            kevin.albertson@mongodb.com Kevin Albertson
            kevin.albertson@mongodb.com Kevin Albertson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: