[ scummvm-Bugs-2838568 ] AMIGAOS4: Compiler error in audiostream.cpp

SourceForge.net noreply at sourceforge.net
Sun Aug 16 18:10:21 CEST 2009


Bugs item #2838568, was opened at 2009-08-16 18:10
Message generated for change (Tracker Item Submitted) made by raziel_
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418820&aid=2838568&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: All Games
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Hubert Maier (raziel_)
Assigned to: Nobody/Anonymous (nobody)
Summary: AMIGAOS4: Compiler error in audiostream.cpp

Initial Comment:
ScummVM1.0.0r43442

Lately i wasnt  able to test build the latest sources until today which brought me to the below error

g++ -Wp,-MMD,"sound/.deps/audiostream.d",-MQ,"sound/audiostream.o",-MP -Wall -g -mcrt=newlib -mstrict-align -mcpu=750 -mtune=7400 -W -Wno-unused-parameter -Wconversion -pedantic -Wno-long-long -Wno-multichar -Wno-unknown-pragmas -Wno-reorder -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wimplicit -Wnon-virtual-dtor -Wwrite-strings -fno-rtti -fno-exceptions -fcheck-new -DSCUMMVM_SVN_REVISION=\"43442\" -DHAVE_CONFIG_H -DDATA_PATH=\"/usr/local/share/scummvm\" -DPLUGIN_DIRECTORY=\"/usr/local/lib/scummvm\" -DSDL_BACKEND -DENABLE_SCUMM=STATIC_PLUGIN -DENABLE_SCUMM_7_8 -DENABLE_HE -DENABLE_AGI=STATIC_PLUGIN -DENABLE_AGOS=STATIC_PLUGIN -DENABLE_AGOS2 -DENABLE_CINE=STATIC_PLUGIN -DENABLE_CRUISE=STATIC_PLUGIN -DENABLE_DRASCULA=STATIC_PLUGIN -DENABLE_GOB=STATIC_PLUGIN -DENABLE_GROOVIE=STATIC_PLUGIN -DENABLE_KYRA=STATIC_PLUGIN -DENABLE_LURE=STATIC_PLUGIN -DENABLE_MADE=STATIC_PLUGIN -DENABLE_PARALLACTION=STATIC_PLUGIN -DENABLE_QUEEN=STATIC_PLUGIN -DENABLE_SAGA=STATIC_PLUGIN -DENABLE_IHNM -DENABLE_SCI=STATIC_PLUGIN -DENABLE_SKY=STATIC_PLUGIN -DENABLE_SWORD1=STATIC_PLUGIN -DENABLE_SWORD2=STATIC_PLUGIN -DENABLE_TINSEL=STATIC_PLUGIN -DENABLE_TOUCHE=STATIC_PLUGIN -DENABLE_TUCKER=STATIC_PLUGIN -I. -I. -I./engines -I/SDK/Local/newlib/include/SDL -D_GNU_SOURCE=1 -c sound/audiostream.cpp -o sound/audiostream.o
sound/audiostream.cpp: In member function 'int Audio::LinearDiskStream<stereo, is16Bit, isUnsigned, isLE>::readBuffer(int16*, int)':
sound/audiostream.cpp:280: error: no matching function for call to 'MIN(int&, int32&)'
sound/audiostream.cpp: In member function 'int Audio::LinearDiskStream<stereo, is16Bit, isUnsigned, isLE>::readBuffer(int16*, int) [with bool stereo = false, bool is16Bit = false, bool isUnsigned = false, bool isLE = false]':
sound/audiostream.cpp:591:   instantiated from here
sound/audiostream.cpp:280: error: no matching function for call to 'MIN(int&, int32&)'
sound/audiostream.cpp: In member function 'int Audio::LinearDiskStream<stereo, is16Bit, isUnsigned, isLE>::readBuffer(int16*, int) [with bool stereo = false, bool is16Bit = true, bool isUnsigned = false, bool isLE = false]':
sound/audiostream.cpp:591:   instantiated from here
sound/audiostream.cpp:280: error: no matching function for call to 'MIN(int&, int32&)'
sound/audiostream.cpp: In member function 'int Audio::LinearDiskStream<stereo, is16Bit, isUnsigned, isLE>::readBuffer(int16*, int) [with bool stereo = false, bool is16Bit = true, bool isUnsigned = false, bool isLE = true]':
sound/audiostream.cpp:591:   instantiated from here
sound/audiostream.cpp:280: error: no matching function for call to 'MIN(int&, int32&)'
sound/audiostream.cpp: In member function 'int Audio::LinearDiskStream<stereo, is16Bit, isUnsigned, isLE>::readBuffer(int16*, int) [with bool stereo = false, bool is16Bit = false, bool isUnsigned = true, bool isLE = false]':
sound/audiostream.cpp:591:   instantiated from here
sound/audiostream.cpp:280: error: no matching function for call to 'MIN(int&, int32&)'
sound/audiostream.cpp: In member function 'int Audio::LinearDiskStream<stereo, is16Bit, isUnsigned, isLE>::readBuffer(int16*, int) [with bool stereo = false, bool is16Bit = true, bool isUnsigned = true, bool isLE = false]':
sound/audiostream.cpp:591:   instantiated from here
sound/audiostream.cpp:280: error: no matching function for call to 'MIN(int&, int32&)'
sound/audiostream.cpp: In member function 'int Audio::LinearDiskStream<stereo, is16Bit, isUnsigned, isLE>::readBuffer(int16*, int) [with bool stereo = false, bool is16Bit = true, bool isUnsigned = true, bool isLE = true]':
sound/audiostream.cpp:591:   instantiated from here
sound/audiostream.cpp:280: error: no matching function for call to 'MIN(int&, int32&)'
sound/audiostream.cpp: In member function 'int Audio::LinearDiskStream<stereo, is16Bit, isUnsigned, isLE>::readBuffer(int16*, int) [with bool stereo = true, bool is16Bit = false, bool isUnsigned = false, bool isLE = false]':
sound/audiostream.cpp:591:   instantiated from here
sound/audiostream.cpp:280: error: no matching function for call to 'MIN(int&, int32&)'
sound/audiostream.cpp: In member function 'int Audio::LinearDiskStream<stereo, is16Bit, isUnsigned, isLE>::readBuffer(int16*, int) [with bool stereo = true, bool is16Bit = true, bool isUnsigned = false, bool isLE = false]':
sound/audiostream.cpp:591:   instantiated from here
sound/audiostream.cpp:280: error: no matching function for call to 'MIN(int&, int32&)'
sound/audiostream.cpp: In member function 'int Audio::LinearDiskStream<stereo, is16Bit, isUnsigned, isLE>::readBuffer(int16*, int) [with bool stereo = true, bool is16Bit = true, bool isUnsigned = false, bool isLE = true]':
sound/audiostream.cpp:591:   instantiated from here
sound/audiostream.cpp:280: error: no matching function for call to 'MIN(int&, int32&)'
sound/audiostream.cpp: In member function 'int Audio::LinearDiskStream<stereo, is16Bit, isUnsigned, isLE>::readBuffer(int16*, int) [with bool stereo = true, bool is16Bit = false, bool isUnsigned = true, bool isLE = false]':
sound/audiostream.cpp:591:   instantiated from here
sound/audiostream.cpp:280: error: no matching function for call to 'MIN(int&, int32&)'
sound/audiostream.cpp: In member function 'int Audio::LinearDiskStream<stereo, is16Bit, isUnsigned, isLE>::readBuffer(int16*, int) [with bool stereo = true, bool is16Bit = true, bool isUnsigned = true, bool isLE = false]':
sound/audiostream.cpp:591:   instantiated from here
sound/audiostream.cpp:280: error: no matching function for call to 'MIN(int&, int32&)'
sound/audiostream.cpp: In member function 'int Audio::LinearDiskStream<stereo, is16Bit, isUnsigned, isLE>::readBuffer(int16*, int) [with bool stereo = true, bool is16Bit = true, bool isUnsigned = true, bool isLE = true]':
sound/audiostream.cpp:591:   instantiated from here
sound/audiostream.cpp:280: error: no matching function for call to 'MIN(int&, int32&)'
gmake: *** [sound/audiostream.o] Error 1

AmigaOS4
gcc version 4.2.4 (adtools build 20090118)

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418820&aid=2838568&group_id=37116




More information about the Scummvm-tracker mailing list