-
Type: Improvement
-
Resolution: Fixed
-
Priority: Major - P3
-
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.
- related to
-
PHPC-1197 Check for unistd.h when compiling bundled zLib
- Closed
-
CDRIVER-2666 Call bundled zLib's CMake script to avoid warnings
- Backlog