This repository was archived by the owner on May 4, 2019. It is now read-only.
forked from JonasProgrammer/arduino-cmake
-
Notifications
You must be signed in to change notification settings - Fork 12
Undefined References
Timor Gruber edited this page Feb 2, 2018
·
2 revisions
This page lists all known issues regarding the undefined references
issue which occurs during project linkage.
An easy fix is to add the following to your firmware source code:
extern "C" void __cxa_pure_virtual(void);
void __cxa_pure_virtual(void) { while(1); }
The contents of the __cxa_pure_virtual
function can be any error handling code.
This function will be called whenever a pure virtual function is called.