[ scummvm-Bugs-3060981 ] AMIGAOS4: Overload in QuickTimeDecoder

SourceForge.net noreply at sourceforge.net
Tue Sep 7 10:08:39 CEST 2010


Bugs item #3060981, was opened at 2010-09-07 10:08
Message generated for change (Tracker Item Submitted) made by raziel_
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418820&aid=3060981&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: AMIGAOS4: Overload in QuickTimeDecoder

Initial Comment:
ScummVM 1.2.0svn52592 (Sep  6 2010 15:35:43)
Features compiled in: Vorbis FLAC MP3 RGB zLib 

AmigaOS4
gcc (GCC) 4.2.4 (adtools build 20090118)

    C++      graphics/video/qt_decoder.o
graphics/video/qt_decoder.cpp: In member function 'uint32 Graphics::QuickTimeDecoder::getFrameDuration()':
graphics/video/qt_decoder.cpp:146: warning: format '%d' expects type 'int', but argument 2 has type 'int32'
graphics/video/qt_decoder.cpp: In member function 'Graphics::Surface* Graphics::QuickTimeDecoder::scaleSurface(Graphics::Surface*)':
graphics/video/qt_decoder.cpp:250: error: ambiguous overload for 'operator*' in 'k * Graphics::QuickTimeDecoder::getScaleFactorX()'
graphics/video/qt_decoder.cpp:250: note: candidates are: operator*(int32, int) <built-in>
graphics/video/qt_decoder.cpp:250: note:  operator*(int32, double) <built-in>
./common/rational.h:100: note:  const Common::Rational Common::operator*(int, const Common::Rational&)
graphics/video/qt_decoder.cpp:250: error: ambiguous overload for 'operator*' in 'j * Graphics::QuickTimeDecoder::getScaleFactorY()'
graphics/video/qt_decoder.cpp:250: note: candidates are: operator*(int32, int) <built-in>
graphics/video/qt_decoder.cpp:250: note:  operator*(int32, double) <built-in>
./common/rational.h:100: note:  const Common::Rational Common::operator*(int, const Common::Rational&)
graphics/video/qt_decoder.cpp: In member function 'int Graphics::QuickTimeDecoder::readDefault(Graphics::QuickTimeDecoder::MOVatom)':
graphics/video/qt_decoder.cpp:452: warning: format '%08x' expects type 'unsigned int', but argument 3 has type 'uint32'
graphics/video/qt_decoder.cpp:452: warning: format '%x' expects type 'unsigned int', but argument 5 has type 'uint32'
graphics/video/qt_decoder.cpp:452: warning: format '%x' expects type 'unsigned int', but argument 6 has type 'uint32'
graphics/video/qt_decoder.cpp:452: warning: format '%x' expects type 'unsigned int', but argument 7 has type 'uint32'
graphics/video/qt_decoder.cpp: In member function 'int Graphics::QuickTimeDecoder::readMVHD(Graphics::QuickTimeDecoder::MOVatom)':
graphics/video/qt_decoder.cpp:587: warning: format '%i' expects type 'int', but argument 3 has type 'uint32'
graphics/video/qt_decoder.cpp: In member function 'int Graphics::QuickTimeDecoder::readELST(Graphics::QuickTimeDecoder::MOVatom)':
graphics/video/qt_decoder.cpp:719: warning: format '%i' expects type 'int', but argument 3 has type 'long unsigned int'
graphics/video/qt_decoder.cpp: In member function 'int Graphics::QuickTimeDecoder::readSTSD(Graphics::QuickTimeDecoder::MOVatom)':
graphics/video/qt_decoder.cpp:956: warning: format '%d' expects type 'int', but argument 3 has type 'uint32'
graphics/video/qt_decoder.cpp:959: warning: format '%d' expects type 'int', but argument 3 has type 'uint32'
graphics/video/qt_decoder.cpp: In member function 'int Graphics::QuickTimeDecoder::readSTSC(Graphics::QuickTimeDecoder::MOVatom)':
graphics/video/qt_decoder.cpp:999: warning: format '%i' expects type 'int', but argument 3 has type 'long unsigned int'
graphics/video/qt_decoder.cpp:999: warning: format '%i' expects type 'int', but argument 4 has type 'uint32'
graphics/video/qt_decoder.cpp: In member function 'int Graphics::QuickTimeDecoder::readSTSS(Graphics::QuickTimeDecoder::MOVatom)':
graphics/video/qt_decoder.cpp:1024: warning: format '%d' expects type 'int', but argument 3 has type 'uint32'
graphics/video/qt_decoder.cpp:1033: warning: format '%d' expects type 'int', but argument 3 has type 'uint32'
graphics/video/qt_decoder.cpp:1033: warning: format '%d' expects type 'int', but argument 4 has type 'long unsigned int'
graphics/video/qt_decoder.cpp: In member function 'int Graphics::QuickTimeDecoder::readSTSZ(Graphics::QuickTimeDecoder::MOVatom)':
graphics/video/qt_decoder.cpp:1048: warning: format '%d' expects type 'int', but argument 3 has type 'uint32'
graphics/video/qt_decoder.cpp:1048: warning: format '%d' expects type 'int', but argument 4 has type 'uint32'
graphics/video/qt_decoder.cpp:1060: warning: format '%d' expects type 'int', but argument 3 has type 'uint32'
graphics/video/qt_decoder.cpp:1060: warning: format '%d' expects type 'int', but argument 4 has type 'long unsigned int'
graphics/video/qt_decoder.cpp: In member function 'int Graphics::QuickTimeDecoder::readSTTS(Graphics::QuickTimeDecoder::MOVatom)':
graphics/video/qt_decoder.cpp:1082: warning: format '%i' expects type 'int', but argument 3 has type 'long unsigned int'
graphics/video/qt_decoder.cpp: In member function 'Common::SeekableReadStream* Graphics::QuickTimeDecoder::getNextFramePacket()':
graphics/video/qt_decoder.cpp:1204: warning: format '%d' expects type 'int', but argument 2 has type 'int32'
graphics/video/qt_decoder.cpp:1216: warning: format '%d' expects type 'int', but argument 2 has type 'int32'
gmake: *** [graphics/video/qt_decoder.o] Error 1

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

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




More information about the Scummvm-tracker mailing list