Package: scummvm
Version: 0.10.0-2
Usertags: ftbfs-gcc-4.3

Your package fails to build with GCC 4.3.  Version 4.3 has not been
released yet but I'm building with a snapshot in order to find errors
and give people an advance warning.

You can reproduce this problem with gcc-snapshot from unstable.  Note
that Red Hat, Novell and Ubuntu have done some work getting packages
to build with GCC 4.3 so there might be patches floating around
somewhere.  I suggest you talk to your upstream.

> Automatic build of scummvm_0.10.0-2 on em64t by sbuild/amd64 0.53
...
> mkdir -p engines/touche/.deps
> g++ 
> -Wp,-MMD,"engines/touche/.deps/saveload.d",-MQ,"engines/touche/saveload.o",-MP
>  -Wall -g -ansi -W -Wno-unused-parameter -Wno-long-long -Wno-multichar 
> -Wno-unknown-pragmas -pedantic -Wpointer-arith -Wcast-qual -Wconversion 
> -Wshadow -Wimplicit -Wundef -Wnon-virtual-dtor -Wno-reorder -Wwrite-strings 
> -fno-rtti -fno-exceptions -fcheck-new -DHAVE_CONFIG_H -DUNIX 
> -DDATA_PATH=\"/usr/share/scummvm\" -DSDL_BACKEND -DDISABLE_LURE 
> -DDISABLE_CRUISE -I. -I. -I./engines -I/usr/include/SDL -D_GNU_SOURCE=1 
> -D_REENTRANT -c engines/touche/saveload.cpp -o engines/touche/saveload.o
> In file included from ./common/savefile.h:32,
>                  from engines/touche/saveload.cpp:27:
> ./common/stream.h: In member function 'uint16 
> Common::ReadStream::readUint16LE()':
> ./common/stream.h:191: warning: conversion to 'uint16' from 'int' may alter 
> its value
> ./common/stream.h: In member function 'uint16 
> Common::ReadStream::readUint16BE()':
> ./common/stream.h:217: warning: conversion to 'uint16' from 'int' may alter 
> its value
> In file included from ./common/util.h:29,
>                  from ./engines/touche/graphics.h:29,
>                  from engines/touche/saveload.cpp:29:
> ./common/str.h: In member function 'char Common::String::lastChar() const':
> ./common/str.h:141: warning: conversion to 'char' from 'int' may alter its 
> value
> In file included from ./engines/touche/touche.h:30,
>                  from engines/touche/saveload.cpp:30:
> ./common/endian.h: In function 'uint16 SWAP_BYTES_16(uint16)':
> ./common/endian.h:51: warning: conversion to 'uint16' from 'int' may alter 
> its value
> ./common/endian.h: In function 'uint16 READ_BE_UINT16(const void*)':
> ./common/endian.h:176: warning: conversion to 'uint16' from 'int' may alter 
> its value
> In file included from ./engines/touche/touche.h:32,
>                  from engines/touche/saveload.cpp:30:
> ./common/rect.h: In member function 'int16 Common::Rect::width() const':
> ./common/rect.h:95: warning: conversion to 'int16' from 'int' may alter its 
> value
> ./common/rect.h: In member function 'int16 Common::Rect::height() const':
> ./common/rect.h:96: warning: conversion to 'int16' from 'int' may alter its 
> value
> ./common/rect.h: In member function 'void Common::Rect::setWidth(int16)':
> ./common/rect.h:99: warning: conversion to 'int16' from 'int' may alter its 
> value
> ./common/rect.h: In member function 'void Common::Rect::setHeight(int16)':
> ./common/rect.h:103: warning: conversion to 'int16' from 'int' may alter its 
> value
> ./common/rect.h: In member function 'void Common::Rect::grow(int16)':
> ./common/rect.h:153: warning: conversion to 'int16' from 'int' may alter its 
> value
> ./common/rect.h:154: warning: conversion to 'int16' from 'int' may alter its 
> value
> ./common/rect.h:155: warning: conversion to 'int16' from 'int' may alter its 
> value
> ./common/rect.h:156: warning: conversion to 'int16' from 'int' may alter its 
> value
> ./common/rect.h: In member function 'void Common::Rect::clip(int, int)':
> ./common/rect.h:177: warning: conversion to 'int16' from 'int' may alter its 
> value
> ./common/rect.h:177: warning: conversion to 'int16' from 'int' may alter its 
> value
> ./common/rect.h: In member function 'void Common::Rect::moveTo(int16, int16)':
> ./common/rect.h:185: warning: conversion to 'int16' from 'int' may alter its 
> value
> ./common/rect.h:186: warning: conversion to 'int16' from 'int' may alter its 
> value
> ./common/rect.h: In member function 'void Common::Rect::translate(int16, 
> int16)':
> ./common/rect.h:192: warning: conversion to 'int16' from 'int' may alter its 
> value
> ./common/rect.h:192: warning: conversion to 'int16' from 'int' may alter its 
> value
> ./common/rect.h:193: warning: conversion to 'int16' from 'int' may alter its 
> value
> ./common/rect.h:193: warning: conversion to 'int16' from 'int' may alter its 
> value
> In file included from engines/touche/saveload.cpp:30:
> ./engines/touche/touche.h: In constructor 'Touche::Area::Area(int16, int16, 
> int16, int16)':
> ./engines/touche/touche.h:50: warning: conversion to 'int16' from 'int' may 
> alter its value
> ./engines/touche/touche.h:50: warning: conversion to 'int16' from 'int' may 
> alter its value
> ./engines/touche/touche.h: In member function 'bool Touche::Area::clip(const 
> Common::Rect&)':
> ./engines/touche/touche.h:57: warning: conversion to 'int16' from 'int' may 
> alter its value
> ./engines/touche/touche.h:61: warning: conversion to 'int16' from 'int' may 
> alter its value
> engines/touche/saveload.cpp: At global scope:
> engines/touche/saveload.cpp:45: error: explicit template specialization 
> cannot have a storage class
> engines/touche/saveload.cpp:50: error: explicit template specialization 
> cannot have a storage class
> engines/touche/saveload.cpp:55: error: explicit template specialization 
> cannot have a storage class
> engines/touche/saveload.cpp:60: error: explicit template specialization 
> cannot have a storage class
> engines/touche/saveload.cpp:69: error: explicit template specialization 
> cannot have a storage class
> engines/touche/saveload.cpp:75: error: explicit template specialization 
> cannot have a storage class
> engines/touche/saveload.cpp: In member function 'void 
> Touche::ToucheEngine::saveGameStateData(Common::WriteStream*)':
> engines/touche/saveload.cpp:249: warning: conversion to 'uint16' from 'int' 
> may alter its value
> engines/touche/saveload.cpp:250: warning: conversion to 'uint16' from 'int' 
> may alter its value
> engines/touche/saveload.cpp:251: warning: conversion to 'uint16' from 'int' 
> may alter its value
> engines/touche/saveload.cpp:254: warning: conversion to 'uint16' from 'int' 
> may alter its value
> engines/touche/saveload.cpp:269: warning: conversion to 'uint16' from 'int' 
> may alter its value
> engines/touche/saveload.cpp:270: warning: conversion to 'uint16' from 'int' 
> may alter its value
> engines/touche/saveload.cpp: In function 'void 
> Touche::saveOrLoadCommonArray(Common::WriteStream&, A&) [with A = 
> Common::Array<Touche::ProgramHitBoxData>]':
> engines/touche/saveload.cpp:255:   instantiated from here
> engines/touche/saveload.cpp:222: warning: conversion to 'uint16' from 'uint' 
> may alter its value
> engines/touche/saveload.cpp: In function 'void 
> Touche::saveOrLoadCommonArray(Common::WriteStream&, A&) [with A = 
> Common::Array<Touche::ProgramBackgroundData>]':
> engines/touche/saveload.cpp:256:   instantiated from here
> engines/touche/saveload.cpp:222: warning: conversion to 'uint16' from 'uint' 
> may alter its value
> engines/touche/saveload.cpp: In function 'void 
> Touche::saveOrLoadCommonArray(Common::WriteStream&, A&) [with A = 
> Common::Array<Touche::ProgramAreaData>]':
> engines/touche/saveload.cpp:257:   instantiated from here
> engines/touche/saveload.cpp:222: warning: conversion to 'uint16' from 'uint' 
> may alter its value
> engines/touche/saveload.cpp: In function 'void 
> Touche::saveOrLoadCommonArray(Common::WriteStream&, A&) [with A = 
> Common::Array<Touche::ProgramWalkData>]':
> engines/touche/saveload.cpp:258:   instantiated from here
> engines/touche/saveload.cpp:222: warning: conversion to 'uint16' from 'uint' 
> may alter its value
> engines/touche/saveload.cpp: In function 'void 
> Touche::saveOrLoadCommonArray(Common::WriteStream&, A&) [with A = 
> Common::Array<Touche::ProgramPointData>]':
> engines/touche/saveload.cpp:259:   instantiated from here
> engines/touche/saveload.cpp:222: warning: conversion to 'uint16' from 'uint' 
> may alter its value
> make[1]: *** [engines/touche/saveload.o] Error 1
> make[1]: Leaving directory `/build/tbm/scummvm-0.10.0'
> make: *** [scummvm] Error 2

-- 
Martin Michlmayr
http://www.cyrius.com/



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to