Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#4234 closed defect (fixed)

PARALLACTION: Compile breaks in AmigaOS

Reported by: raziel- Owned by: peres
Priority: normal Component: Engine: Parallaction
Keywords: build Cc:
Game: Nippon Safes

Description

Latest SVN build

mkdir -p engines/parallaction/.deps ppc-amigaos-g++ -Wp,-MMD,"engines/parallaction/.deps/parallaction.d",-MQ,"engines/parallaction/parallaction.o",-MP -Wall -mcrt=newlib -mstrict-align -mcpu=750 -mtune=7400 -Wno-long-long -Wno-multichar -Wno-unknown-pragmas -Wno-reorder -pedantic -Wpointer-arith -Wcast-qual -Wcast-align -Wshadow -Wimplicit -Wnon-virtual-dtor -Wwrite-strings -fno-rtti -fno-exceptions -fcheck-new -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_CINE=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_SKY=STATIC_PLUGIN -DENABLE_SWORD1=STATIC_PLUGIN -DENABLE_SWORD2=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 engines/parallaction/parallaction.cpp -o engines/parallaction/parallaction.o In file included from engines/parallaction/parallaction.cpp:41: ./engines/parallaction/sound.h: In member function 'void Parallaction::SoundMan::execute(int, int32)': ./engines/parallaction/sound.h:65: warning: format '%i' expects type 'int', but argument 3 has type 'int32' engines/parallaction/parallaction.cpp: In member function 'void Parallaction::Parallaction::runZone(Parallaction::ZonePtr)': engines/parallaction/parallaction.cpp:623: warning: format '%x' expects type 'unsigned int', but argument 5 has type 'long unsigned int' engines/parallaction/parallaction.cpp:640: error: call of overloaded 'execute(Parallaction::<anonymous enum>, int&)' is ambiguous ./engines/parallaction/sound.h:60: note: candidates are: void Parallaction::SoundMan::execute(int, bool) ./engines/parallaction/sound.h:63: note: void Parallaction::SoundMan::execute(int, int32) engines/parallaction/parallaction.cpp:642: error: call of overloaded 'execute(Parallaction::<anonymous enum>, int)' is ambiguous ./engines/parallaction/sound.h:60: note: candidates are: void Parallaction::SoundMan::execute(int, bool) ./engines/parallaction/sound.h:63: note: void Parallaction::SoundMan::execute(int, int32) engines/parallaction/parallaction.cpp: In member function 'bool Parallaction::Parallaction::checkZoneBox(Parallaction::ZonePtr, uint32, uint, uint)': engines/parallaction/parallaction.cpp:727: warning: format '%x' expects type 'unsigned int', but argument 5 has type 'uint32' engines/parallaction/parallaction.cpp: In member function 'bool Parallaction::Parallaction::checkLinkedAnimBox(Parallaction::ZonePtr, uint32, uint, uint)': engines/parallaction/parallaction.cpp:760: warning: format '%x' expects type 'unsigned int', but argument 5 has type 'uint32' engines/parallaction/parallaction.cpp: In member function 'void Parallaction::Parallaction::beep()': engines/parallaction/parallaction.cpp:989: error: call of overloaded 'execute(Parallaction::<anonymous enum>, int)' is ambiguous ./engines/parallaction/sound.h:60: note: candidates are: void Parallaction::SoundMan::execute(int, bool) ./engines/parallaction/sound.h:63: note: void Parallaction::SoundMan::execute(int, int32) engines/parallaction/parallaction.cpp:990: error: call of overloaded 'execute(Parallaction::<anonymous enum>, int)' is ambiguous ./engines/parallaction/sound.h:60: note: candidates are: void Parallaction::SoundMan::execute(int, bool) ./engines/parallaction/sound.h:63: note: void Parallaction::SoundMan::execute(int, int32) engines/parallaction/parallaction.cpp:991: error: call of overloaded 'execute(Parallaction::<anonymous enum>, int)' is ambiguous ./engines/parallaction/sound.h:60: note: candidates are: void Parallaction::SoundMan::execute(int, bool) ./engines/parallaction/sound.h:63: note: void Parallaction::SoundMan::execute(int, int32) ./engines/parallaction/sound.h:68: note: void Parallaction::SoundMan::execute(int, const char*) gmake: *** [engines/parallaction/parallaction.o] Error 1

gcc version 4.2.4 (adtools build 20090118) AmigaOS4

Ticket imported from: #2689733. Ticket imported from: bugs/4234.

Change History (4)

comment:1 by Kirben, 12 years ago

Does this problem still occur under current ScummVM SVN? it looks like peres already fixed this issue in ScummVM SVN.

comment:2 by Kirben, 12 years ago

Owner: set to peres

comment:3 by Kirben, 12 years ago

Raziel_ mentioned on IRC, that the problem has been fixed.

comment:4 by Kirben, 12 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.