diff options
| author | bkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-03-13 19:32:00 +0000 |
|---|---|---|
| committer | bkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-03-13 19:32:00 +0000 |
| commit | 2dda89f55be2266686d16b8a780dbcdbbcb46f88 (patch) | |
| tree | c7c801d8135b3204b36fcdb537f8ee2a0f57e31a /libstdc++-v3/libsupc++/exception | |
| parent | d059db043382924b9ee151d09175096035576d40 (diff) | |
| download | ppe42-gcc-2dda89f55be2266686d16b8a780dbcdbbcb46f88.tar.gz ppe42-gcc-2dda89f55be2266686d16b8a780dbcdbbcb46f88.zip | |
2001-03-13 Benjamin Kosnik <bkoz@redhat.com>
* libsupc++/new: Remove pragma interface.
* libsupc++/typeinfo: Same.
* libsupc++/exception: Same.
* libsupc++/new_handler.cc: Remove pragma implementation.
(bad_alloc::~bad_alloc()): Add.
* libsupc++/exception_support.cc: Same.
(exception::~exception): Add.
(bad_exception::~bad_exception): Add.
* libsupc++/tinfo.cc: Same.
(bad_cast::~bad_cast): Add.
(bad_typeid::~bad_typeid): Add.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40442 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/libsupc++/exception')
| -rw-r--r-- | libstdc++-v3/libsupc++/exception | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/libstdc++-v3/libsupc++/exception b/libstdc++-v3/libsupc++/exception index fac73fb0566..3676a731481 100644 --- a/libstdc++-v3/libsupc++/exception +++ b/libstdc++-v3/libsupc++/exception @@ -31,8 +31,6 @@ #ifndef __EXCEPTION__ #define __EXCEPTION__ -#pragma interface "exception" - extern "C++" { namespace std @@ -41,7 +39,7 @@ namespace std { public: exception() throw() { } - virtual ~exception() throw() { } + virtual ~exception() throw(); virtual const char* what() const throw(); }; @@ -49,7 +47,7 @@ namespace std { public: bad_exception() throw() { } - virtual ~bad_exception() throw() { } + virtual ~bad_exception() throw(); }; typedef void (*terminate_handler) (); |

