summaryrefslogtreecommitdiff
path: root/src/aux.cc
blob: 382cc735fd58300bc8d6a7af7b990cd3fabecd32 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

#include "stdexcept.h"
#include <stdlib.h>

extern "C" void __cxa_bad_cast()
{
    throw std::bad_cast();
}

extern "C" void __cxa_bad_typeid()
{
    throw std::bad_typeid();
}

extern "C" void __cxa_pure_virtual() {
    abort();
}