You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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++.
The text was updated successfully, but these errors were encountered:
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++.
The text was updated successfully, but these errors were encountered: