Usermode/libc++ - Exception handling implemented (partially)
[tpg/acess2.git] / Usermode / Libraries / libc++.so_src / misc.cc
index 8daa7d4..2ce7a51 100644 (file)
@@ -6,6 +6,8 @@
  * - Miscelanious functions
  */
 #include <string.h>
+#include <acess/sys.h>
+#include <exception>
 
 extern "C" int SoMain()
 {
@@ -18,11 +20,8 @@ extern "C" int SoMain()
 extern "C" void __cxa_pure_virtual()
 {
        // dunno
-}
-
-extern "C" void __gxx_personality_v0()
-{
-       // TODO: Handle __gxx_personality_v0 somehow
+       ::_SysDebug("__cxa_pure_virtual by %p", __builtin_return_address(0));
+       ::std::terminate();
 }
 
 

UCC git Repository :: git.ucc.asn.au