Package: mazeofgalious
Version: 0.62.dfsg2-2.1
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.  GCC 4.3 has converted a number
of warnings into errors.  With GCC 4.3, you're no longer to
just redefine a previous #define.  You need to either avoid
redefinitions directly or to use #ifndef to make sure that something
has not been defined already.  See
http://www.cyrius.com/journal/gcc/gcc-4.3-pedwarn.html

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 mazeofgalious_0.62.dfsg2-2.1 on em64t by sbuild/amd64 0.53
...
> gameinteractions.cpp:2150: warning: deprecated conversion from string 
> constant to 'char*'
> c++ -c -g3 -O0 line_clip.cpp -o line_clip.o `sdl-config --cflags` 
> -I/usr/local/include/SDL
> c++ -c -g3 -O0 path.cpp -o path.o `sdl-config --cflags` 
> -I/usr/local/include/SDL
> path.cpp:13:1: error: "NAME_MAX" redefined
> In file included from /usr/include/bits/local_lim.h:36,
>                  from /usr/include/bits/posix1_lim.h:153,
>                  from /usr/include/dirent.h:232,
>                  from path.cpp:5:
> /usr/include/linux/limits.h:11:1: error: this is the location of the previous 
> definition
> make[1]: *** [path.o] Error 1
> make[1]: Leaving directory `/build/tbm/mazeofgalious-0.62.dfsg2'

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