summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoranonymous <local@localhost>2010-08-25 16:19:47 +0700
committeranonymous <local@localhost>2010-08-25 16:19:47 +0700
commit0169444661bd944e7d3338372ee85b03a1be1e94 (patch)
tree63ce8a221edf08a302ddf1aa78520945fe683b7d /src
parent012f551c2b7f7236898c4157c5999979dc5ef409 (diff)
downloadlibcxxrt-0169444661bd944e7d3338372ee85b03a1be1e94.tar.gz
libcxxrt-0169444661bd944e7d3338372ee85b03a1be1e94.tar.bz2
libcxxrt-0169444661bd944e7d3338372ee85b03a1be1e94.tar.xz
__cxa_pure_virtual was implemented
Diffstat (limited to 'src')
-rw-r--r--src/aux.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/aux.cc b/src/aux.cc
index c1590e5..382cc73 100644
--- a/src/aux.cc
+++ b/src/aux.cc
@@ -1,5 +1,6 @@
#include "stdexcept.h"
+#include <stdlib.h>
extern "C" void __cxa_bad_cast()
{
@@ -11,3 +12,7 @@ extern "C" void __cxa_bad_typeid()
throw std::bad_typeid();
}
+extern "C" void __cxa_pure_virtual() {
+ abort();
+}
+