diff options
author | Benjamin Kosnik <bkoz@redhat.com> | 2001-10-24 02:37:56 +0000 |
---|---|---|
committer | Benjamin Kosnik <bkoz@gcc.gnu.org> | 2001-10-24 02:37:56 +0000 |
commit | 322821b9ad320f6f0104844d6442b02c57da1a94 (patch) | |
tree | 95892375e0037abfccb367e7ddf20eb86e127183 /libstdc++-v3/libsupc++/new_op.cc | |
parent | c8cf201f95b9847d9a50acba19506fdec461351c (diff) | |
download | gcc-322821b9ad320f6f0104844d6442b02c57da1a94.zip gcc-322821b9ad320f6f0104844d6442b02c57da1a94.tar.gz gcc-322821b9ad320f6f0104844d6442b02c57da1a94.tar.bz2 |
Make -fno-exceptions work.
2001-10-23 Benjamin Kosnik <bkoz@redhat.com>
Make -fno-exceptions work.
* config/locale/c_locale_gnu.cc: Use functexcept.
* include/bits/c++config (__stl_assert): Remove.
(__STL_USE_EXCEPTIONS): Same.
(__STL_TRY): Same.
(__STL_CATCH_ALL): Same.
(__STL_THROW): Same.
(__STL_RETHROW): Same.
(__STL_NOTHROW): Same.
(__STL_UNWIND): Same.
* include/bits/pthread_allocimpl.h: Fix.
* include/bits/std_bitset.h: Same.
* include/bits/std_list.h: Same.
* include/bits/std_memory.h: Same.
* include/bits/std_queue.h: Same.
* include/bits/stl_alloc.h: Same.
* include/bits/stl_deque.h: Same.
* include/bits/stl_list.h: Same.
* include/bits/stl_queue.h: Same.
* include/bits/stl_tempbuf.h: Same.
* include/bits/stl_tree.h: Same.
* include/bits/stl_uninitialized.h: Same.
* include/bits/stl_vector.h: Same.
* include/ext/ropeimpl.h: Same.
* include/ext/slist: Same.
* include/ext/stl_hashtable.h: Same.
* include/ext/stl_rope.h: Same.
* libsupc++/new_op.cc: Include cstdlib.
* libsupc++/eh_personality.cc: Add exception_defines include. Use
__throw_exception_again, tweak.
* libsupc++/eh_aux_runtime.cc: Include stdlib for abort.
* libsupc++/vec.cc: Tweak.
* src/functexcept.cc: Remove unused arguments.
* testsuite/23_containers/bitset_members.cc: Tweak.
From-SVN: r46455
Diffstat (limited to 'libstdc++-v3/libsupc++/new_op.cc')
-rw-r--r-- | libstdc++-v3/libsupc++/new_op.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libstdc++-v3/libsupc++/new_op.cc b/libstdc++-v3/libsupc++/new_op.cc index 6b52df7..df43e6e 100644 --- a/libstdc++-v3/libsupc++/new_op.cc +++ b/libstdc++-v3/libsupc++/new_op.cc @@ -28,6 +28,7 @@ // the GNU General Public License. #include "new" +#include <cstdlib> #include <exception_defines.h> using std::new_handler; |