Skip to content

Commit 68651bc

Browse files
committed
To be investigated: restore cxa_pure_virtual
Looks like it's very hard to remove it for good (will be generated by a lot of patterns and the gcc flags are not enough)
1 parent 80943e6 commit 68651bc

File tree

2 files changed

+2
-24
lines changed

2 files changed

+2
-24
lines changed

cores/arduino/abi.cpp

-24
This file was deleted.

cores/arduino/new.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66

77
#include "new.h"
88

9+
extern "C" void __cxa_pure_virtual() {}
10+
911
// The C++ spec dictates that allocation failure should cause the
1012
// (non-nothrow version of the) operator new to throw an exception.
1113
// Since we expect to have exceptions disabled, it would be more

0 commit comments

Comments
 (0)