#5735 closed defect (fixed)
AMIGAOS4: Compiler error in engines/agi/sound_2gs.cpp
Reported by: | raziel- | Owned by: | fingolfin |
---|---|---|---|
Priority: | normal | Component: | Port: AmigaOS4 |
Version: | Keywords: | build | |
Cc: | Game: |
Description
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)
Ticket imported from: #3311198. Ticket imported from: bugs/5735.
Change History (5)
comment:1 by , 13 years ago
Owner: | set to |
---|
comment:2 by , 13 years ago
comment:4 by , 13 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:5 by , 6 years ago
Component: | → Port: AmigaOS4 |
---|
I just committed a change which should fix this, please try :)