Package: csmash
Version: 0.6.6-6.3
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 csmash_0.6.6-6.3 on em64t by sbuild/amd64 0.53
...
> if g++ -DLOCALEDIR=\"/usr/share/locale\" 
> -DCANNONSMASH_DATADIR=\"/usr/share/games/csmash\" -DHAVE_CONFIG_H -I. -I. -I. 
>   -DPNG_NO_MMX_CODE -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include 
> -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 
> -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 
> -I/usr/include/libpng12    -I/  -Wall -I/usr/include/SDL -D_GNU_SOURCE=1 
> -D_REENTRANT -MT MultiPlay.o -MD -MP -MF ".deps/MultiPlay.Tpo" \
>         -c -o MultiPlay.o `test -f 'MultiPlay.cpp' || echo 
> './'`MultiPlay.cpp; \
>       then mv -f ".deps/MultiPlay.Tpo" ".deps/MultiPlay.Po"; \
>       else rm -f ".deps/MultiPlay.Tpo"; exit 1; \
>       fi
> MultiPlay.cpp:46:1: error: "closesocket" redefined
> In file included from MultiPlay.cpp:19:
> ttinc.h:193:1: error: this is the location of the previous definition
> make[3]: *** [MultiPlay.o] Error 1
> make[3]: Leaving directory `/build/tbm/csmash-0.6.6'

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