ardupilot/libraries/AP_HAL_F4Light/wirish/cxxabi-compat.cpp

10 lines
250 B
C++
Raw Normal View History

/* We compile with nodefaultlibs, so we need to provide an error
* handler for an empty pure virtual function */
extern "C" void __cxa_pure_virtual(void) {
extern void __error(uint32_t num, uint32_t pc, uint32_t lr);
__error(11, 0, 0);
}