This repository was archived by the owner on Apr 17, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 39
Undefined References
Timor Gruber edited this page Dec 26, 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 program's main source file:
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.