V3 PATCH: More missing cxxabi.h declarations
Mark Mitchell
mark@codesourcery.com
Tue Dec 10 09:09:00 GMT 2002
Tested on i686-pc-linux-gnu, applied on the mainline.
--
Mark Mitchell mark@codesourcery.com
CodeSourcery, LLC http://www.codesourcery.com
2002-12-10 Mark Mitchell <mark@codesourcery.com>
* libsupc++/cxxabi.h (__cxa_bad_cast): Declare it.
(__cxa_bad_typeid): Likewise.
(__cxa_atexit): Likewise.
(__cxa_finalize): Likewise.
Index: libstdc++-v3/libsupc++/cxxabi.h
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/libsupc++/cxxabi.h,v
retrieving revision 1.10
diff -c -p -r1.10 cxxabi.h
*** libstdc++-v3/libsupc++/cxxabi.h 9 Dec 2002 19:31:33 -0000 1.10
--- libstdc++-v3/libsupc++/cxxabi.h 10 Dec 2002 16:59:14 -0000
*************** void __cxa_guard_abort (__guard *);
*** 520,525 ****
--- 520,541 ----
extern "C" void
__cxa_pure_virtual (void);
+ /* exception handling */
+
+ extern "C" void
+ __cxa_bad_cast ();
+
+ extern "C" void
+ __cxa_bad_typeid ();
+
+ /* DSO destruction */
+
+ extern "C" int
+ __cxa_atexit (void (*)(void *), void *, void *);
+
+ extern "C" int
+ __cxa_finalize (void *);
+
/* demangling routines */
extern "C"
More information about the Gcc-patches
mailing list