[ scummvm-Bugs-3387129 ] AMIGAOS4: Compiler error in TSage
SourceForge.net
noreply at sourceforge.net
Sat Aug 6 09:19:46 CEST 2011
Bugs item #3387129, was opened at 2011-08-06 09:19
Message generated for change (Tracker Item Submitted) made by raziel_
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=418820&aid=3387129&group_id=37116
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Compiler error
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Hubert Maier (raziel_)
Assigned to: Nobody/Anonymous (nobody)
Summary: AMIGAOS4: Compiler error in TSage
Initial Comment:
ScummVM 1.4.0git-68b4873 (Aug 06 2011 09:08:59)
Features compiled in: Vorbis FLAC MP3 RGB zLib Theora AAC
C++ engines/tsage/sound.o
engines/tsage/sound.cpp: In member function 'virtual int tSage::AdlibSoundDriver::readBuffer(int16*, int)':
engines/tsage/sound.cpp:2795: error: no matching function for call to 'MIN(int32&, int&)'
gmake: *** [engines/tsage/sound.o] Error 1
Changing line 2795 in engines/tsage/sound.cpp from
int32 render = MIN(samplesLeft, _samplesTillCallback);
to
int32 render = MIN<int>(samplesLeft, _samplesTillCallback);
fixes it.
AmigaOS4 - PPC - SDL - BE
gcc (GCC) 4.2.4 (adtools build 20090118)
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=418820&aid=3387129&group_id=37116
More information about the Scummvm-tracker
mailing list