summaryrefslogtreecommitdiffstats
path: root/libstdc++-v3/libsupc++/exception
diff options
context:
space:
mode:
authorbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>2001-03-13 19:32:00 +0000
committerbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>2001-03-13 19:32:00 +0000
commit2dda89f55be2266686d16b8a780dbcdbbcb46f88 (patch)
treec7c801d8135b3204b36fcdb537f8ee2a0f57e31a /libstdc++-v3/libsupc++/exception
parentd059db043382924b9ee151d09175096035576d40 (diff)
downloadppe42-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++/exception6
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) ();
OpenPOWER on IntegriCloud