Package: wipl
Version: 20020601-11.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 wipl_20020601-11.1 on em64t by sbuild/amd64 0.53
...
> make[2]: Entering directory `/build/tbm/wipl-20020601/src'
> c++ -DHAVE_CONFIG_H -I. -I. -I.  -I/usr/include -DLOCALSTATEDIR=\"/var\" 
> -DSYSCONFDIR=\"/etc\" -I/usr/include  -g -O2 -c wiplcSimple.cc
> In file included from common.h:11,
>                  from wiplcSimple.cc:7:
> netstructs.h:11:1: error: "IPPROTO_TCP" redefined
> In file included from /usr/include/arpa/inet.h:23,
>                  from common.h:5,
>                  from wiplcSimple.cc:7:
> /usr/include/netinet/in.h:45:1: error: this is the location of the previous 
> definition
> In file included from common.h:11,
>                  from wiplcSimple.cc:7:
> netstructs.h:12:1: error: "IPPROTO_UDP" redefined
> In file included from /usr/include/arpa/inet.h:23,
>                  from common.h:5,
>                  from wiplcSimple.cc:7:
> /usr/include/netinet/in.h:51:1: error: this is the location of the previous 
> definition
> wiplcSimple.cc: In member function 'char* ServerMemClient::Init(char*)':
> wiplcSimple.cc:194: warning: deprecated conversion from string constant to 
> 'char*'
> wiplcSimple.cc: In member function 'char* 
> ServerMemClient::ReadArray(UserServerMem&)':
> wiplcSimple.cc:206: warning: deprecated conversion from string constant to 
> 'char*'
> wiplcSimple.cc: In function 'int main(int, char**)':
> wiplcSimple.cc:536: warning: deprecated conversion from string constant to 
> 'char*'
> make[2]: *** [wiplcSimple.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