-// Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
+// Copyright (C) 2001, 2002, 2003, 2005, 2009 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
{ throw underflow_error(_(__s)); }
void
- __throw_system_error(const char* __s)
- { throw system_error(error_code(), _(__s)); }
+ __throw_ios_failure(const char* __s)
+ { throw ios_base::failure(_(__s)); }
void
__throw_system_error(int __i)
- { throw system_error(error_code(__i, generic_category)); }
-
- void
- __throw_ios_failure(const char* __s)
- { throw ios_base::failure(_(__s)); }
+ { throw system_error(error_code(__i, generic_category())); }
#else
void
__throw_bad_exception(void)
{ std::abort(); }
void
- __throw_system_error(const char* __s)
+ __throw_ios_failure(const char*)
{ std::abort(); }
void
__throw_system_error(int __i)
{ std::abort(); }
-
- void
- __throw_ios_failure(const char*)
- { std::abort(); }
#endif //__EXCEPTIONS
_GLIBCXX_END_NAMESPACE