Opened 15 years ago

Closed 15 years ago

Last modified 5 years ago

#4047 closed defect (fixed)

ALL: Compiler error in graphics/dxa_player.cpp

Reported by: raziel- Owned by: bluegr
Priority: normal Component: Graphics
Version: Keywords: build
Cc: Game:

Description

ppc-amigaos-g++ -Wp,-MMD,"graphics/.deps/dxa_player.d",-MQ,"graphics/dxa_player.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=\"/Development/Coding/Sources/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_PARALLACTION=STATIC_PLUGIN -DENABLE_QUEEN=STATIC_PLUGIN -DENABLE_SAGA=STATIC_PLUGIN -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 graphics/dxa_player.cpp -o graphics/dxa_player.o graphics/dxa_player.cpp:91: error: prototype for 'int Graphics::DXAPlayer::getFrameRate()' does not match any in class 'Graphics::DXAPlayer' ./graphics/dxa_player.h:91: error: candidate is: int32 Graphics::DXAPlayer::getFrameRate() graphics/dxa_player.cpp:91: error: 'int Graphics::DXAPlayer::getFrameRate()' cannot be overloaded ./graphics/dxa_player.h:91: error: with 'int32 Graphics::DXAPlayer::getFrameRate()' graphics/dxa_player.cpp: In member function 'bool Graphics::DXAPlayer::loadFile(const char*)': graphics/dxa_player.cpp:145: warning: format '%d' expects type 'int', but argument 7 has type 'uint32' graphics/dxa_player.cpp:145: warning: format '%d' expects type 'int', but argument 8 has type 'uint32' graphics/dxa_player.cpp:152: warning: format '%d' expects type 'int', but argument 2 has type 'uint32' graphics/dxa_player.cpp:158: warning: format '%d' expects type 'int', but argument 2 has type 'uint32' graphics/dxa_player.cpp: In member function 'void Graphics::DXAPlayer::decode12(int)': graphics/dxa_player.cpp:239: warning: format '%d' expects type 'int', but argument 2 has type 'uint32' graphics/dxa_player.cpp:272: warning: cast from 'byte*' to 'short unsigned int*' increases required alignment of target type graphics/dxa_player.cpp: In member function 'void Graphics::DXAPlayer::decode13(int)': graphics/dxa_player.cpp:340: warning: format '%d' expects type 'int', but argument 2 has type 'uint32' graphics/dxa_player.cpp: In member function 'void Graphics::DXAPlayer::decodeNextFrame()': graphics/dxa_player.cpp:539: warning: format '%d' expects type 'int', but argument 2 has type 'uint32' gmake: *** [graphics/dxa_player.o] Error 1

Ticket imported from: #2455746. Ticket imported from: bugs/4047.

Change History (4)

comment:1 by eriktorbjorn, 15 years ago

Does that still happen? There were some changes earlier today.

comment:2 by raziel-, 15 years ago

Nope, fixed, thanks a lot

comment:3 by Kirben, 15 years ago

Component: --Unset--
Owner: set to bluegr
Resolution: fixed
Status: newclosed

comment:4 by digitall, 5 years ago

Component: --Unset--Graphics
Note: See TracTickets for help on using tickets.