1 #undef NDEBUG 2 #include <assert.h> 3 __cxa_pure_virtual()4extern "C" void __cxa_pure_virtual() { 5 // We can't call __libc_android_log_write from libstdc++ because it's private, so cheat. 6 assert(!"Pure virtual function called. Are you calling virtual methods from a destructor?"); 7 /* NOTREACHED */ 8 } 9