[ scummvm-Bugs-3311198 ] AMIGAOS4: Compiler error in engines/agi/sound_2gs.cpp

SourceForge.net noreply at sourceforge.net
Fri Jun 3 19:48:03 CEST 2011


Bugs item #3311198, was opened at 2011-06-03 19:48
Message generated for change (Tracker Item Submitted) made by raziel_
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418820&aid=3311198&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 engines/agi/sound_2gs.cpp

Initial Comment:
ScummVM 1.4.0git6287426 (June 03 2011 19:42:07)
Features compiled in: Vorbis FLAC MP3 RGB zLib Theora 

    C++      engines/agi/sound_2gs.o
engines/agi/sound_2gs.cpp:138: error: prototype for 'uint32 Agi::SoundGen2GS::generateOutput()' does not match any in class 'Agi::SoundGen2GS'
./engines/agi/sound_2gs.h:242: error: candidate is: uint Agi::SoundGen2GS::generateOutput()
engines/agi/sound_2gs.cpp:138: error: 'uint32 Agi::SoundGen2GS::generateOutput()' cannot be overloaded
./engines/agi/sound_2gs.h:242: error: with 'uint Agi::SoundGen2GS::generateOutput()'
engines/agi/sound_2gs.cpp: In constructor 'Agi::IIgsMidi::IIgsMidi(uint8*, uint32, int, Agi::SoundMgr&)':
engines/agi/sound_2gs.cpp:459: warning: format '%d' expects type 'int', but argument 4 has type 'uint32'
engines/agi/sound_2gs.cpp: In constructor 'Agi::IIgsSample::IIgsSample(uint8*, uint32, int, Agi::SoundMgr&)':
engines/agi/sound_2gs.cpp:487: warning: format '%d' expects type 'int', but argument 3 has type 'uint32'
engines/agi/sound_2gs.cpp:510: warning: format '%d' expects type 'int', but argument 4 has type 'uint32'
engines/agi/sound_2gs.cpp: In member function 'bool Agi::SoundGen2GS::loadInstrumentHeaders(Common::String&, const Agi::IIgsExeInfo&)':
engines/agi/sound_2gs.cpp:718: warning: format '%d' expects type 'int', but argument 5 has type 'int32'
gmake: *** [engines/agi/sound_2gs.o] Error 1

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=3311198&group_id=37116




More information about the Scummvm-tracker mailing list