Package: bison++
Version: 1.21.11-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 bison++_1.21.11-3 on em64t by sbuild/amd64 0.53
...
> g++ -DPACKAGE_NAME=\"FULL-PACKAGE-NAME\" 
> -DPACKAGE_TARNAME=\"full-package-name\" -DPACKAGE_VERSION=\"VERSION\" 
> -DPACKAGE_STRING=\"FULL-PACKAGE-NAME\ VERSION\" 
> -DPACKAGE_BUGREPORT=\"BUG-REPORT-ADDRESS\" -DPACKAGE=\"bison++\" 
> -DVERSION=\"2.21.5\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 
> -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 
> -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 
> -DHAVE_ALLOCA_H=1 -DHAVE_MALLOC_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STDDEF_H=1 
> -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_STRINGS_H=1 -DHAVE_ALLOCA_H=1 
> -DHAVE_ALLOCA=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1  -I. -I.  
> -DXPFILE=\"/usr/share/bison++/bison.cc\"          
> -DXHFILE=\"/usr/share/bison++/bison.h\"         
> -DXPFILE1=\"/usr/share/bison++/bison.hairy\"    -g -O2 -c conflict.cc
> conflict.cc:34:1: error: "alloca" redefined
> In file included from /usr/include/stdlib.h:497,
>                  from system.h:8,
>                  from conflict.cc:24:
> /usr/include/alloca.h:36:1: error: this is the location of the previous 
> definition
> conflict.cc: In function 'void resolve_sr_conflict(int, int)':
> conflict.cc:217: warning: deprecated conversion from string constant to 
> 'char*'
> conflict.cc:223: warning: deprecated conversion from string constant to 
> 'char*'
> conflict.cc:237: warning: deprecated conversion from string constant to 
> 'char*'
> conflict.cc:241: warning: deprecated conversion from string constant to 
> 'char*'
> conflict.cc:245: warning: deprecated conversion from string constant to 
> 'char*'
> make[1]: *** [conflict.o] Error 1
> make[1]: Leaving directory `/build/tbm/bison++-1.21.11'
> make: *** [build-stamp] Error 2

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