You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Recently trunk (e.g. r19536) versions start to give an error wrt zlib (several places, just quoted one here):
In file included from /opt/local/include/libpng12/png.h:497,
from /Users/ingo/ottd/fix_apple/src/crashlog.cpp:157:
/opt/local/include/zlib.h:1568:32: warning: "_FILE_OFFSET_BITS" is not defined
The same (now) happens with older revs (e.g. r19285), too, though; recently zlib got updates (zlib 1.2.4), too, and a couple of discussions is found on the net regarding this define: http://www.mail-archive.com/freebsd-ports@freebsd.org/msg26336.html
This might suggest that it actually is rather a macports issue than an OpenTTD issue...
adding a # define _FILE_OFFSET_BITS 64 (or 32) in stdafx.h or osx_stdafx.h at an appropriate place silences this warning. But that's not a generally applicable solution, even if guarded by the # ifdef(APPLE)
Reported version: trunk Operating system: Mac OS X
planetmaker opened the ticket and wrote:
Reported version: trunk
Operating system: Mac OS X
This issue was imported from FlySpray: https://bugs.openttd.org/task/3729
The text was updated successfully, but these errors were encountered: