c++/985: can't build CVS head - GNU_V3_DEMANGLING_STYLE_STRING undeclared here (not in a function)

olivier@zipworld.com.au olivier@zipworld.com.au
Mon Dec 4 17:36:00 GMT 2000


>Number:         985
>Category:       c++
>Synopsis:       can't build CVS head - GNU_V3_DEMANGLING_STYLE_STRING undeclared here (not in a function)
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Dec 04 17:36:00 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     Olivier Louchart-Fletcher
>Release:        CVS head
>Organization:
>Environment:
i686-pc-linux-gnu
>Description:
building the c++ compiler fail on:

if [ x"-fpic" != x ]; then \
  gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../cvs/gcc/libiberty/../include  -W -Wall -Wtraditional -pedantic -fpic ../../../cvs/gcc/libiberty/cplus-dem.c -o pic/cplus-dem.o; \
else true; fi
../../../cvs/gcc/libiberty/cplus-dem.c:297: `GNU_V3_DEMANGLING_STYLE_STRING' undeclared here (not in a function)
../../../cvs/gcc/libiberty/cplus-dem.c:297: initializer element is not constant
../../../cvs/gcc/libiberty/cplus-dem.c:297: (near initialization for `libiberty_demanglers[6].demangling_style_name')
../../../cvs/gcc/libiberty/cplus-dem.c:298: `gnu_v3_demangling' undeclared here (not in a function)
../../../cvs/gcc/libiberty/cplus-dem.c:298: initializer element is not constant
../../../cvs/gcc/libiberty/cplus-dem.c:298: (near initialization for `libiberty_demanglers[6].demangling_style')
../../../cvs/gcc/libiberty/cplus-dem.c: In function `cplus_demangle':
../../../cvs/gcc/libiberty/cplus-dem.c:917: `GNU_V3_DEMANGLING' undeclared (first use in this function)
../../../cvs/gcc/libiberty/cplus-dem.c:917: (Each undeclared identifier is reported only once
../../../cvs/gcc/libiberty/cplus-dem.c:917: for each function it appears in.)
../../../cvs/gcc/libiberty/cplus-dem.c:919: warning: implicit declaration of function `cplus_demangle_v3'
../../../cvs/gcc/libiberty/cplus-dem.c:919: warning: assignment makes pointer from integer without a cast
make[1]: *** [cplus-dem.o] Error 1
make[1]: Leaving directory `/home/olivier/buildtmp/gcc/libiberty'
make: *** [all-libiberty] Error 2
>How-To-Repeat:
get CVS head as of today (05/12/2000) and 

../../cvs/gcc/configure --prefix=/usr/local/gcc --enable-shared --enable-haifa --enable-threads=posix --enable-languages=c++,java --enable-libstdcxx-v3 --disable-new-gxx-abi
make
>Fix:
unknown
>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the Gcc-prs mailing list