-
Notifications
You must be signed in to change notification settings - Fork 137
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add -fno-exceptions support * Change <c++/bits/exception_defines.h> include to <bits/exception_defines.h> * Change: __throw_exception_again by __throw_<<exception_name_here>> * Change to a more flexible "throw" system * More robust detection of -fno-exceptions. If the __cpp_exceptions macro is defined, use it. Otherwise, check for compiler-specific feature macros (__EXCEPTIONS for GCC) in case an old version of GCC is being used. If we are unsure, we must assume that C++ exceptions are being used, as this is the standard behavior. * Create an exception pointer without catch/throw. Use an appropriate standard-library function to create exception pointers without using catch or throw clauses. * Fix many compilation errors. Despite the intention of previous authors' contributions, the contributed code did not, in fact, compile with -fno-exceptions set. This updates all headers so that they will successfully compile regardless of whether -fno-exceptions is specified (tested in MinGW GCC).
- Loading branch information
1 parent
5217ba5
commit 8ba714a
Showing
7 changed files
with
933 additions
and
841 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Oops, something went wrong.