From c4f08cc046c816611d1a1ccae7b9f3cdc0699cbd Mon Sep 17 00:00:00 2001 From: bkoz Date: Tue, 7 Nov 2006 16:55:49 +0000 Subject: 2006-11-07 Benjamin Kosnik * include/ext/pb_ds/exception.hpp (pb_ds): Modify for -fno-exceptions. (__throw_container_error): New. Conditionalize based on __EXCEPTIONS. (__throw_insert_error): New. (__throw_join_error): New. (__throw_resize_error): New. * include/ext/pb_ds/detail/resize_policy/ hash_prime_size_policy_imp.hpp: Use them. * include/ext/pb_ds/detail/resize_policy/ hash_exponential_size_policy_imp.hpp: Same. * include/ext/pb_ds/detail/resize_policy/ hash_load_check_resize_trigger_imp.hpp: Same. * include/ext/pb_ds/detail/resize_policy/ hash_standard_resize_policy_imp.hpp: Same. * include/ext/pb_ds/detail/cc_hash_table_map_/resize_fn_imps.hpp * include/ext/pb_ds/detail/cc_hash_table_map_/ constructor_destructor_fn_imps.hpp: Same. * include/ext/pb_ds/detail/pat_trie_/insert_join_fn_imps.hpp * include/ext/pb_ds/detail/pat_trie_/split_join_branch_bag.hpp * include/ext/pb_ds/detail/pat_trie_/ constructors_destructor_fn_imps.hpp: Same. * include/ext/pb_ds/detail/bin_search_tree_/ constructors_destructor_fn_imps.hpp: Same. * include/ext/pb_ds/detail/bin_search_tree_/ split_join_fn_imps.hpp: Same. * include/ext/pb_ds/detail/gp_hash_table_map_/ insert_no_store_hash_fn_imps.hpp: Same. * include/ext/pb_ds/detail/gp_hash_table_map_/ resize_store_hash_fn_imps.hpp: Same. * include/ext/pb_ds/detail/gp_hash_table_map_/ insert_store_hash_fn_imps.hpp: Same. * include/ext/pb_ds/detail/gp_hash_table_map_/resize_fn_imps.hpp: Same. * include/ext/pb_ds/detail/gp_hash_table_map_/ constructor_destructor_fn_imps.hpp: Same. * include/ext/pb_ds/detail/gp_hash_table_map_/ resize_no_store_hash_fn_imps.hpp: Same. * include/ext/pb_ds/detail/binary_heap_/ constructors_destructor_fn_imps.hpp: Same. * include/ext/pb_ds/detail/binary_heap_/split_join_fn_imps.hpp: Same. * include/ext/pb_ds/detail/left_child_next_sibling_heap_/ constructors_destructor_fn_imps.hpp: Same. * include/ext/pb_ds/detail/ov_tree_map_/split_join_fn_imps.hpp: Same. * include/ext/pb_ds/detail/list_update_map_/ constructor_destructor_fn_imps.hpp: Same. * include/ext/pb_ds/exception.hpp: Same. * src/functexcept.cc: Qualify abort with std. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@118554 138bc75d-0d04-0410-961f-82ee72b054a4 --- libstdc++-v3/src/functexcept.cc | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'libstdc++-v3/src') diff --git a/libstdc++-v3/src/functexcept.cc b/libstdc++-v3/src/functexcept.cc index 80a2d9ec34d..5e53f052d84 100644 --- a/libstdc++-v3/src/functexcept.cc +++ b/libstdc++-v3/src/functexcept.cc @@ -101,59 +101,59 @@ _GLIBCXX_BEGIN_NAMESPACE(std) #else void __throw_bad_exception(void) - { abort(); } + { std::abort(); } void __throw_bad_alloc(void) - { abort(); } + { std::abort(); } void __throw_bad_cast(void) - { abort(); } + { std::abort(); } void __throw_bad_typeid(void) - { abort(); } + { std::abort(); } void __throw_logic_error(const char*) - { abort(); } + { std::abort(); } void __throw_domain_error(const char*) - { abort(); } + { std::abort(); } void __throw_invalid_argument(const char*) - { abort(); } + { std::abort(); } void __throw_length_error(const char*) - { abort(); } + { std::abort(); } void __throw_out_of_range(const char*) - { abort(); } + { std::abort(); } void __throw_runtime_error(const char*) - { abort(); } + { std::abort(); } void __throw_range_error(const char*) - { abort(); } + { std::abort(); } void __throw_overflow_error(const char*) - { abort(); } + { std::abort(); } void __throw_underflow_error(const char*) - { abort(); } + { std::abort(); } void __throw_ios_failure(const char*) - { abort(); } + { std::abort(); } #endif //__EXCEPTIONS _GLIBCXX_END_NAMESPACE -- cgit v1.2.1