1 2 3 4 5 6 7 8 9 10
extern "C" { #include <stdlib.h> } /* C++ code calls __cxa_pure_virtual when a pure-virtual method is called. * This is an error case, so we just redirect it to abort. */ extern "C" void __cxa_pure_virtual() { abort(); }