This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
unwind-pe.h in gcc trunk doesn't compile
- To: gcc-bugs at gcc dot gnu dot org
- Subject: unwind-pe.h in gcc trunk doesn't compile
- From: Per Bothner <per at bothner dot com>
- Date: 09 Jun 2001 19:57:20 -0700
- Cc: bkoz at redhat dot com
I got a failure bootstrapping the trunk (configured with
-enable-languages=c++,java):
/home/bothner/GNU/linux-gcc/gcc/g++ -B/home/bothner/GNU/linux-gcc/gcc/ -nostdinc++ -nostdinc++ -I/home/bothner/GNU/linux-gcc/i686-pc-linux-gnu/libstdc++-v3/include -I/home/bothner/GNU/gcc/libstdc++-v3/include -I/home/bothner/GNU/gcc/libstdc++-v3/include/std -I/home/bothner/GNU/gcc/libstdc++-v3/include/c_std -I/home/bothner/GNU/gcc/libstdc++-v3/libsupc++ -I/home/bothner/GNU/gcc/libstdc++-v3/libio -I/home/bothner/GNU/gcc/libstdc++-v3/testsuite -I/home/bothner/GNU/gcc/libstdc++-v3/include/backwards -I/home/bothner/GNU/gcc/libstdc++-v3/include/ext -L/home/bothner/GNU/linux-gcc/i686-pc-linux-gnu/libstdc++-v3/src -L/home/bothner/GNU/linux-gcc/i686-pc-linux-gnu/libstdc++-v3/src/.libs -B/home/bothner/GNU/install-gcc/i686-pc-linux-gnu/bin/ -B/home/bothner/GNU/install-gcc/i686-pc-linux-gnu/lib/ -isystem /home/bothner/GNU/install-gcc/i686-pc-linux-gnu/include -DHAVE_CONFIG_H -I. -I/home/bothner/GNU/gcc/libjava -I./include -I./gcj -I/home/bothner/GNU/gcc/libjava -Iinclude -I/home/bothne!
r/GNU/gcc/libjava/include -I/home/bothner/GNU/gcc/libjava/../boehm-gc/include -DLINUX_THREADS=1 -D_REENTRANT=1 -DSILENT=1 -DNO_SIGNALS=1 -DJAVA_FINALIZATION=1 -DGC_GCJ_SUPPORT=1 -I/home/bothner/GNU/gcc/libjava/libltdl -I/home/bothner/GNU/gcc/libjava/libltdl -I/home/bothner/GNU/gcc/libjava/./../gcc -I/home/bothner/GNU/gcc/libjava/../zlib -I/../libffi/include -I../libffi/include -fno-rtti -fnon-call-exceptions -fdollars-in-identifiers -D__NO_MATH_INLINES -ffloat-store -I/usr/X11R6/include -W -Wall -D_GNU_SOURCE -DPREFIX=\"/home/bothner/GNU/install-gcc\" -g -D_GNU_SOURCE -Wp,-MD,.deps/exception.pp -c /home/bothner/GNU/gcc/libjava/exception.cc -fPIC -DPIC -o .libs/exception.o
In file included from /home/bothner/GNU/gcc/libjava/exception.cc:107:
/home/bothner/GNU/gcc/gcc/unwind-pe.h: In function `unsigned int
size_of_encoded_value(unsigned char)':
/home/bothner/GNU/gcc/gcc/unwind-pe.h:76: `abort' undeclared in namespace `std'
/home/bothner/GNU/gcc/gcc/unwind-pe.h:77: warning: control reaches end of
non-void function
/home/bothner/GNU/gcc/gcc/unwind-pe.h: In function `_Unwind_Ptr
base_of_encoded_value(unsigned char, _Unwind_Context*)':
/home/bothner/GNU/gcc/gcc/unwind-pe.h:104: `abort' undeclared in namespace
`std'
/home/bothner/GNU/gcc/gcc/unwind-pe.h:105: warning: control reaches end of
non-void function
/home/bothner/GNU/gcc/gcc/unwind-pe.h: In function `const unsigned char*
read_encoded_value_with_base(unsigned char, unsigned int, const unsigned
char*, _Unwind_Ptr*)':
/home/bothner/GNU/gcc/gcc/unwind-pe.h:207: `abort' undeclared in namespace
`std'
Changing
#if __cplusplus
#define __gxx_abort std::abort
to
#if 0 //__cplusplus
#define __gxx_abort std::abort
lets exception.o be built
--
--Per Bothner
per@bothner.com http://www.bothner.com/per/