Package: sqlrelay
Version: 1:0.38-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 sqlrelay_1:0.38-3 on em64t by sbuild/amd64 0.53
...
> /bin/sh ../../../libtool --mode=compile g++ -Wall -pipe  -DHAVE_CONFIG 
> -pthread  -I/usr/include//tcl8.4 -I../../.. -I../../../src/api/c++/include 
> -pthread -c sqlrelayCmd.C -o sqlrelayCmd.lo
> mkdir .libs
>  g++ -Wall -pipe -DHAVE_CONFIG -pthread -I/usr/include//tcl8.4 -I../../.. 
> -I../../../src/api/c++/include -pthread -c sqlrelayCmd.C  -fPIC -DPIC -o 
> .libs/sqlrelayCmd.o
> In file included from sqlrelayCmd.C:11:
> ../../../config.h:299:1: error: "INLINE" redefined
> In file included from sqlrelayCmd.C:7:
> /usr/include//tcl8.4/tcl.h:240:1: error: this is the location of the previous 
> definition
> make[4]: *** [sqlrelayCmd.lo] Error 1
> make[4]: Leaving directory `/build/tbm/sqlrelay-0.38/src/api/tcl'

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