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

Disable warnings for zlib in CMake

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 1.10.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible

      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.

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

              Created:
              Updated:
              Resolved: