-
Type: Task
-
Resolution: Fixed
-
Priority: Minor - P4
-
Affects Version/s: 1.4.0
-
Component/s: None
-
None
Consider implementing some checks from zLib's CMakeLists.txt to ensure necessary headers are included, such as unistd.h. This will avoid build warnings for implicit function declarations, which were originally reported in CDRIVER-2666.
Original description: Per jesse's comment in CDRIVER-2666, PHPC should not use its developer CFLAGS when compiling libmongoc's bundled zlib. This is something libmongoc addressed on their own in CDRIVER-2511. We may have inadvertently started doing this after the Autotools migration (PHPC-1075).
- is related to
-
PHPC-1096 Driver fails to build with libmongoc's bundled zlib
- Closed
-
CDRIVER-2666 Call bundled zLib's CMake script to avoid warnings
- Backlog
-
CDRIVER-2511 Disable warnings for zlib in CMake
- Closed