#24412: zlib 1.2.4_1: warning: "_FILE_OFFSET_BITS" is not defined -----------------------------------+---------------------------------------- Reporter: MK-MacPorts@… | Owner: landonf@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: zlib -----------------------------------+---------------------------------------- Comment(by MK-MacPorts@…): It turns out that this is not critical. '''This bug can be closed! {{{ On Apr 9, 2010, at 4:43 AM, Marko Käning wrote: Is this something to worry about? Marko, No, it is not something to worry about. MacPorts is warning-enable-happy (see example below) and enables a -Wundef warning that inexplicably warns against a recommended usage of #if per the ANSI C standard. Mark }}} using CFLAGS... -O3 -funroll-loops -fsched-interblock -falign-loops=16 -falign-jumps=16 -falign-functions=16 -falign-jumps-max-skip=15 -falign- loops-max-skip=15 -mdynamic-no-pic -Wall -Wno-multichar -Wsign-compare -Wundef -Wwrite-strings -Wpointer-arith -W -Wno-unused-parameter -Wformat=2 -Wredundant-decls -Wno-unused-variable -fno-strict-aliasing -Wcast-qual -fno-strict-overflow -DOSX -DNO_QUICKTIME -mmacosx-version- min=10.5 -DUNIX -DWITH_COCOA -DENABLE_COCOA_QUARTZ -DWITH_ZLIB -DWITH_LZO -D_SQ64 -I/Users/ingo/ottd/openttd-1.0/src/3rdparty/squirrel/include -DENABLE_AI -DWITH_PNG -I/opt/local/include/libpng12 -DWITH_FREETYPE -I/opt/local/include/freetype2 -I/opt/local/include -DWITH_ICU -I/usr/local/include -DLIBTIMIDITY -DWITH_ICONV -DHAVE_BROKEN_ICONV -DENABLE_NETWORK -DNDEBUG -DWITH_PERSONAL_DIR -DPERSONAL_DIR=\"Documents/OpenTTD\" -DWITH_SHARED_DIR -DSHARED_DIR=\"/Library/Application\ Support/OpenTTD\" -DGLOBAL_DATA_DIR=\"/usr/local/share/games/openttd\" -- Ticket URL: <http://trac.macports.org/ticket/24412#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS