#6052 closed defect (fixed)
AMIGAOS4: Compiler error in Geisha Minigames
Reported by: | raziel- | Owned by: | DrMcCoy |
---|---|---|---|
Priority: | normal | Component: | Port: AmigaOS4 |
Version: | Keywords: | build | |
Cc: | Game: | Geisha |
Description
ScummVM 1.5.0git (May 31 2012 15:35:34) Features compiled in: Vorbis FLAC MP3 RGB zLib Theora AAC FreeType2
C++ engines/gob/minigames/geisha/meter.o engines/gob/minigames/geisha/meter.cpp: In member function 'int32 Gob::Geisha::Meter::increase(int32)': engines/gob/minigames/geisha/meter.cpp:70: error: no matching function for call to 'MAX(int, long int)' engines/gob/minigames/geisha/meter.cpp: In member function 'int32 Gob::Geisha::Meter::decrease(int32)': engines/gob/minigames/geisha/meter.cpp:86: error: no matching function for call to 'MIN(int, long int)' gmake: *** [engines/gob/minigames/geisha/meter.o] Error 1
Changing lines 70 and 86 to 70: int32 overflow = MAX<int32>(0, (_value + n) - _maxValue); 86: int32 underflow = -MIN<int32>(0, _value - n); will fix the error.
AmigaOS4 - PPC - SDL - BE gcc (GCC) 4.2.4 (adtools build 20090118)
Ticket imported from: #3534287. Ticket imported from: bugs/6052.
Change History (3)
comment:1 by , 12 years ago
comment:2 by , 12 years ago
Owner: | set to |
---|---|
Resolution: | → fixed |
Status: | new → closed |
comment:3 by , 6 years ago
Component: | → Port: AmigaOS4 |
---|---|
Game: | → Geisha |
Should be fixed in f87e8b53f333, thanks for reporting :)