Package: enigma
Version: 1.01-2
Severity: important
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 enigma_1.01-2 on em64t by sbuild/amd64 0.53
...
> /usr/bin/make  all-am
> make[3]: Entering directory 
> `/build/tbm/enigma-1.01/build-tree/enigma-1.01/src'
> g++ -DHAVE_CONFIG_H -I. -I. -I.     -g -Wall -O2 -DENABLE_ASSERT -O2 
> -ffast-math -fomit-frame-pointer -DCXXLUA 
> -DSYSTEM_DATA_DIR=\"/usr/share/games/enigma\" 
> -DLOCALEDIR=\"/usr/share/locale\" -I../lib-src/lua -I../lib-src/enigma-core 
> -I../lib-src/enet/include -I../lib-src -I../intl -I/usr/include/SDL 
> -D_GNU_SOURCE=1 -D_REENTRANT -c -o actors.o actors.cc
> In file included from objects.hh:22,
>                  from player.hh:30,
>                  from actors.cc:22:
> objects_decl.hh:161:1: warning: multi-line comment
> In file included from enigma.hh:29,
>                  from actors.cc:21:
> file.hh:148: error: 'std::auto_ptr' has not been declared
> file.hh:148: error: expected ',' or '...' before '<' token
> file.hh:195: error: 'std::auto_ptr' has not been declared
> file.hh:195: error: expected ',' or '...' before '<' token
> actors.cc: In member function 'virtual 
> void<unnamed>::RotorBase::think(double)':
> actors.cc:309: warning: suggest parentheses around && within ||
> make[3]: *** [actors.o] 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