aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/config
diff options
context:
space:
mode:
authorbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>2001-10-24 02:37:56 +0000
committerbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>2001-10-24 02:37:56 +0000
commit7c1003ce76a220e69ec6f695f3ce24449028909d (patch)
tree95892375e0037abfccb367e7ddf20eb86e127183 /libstdc++-v3/config
parent420f5e4e47a825086355d7b5b3f7a415a5dde21f (diff)
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46455 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/config')
-rw-r--r--libstdc++-v3/config/locale/c_locale_gnu.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libstdc++-v3/config/locale/c_locale_gnu.cc b/libstdc++-v3/config/locale/c_locale_gnu.cc
index 3e583e0eea3..8b11d672d93 100644
--- a/libstdc++-v3/config/locale/c_locale_gnu.cc
+++ b/libstdc++-v3/config/locale/c_locale_gnu.cc
@@ -50,7 +50,7 @@ namespace std
if (!__cloc)
{
// This named locale is not supported by the underlying OS.
- throw runtime_error("attempt to create locale from unknown name");
+ __throw_runtime_error("attempt to create locale from unknown name");
}
}