This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

V3 PATCH: Declare __cxa_pure_virtual


Our version of cxxabi.h was not declaring __cxa_pure_virtual.

Tested on i686-pc-linux-gnu, applied on the mainline.

-- 
Mark Mitchell                   mark@codesourcery.com
CodeSourcery, LLC               http://www.codesourcery.com

2002-12-09  Mark Mitchell  <mark@codesourcery.com>

	* libsupc++/cxxabi.h (__cxa_pure_virtual): Declare it.

Index: cxxabi.h
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/libsupc++/cxxabi.h,v
retrieving revision 1.9
diff -c -p -r1.9 cxxabi.h
*** cxxabi.h	25 Nov 2002 23:17:31 -0000	1.9
--- cxxabi.h	9 Dec 2002 19:30:11 -0000
*************** void __cxa_guard_release (__guard *);
*** 514,520 ****
  
  extern "C"
  void __cxa_guard_abort (__guard *);
!                   
  /* demangling routines */
  
  extern "C" 
--- 514,525 ----
  
  extern "C"
  void __cxa_guard_abort (__guard *);
! 
! /* pure virtual functions */
! 
! extern "C" void
! __cxa_pure_virtual (void);
! 
  /* demangling routines */
  
  extern "C" 


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