V3 PATCH: Declare __cxa_pure_virtual
Mark Mitchell
mark@codesourcery.com
Mon Dec 9 11:32:00 GMT 2002
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"
More information about the Libstdc++
mailing list