[ scummvm-Bugs-2455746 ] ALL: Compiler error in graphics/dxa_player.cpp

SourceForge.net noreply at sourceforge.net
Sun Dec 21 11:01:52 CET 2008


Bugs item #2455746, was opened at 2008-12-21 11:01
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418820&aid=2455746&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: ALL: Compiler error in graphics/dxa_player.cpp

Initial Comment:
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


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

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




More information about the Scummvm-tracker mailing list