Open
Conversation
…zation from arduino is badly broken.
…ption can't be thrown.
… it defines __cplusplus >= 201103L.
…s_pod and std::enable_if.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hello. I've made several enhancements to uclibc++. This pull request contains following features:
a48b725
Change dos lineendings to unix ones
commit 8f79ab6
Replace dos lineendings to unix ones
Are safe one.
commit 5b8f133
Compile operator new(std::size_t) even with arduino 1.0 because realization from arduino is badly broken.
Reverts to conflict with core arduino library because that library must be fixed. uclibc++ has correct realization of operator new and arduino's implementation is wrong.
commit 5ed5175
Lacking realization of std::terminate. Call terminate in case if exception can't be thrown.
Brings std::terminate which in original uclibc++ is copied from gcc headers. And I've changed func_exception.cpp in such a way that they call std::terminate instead of abort. It makes them standard conforming: according to 15.5.1.2 if exception is thrown and no suitable catch section is defined it's OK not to unwind a stack.
Beside that now you can reboot program immediately if things went wrong by setting own terminate handler.
commit 7ba8c3d
Add free functions begin(container) and end(container)
commit 116d391
std::move and std::forward
New shiny things from C++11 which I need in my project.
commit 1bc768b
gcc version 4.5.3 does not understand nothrow with constexpr. Neither it defines __cplusplus >= 201103L.
Make it work on my compiler. You can skip it if you don't like it
Thanks for the port.