This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: unwind-pe.h in gcc trunk doesn't compile



This is the change that should be made. Alex, can you take care of this?

Index: exception.cc
===================================================================
RCS file: /cvs/gcc/gcc/libjava/exception.cc,v
retrieving revision 1.15
diff -c -p -r1.15 exception.cc
*** exception.cc	2001/05/21 08:37:04	1.15
--- exception.cc	2001/06/10 06:19:11
*************** details.  */
*** 11,17 ****
  #include <config.h>
  
  #include <stddef.h>
! #include <stdlib.h>
  
  #include <java/lang/Class.h>
  #include <java/lang/NullPointerException.h>
--- 11,17 ----
  #include <config.h>
  
  #include <stddef.h>
! #include <cstdlib>
  
  #include <java/lang/Class.h>
  #include <java/lang/NullPointerException.h>


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]