Package: tmw
Version: 0.0.24-2
Severity: important
Tags: patch
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.  In GCC 4.3, the C++ header
dependencies have been cleaned up.  The advantage of this is that
programs will compile faster.  The downside is that you actually
need to directly #include everything you use (but you really should
do this anyway, otherwise your program won't work with any compiler
other than GCC).  There's some more information about this at
http://gcc.gnu.org/gcc-4.3/porting_to.html

You can reproduce this problem with gcc-4.3 or gcc-snapshot from
unstable.

> Automatic build of tmw_0.0.24-2 on em64t by sbuild/amd64 0.53
...
> if x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I..  
> -DTMW_DATADIR=\""/usr/share/games/tmw/"\"   -Wall -I/usr/include/SDL 
> -D_GNU_SOURCE=1 -D_REENTRANT `pkg-config --cflags libxml-2.0`  -g -O2 -MT 
> tmw-buy.o -MD -MP -MF ".deps/tmw-buy.Tpo" -c -o tmw-buy.o `test -f 
> 'gui/buy.cpp' || echo './'`gui/buy.cpp; \
>       then mv -f ".deps/tmw-buy.Tpo" ".deps/tmw-buy.Po"; else rm -f 
> ".deps/tmw-buy.Tpo"; exit 1; fi
> In file included from gui/../npc.h:27,
>                  from gui/buy.cpp:34:
> gui/../being.h:358: error: ISO C++ forbids declaration of 'auto_ptr' with no 
> type
> gui/../being.h:358: error: invalid use of '::'
> gui/../being.h:358: error: expected ';' before '<' token
> make[3]: *** [tmw-buy.o] Error 1
> make[3]: Leaving directory `/build/tbm/tmw-0.0.24/src'
> make[2]: *** [all-recursive] Error 1

-- 
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