[ scummvm-Bugs-3539018 ] Toon: AmigaOS4 Compiler error in anim.cpp

SourceForge.net noreply at sourceforge.net
Fri Jun 29 18:44:17 CEST 2012


Bugs item #3539018, was opened at 2012-06-29 09:44
Message generated for change (Tracker Item Submitted) made by raziel_
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418820&aid=3539018&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: Toonstruck
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Hubert Maier (raziel_)
Assigned to: Nobody/Anonymous (nobody)
Summary: Toon: AmigaOS4 Compiler error in anim.cpp

Initial Comment:
Latest Sources

    C++      engines/toon/anim.o
engines/toon/anim.cpp: In member function 'void Toon::Animation::drawFrame(Graphics::Surface&, int32, int16, int16)':
engines/toon/anim.cpp:136: warning: format '%d' expects type 'int', but argument 4 has type 'int32'
engines/toon/anim.cpp: In member function 'void Toon::Animation::drawFrameWithMask(Graphics::Surface&, int32, int16, int16, int32, Toon::Picture*)':
engines/toon/anim.cpp:206: warning: format '%d' expects type 'int', but argument 4 has type 'int32'
engines/toon/anim.cpp:206: warning: format '%d' expects type 'int', but argument 7 has type 'int32'
engines/toon/anim.cpp: In member function 'void Toon::Animation::drawFrameWithMaskAndScale(Graphics::Surface&, int32, int16, int16, int32, Toon::Picture*, int32)':
engines/toon/anim.cpp:211: warning: format '%d' expects type 'int', but argument 4 has type 'int32'
engines/toon/anim.cpp:211: warning: format '%d' expects type 'int', but argument 7 has type 'int32'
engines/toon/anim.cpp:211: warning: format '%d' expects type 'int', but argument 8 has type 'int32'
engines/toon/anim.cpp: In member function 'void Toon::Animation::applyPalette(int32, int32, int32)':
engines/toon/anim.cpp:262: warning: format '%d' expects type 'int', but argument 4 has type 'int32'
engines/toon/anim.cpp:262: warning: format '%d' expects type 'int', but argument 5 has type 'int32'
engines/toon/anim.cpp:262: warning: format '%d' expects type 'int', but argument 6 has type 'int32'
engines/toon/anim.cpp: In member function 'Common::Rect Toon::Animation::getFrameRect(int32)':
engines/toon/anim.cpp:267: warning: format '%d' expects type 'int', but argument 4 has type 'int32'
engines/toon/anim.cpp: In member function 'int16 Toon::Animation::getFrameWidth(int32)':
engines/toon/anim.cpp:279: warning: format '%d' expects type 'int', but argument 4 has type 'int32'
engines/toon/anim.cpp: In member function 'int16 Toon::Animation::getFrameHeight(int32)':
engines/toon/anim.cpp:290: warning: format '%d' expects type 'int', but argument 4 has type 'int32'
engines/toon/anim.cpp: In member function 'void Toon::Animation::drawFontFrame(Graphics::Surface&, int32, int16, int16, byte*)':
engines/toon/anim.cpp:309: warning: format '%d' expects type 'int', but argument 4 has type 'int32'
engines/toon/anim.cpp: In member function 'void Toon::Animation::drawFrameOnPicture(int32, int16, i
nt16)':
engines/toon/anim.cpp:356: warning: format '%d' expects type 'int', but argument 4 has type 'int32'
engines/toon/anim.cpp: In member function 'void Toon::AnimationInstance::update(int32)':
engines/toon/anim.cpp:405: warning: format '%d' expects type 'int', but argument 4 has type 'int32'
engines/toon/anim.cpp: At global scope:
engines/toon/anim.cpp:504: error: prototype for 'void Toon::AnimationInstance::setAnimationRange(in
t32, int)' does not match any in class 'Toon::AnimationInstance'
./engines/toon/anim.h:95: error: candidate is: void Toon::AnimationInstance::setAnimationRange(int
32, int32)
engines/toon/anim.cpp: In member function 'void Toon::AnimationInstance::setAnimationRange(int32, 
int)':
engines/toon/anim.cpp:505: warning: format '%d' expects type 'int', but argument 4 has type 'int32
'
engines/toon/anim.cpp: In member function 'void Toon::AnimationInstance::setPosition(int16, int16,
 int32, bool)':
engines/toon/anim.cpp:517: warning: format '%d' expects type 'int', but argument 6 has type 'int32'
engines/toon/anim.cpp: In member function 'void Toon::AnimationInstance::moveRelative(int16, int16, int32)':
engines/toon/anim.cpp:530: warning: format '%d' expects type 'int', but argument 6 has type 'int32'
engines/toon/anim.cpp: In member function 'void Toon::AnimationInstance::forceFrame(int32)':
engines/toon/anim.cpp:537: warning: format '%d' expects type 'int', but argument 4 has type 'int32'
engines/toon/anim.cpp: In member function 'void Toon::AnimationInstance::setFrame(int32)':
engines/toon/anim.cpp:544: warning: format '%d' expects type 'int', but argument 4 has type 'int32'
engines/toon/anim.cpp: In member function 'void Toon::AnimationInstance::setFps(int32)':
engines/toon/anim.cpp:549: warning: format '%d' expects type 'int', but argument 4 has type 'int32'
engines/toon/anim.cpp: In member function 'void Toon::AnimationInstance::setScale(int32, bool)':
engines/toon/anim.cpp:564: warning: format '%d' expects type 'int', but argument 4 has type 'int32'
engines/toon/anim.cpp: In member function 'void Toon::AnimationInstance::setZ(int32, bool)':
engines/toon/anim.cpp:606: warning: format '%d' expects type 'int', but argument 4 has type 'int32'
engines/toon/anim.cpp: In member function 'void Toon::AnimationManager::update(int32)':
engines/toon/anim.cpp:747: warning: format '%d' expects type 'int', but argument 4 has type 'int32'
gmake: *** [engines/toon/anim.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=3539018&group_id=37116




More information about the Scummvm-tracker mailing list