This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
V3 PATCH: Declare __cxa_pure_virtual
- From: Mark Mitchell <mark at codesourcery dot com>
- To: gcc-patches at gcc dot gnu dot org, libstdc++ at gcc dot gnu dot org
- Date: Mon, 9 Dec 2002 11:25:35 -0800
- Subject: V3 PATCH: Declare __cxa_pure_virtual
- Reply-to: mark at codesourcery dot com
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"