Skip to content

Bug fixes and C++11 features#1

Open
kibergus wants to merge 14 commits intorpavlik:masterfrom
kibergus:master
Open

Bug fixes and C++11 features#1
kibergus wants to merge 14 commits intorpavlik:masterfrom
kibergus:master

Conversation

@kibergus
Copy link

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.

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

Successfully merging this pull request may close these issues.

1 participant