Skip to content
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

Replace ABI stubs with real implementations #20

Open
kibergus opened this issue Aug 20, 2012 · 0 comments
Open

Replace ABI stubs with real implementations #20

kibergus opened this issue Aug 20, 2012 · 0 comments

Comments

@kibergus
Copy link

Wiring implements several gcc specific C++ ABI functions. Unfortunately, instead of real implementations stubs are used. This leads to undesired behavior in some circumstances: if an error happens your firmware instead of controllable shutdown starts to execute random code or other strange things.

I've described purpose of these ABI functions and reasons why they must be implemented like I did here:
http://kibergus.su/en/node/92

You can either take implementation from this pull request
arduino/Arduino#107
It is not so good because it uses abort() instead of std::terminate from standard library. In case if you are ready to use standard library there is another request:
arduino/Arduino#108

For a standard library realization you can use avr port of uClibc++.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant