Why are assertions in zlib on Unix switched off?
thomas.stuefe at gmail.com
Tue Nov 26 14:18:18 UTC 2013
When building the zlib on Unix platforms, zlib assertions are switched off
explicitly using -UDEBUG:
84 ifeq ($(PLATFORM), windows)
88 CPPFLAGS += -UDEBUG
This switches off assertions inside the zlib (see zutil.h, zutil,c inside
Does anyone know why this was done? And why not for windows?
Background: I investigate a case where we get a zlib assert on Windows and
I wondered why this did not show up on Unix.
Kind Regards, Thomas
More information about the core-libs-dev