Package: aranym
Version: 0.9.5beta-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 aranym_0.9.5beta-1 on em64t by sbuild/amd64 0.53
...
> make[1]: Entering directory `/build/tbm/aranym-0.9.5beta/src/Unix'
> x86_64-linux-gnu-g++ -I./../include -I. -I. -I./../natfeat -I./../uae_cpu  
> -I./../gui-sdl  -DHAVE_CONFIG_H  -DOS_linux -DCPU_x86_64 -DDIRECT_ADDRESSING 
> -DUNALIGNED_PROFITABLE -DX86_64_ASSEMBLY -DOPTIMIZED_FLAGS -DFPU_IEEE 
> -DENABLE_EXCLUSIVE_SPCFLAGS -ggdb3 -Wall -W -O3  -fno-gcse-sm 
> -DARANYM_DATADIR="\"/usr/share/aranym\"" -I/usr/include/SDL -D_GNU_SOURCE=1 
> -D_REENTRANT -c ../main.cpp -o obj/main.o
> In file included from ../main.cpp:37:
> ./sysdeps.h:496:1: error: "__always_inline" redefined
> In file included from /usr/include/features.h:330,
>                  from /usr/include/unistd.h:26,
>                  from ./sysdeps.h:95,
>                  from ../main.cpp:37:
> /usr/include/sys/cdefs.h:287:1: error: this is the location of the previous 
> definition
> ../main.cpp: In function 'bool InitAll()':
> ../main.cpp:391: warning: deprecated conversion from string constant to 
> 'char*'
> ../main.cpp:418: warning: deprecated conversion from string constant to 
> 'char*'
> make[1]: *** [obj/main.o] Error 1
> make[1]: Leaving directory `/build/tbm/aranym-0.9.5beta/src/Unix'

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