Skip to content

Miscellaneous fixes to tackle #4 #6

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Dec 18, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
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)
  • Loading branch information
facchinm committed Dec 9, 2024
commit 68651bc635bbbec2de01c4551e32b953f72ae302
24 changes: 0 additions & 24 deletions cores/arduino/abi.cpp

This file was deleted.

2 changes: 2 additions & 0 deletions cores/arduino/new.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@

#include "new.h"

extern "C" void __cxa_pure_virtual() {}

// The C++ spec dictates that allocation failure should cause the
// (non-nothrow version of the) operator new to throw an exception.
// Since we expect to have exceptions disabled, it would be more
Expand Down