Opened 14 years ago

Closed 14 years ago

#24412 closed defect (invalid)

zlib 1.2.4_1: warning: "_FILE_OFFSET_BITS" is not defined

Reported by: mkae (Marko Käning) Owned by: landonf (Landon Fuller)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
Port: zlib

Description

I got this warning message while compiling kmymoney:

/opt/local/include/zlib.h:1568:32: warning: "_FILE_OFFSET_BITS" is not defined

Is it something to worry about?

Change History (5)

comment:1 Changed 14 years ago by jmroot (Joshua Root)

Cc: ryandesign@… added
Owner: changed from macports-tickets@… to landonf@…

Please remember to cc the maintainers.

comment:2 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

I don't know; I recommend you ask the developers of zlib.

comment:3 in reply to:  2 Changed 14 years ago by mkae (Marko Käning)

Replying to ryandesign@…:

I did contact them.

comment:4 Changed 14 years ago by mkae (Marko Käning)

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\"

comment:5 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: invalid
Status: newclosed

Thanks for letting us know.

However, MacPorts is not "warning-enable-happy". We merely provide ports that compile software. If the developers of that software have chosen to be "warning-enable-happy", then that port in MacPorts probably is as well, but not due to anything we've done.

Note: See TracTickets for help on using tickets.