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
The latest trunk (r11315) no longer compiles on Mac OS X (I've tested both on Intel and on PPC):
[..]
[SRC] Compiling music/null_m.cpp
[SRC] Compiling music/qtmidi.cpp
/Users/neil/dev/openttd/trunk/src/music/../openttd.h:73: error: 'INT64_MAX' was not declared in this scope
/Users/neil/dev/openttd/trunk/src/music/../openttd.h:73: error: 'INT64_MIN' was not declared in this scope
/Users/neil/dev/openttd/trunk/src/music/../openttd.h:73: error: template argument 2 is invalid
/Users/neil/dev/openttd/trunk/src/music/../openttd.h:73: error: template argument 3 is invalid
/Users/neil/dev/openttd/trunk/src/music/../openttd.h:73: error: invalid type in declaration before ';' token
make[1]: *** [music/qtmidi.o] Error 1
make: *** [all] Error 2
I've checked /usr/include/stdint.h on my systems, and it does define INT64_MAX (although I'm not 100% sure that's the one that's used, but 22 of the 24 stdint.h's on my (PPC) system include a define for INT64_MAX), so I'm not sure what goes wrong (stdafx.h should include <stdint.h> I think).
What's weird (to me anyway) is that economy.cpp (which also uses INT64_MAX) does compile. I've checked qtmidi.cpp but stdafx.h is included there (before openttd.h is included).
r11271 whas the latest revision I tried to compile, and that worked fine, so this problem was probably introduced after that.
Reported version: trunk Operating system: Mac OS X
mallmonkey opened the ticket and wrote:
Reported version: trunk
Operating system: Mac OS X
This issue was imported from FlySpray: https://bugs.openttd.org/task/1357
The text was updated successfully, but these errors were encountered: