mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-01-11 16:45:27 +08:00
cxxabi.h (__cxa_atexit): Conditionalize exception specification on #ifdef __cplusplus.
* libsupc++/cxxabi.h (__cxa_atexit): Conditionalize exception specification on #ifdef __cplusplus. From-SVN: r124456
This commit is contained in:
parent
56507c795d
commit
88e6c94714
@ -1,3 +1,8 @@
|
||||
2007-05-04 Mark Mitchell <mark@codesourcery.com>
|
||||
|
||||
* libsupc++/cxxabi.h (__cxa_atexit): Conditionalize exception
|
||||
specification on #ifdef __cplusplus.
|
||||
|
||||
2007-05-04 Paolo Carlini <pcarlini@suse.de>
|
||||
|
||||
* include/bits/stl_memory.h: Rename to stl_auto_ptr.h.
|
||||
@ -20,6 +25,7 @@
|
||||
* libsupc++/atexit_arm.cc: New file.
|
||||
* libsupc++/vec.cc (__aeabi_atexit): Remove.
|
||||
* libsupc++/cxxabi.h (__cxa_atexit): Add exception specification.
|
||||
|
||||
* libsupc++/Makefile.am: Add atexit_arm.cc.
|
||||
* libsupc++/Makefile.in: Regenerated.
|
||||
|
||||
|
@ -136,7 +136,11 @@ namespace __cxxabiv1
|
||||
|
||||
// DSO destruction.
|
||||
int
|
||||
__cxa_atexit(void (*)(void*), void*, void*) throw ();
|
||||
__cxa_atexit(void (*)(void*), void*, void*)
|
||||
#ifdef __cplusplus
|
||||
throw ()
|
||||
#endif
|
||||
;
|
||||
|
||||
int
|
||||
__cxa_finalize(void*);
|
||||
|
Loading…
Reference in New Issue
Block a user