f68147f702 
								
							 
						 
						
							
							
								
								new: Remove pragma interface.  
							
							... 
							
							
							
							2001-03-13  Benjamin Kosnik  <bkoz@redhat.com>
	* libsupc++/new: Remove pragma interface.
	* libsupc++/typeinfo: Same.
	* libsupc++/exception: Same.
	* libsupc++/new_handler.cc: Remove pragma implementation.
	(bad_alloc::~bad_alloc()): Add.
	* libsupc++/exception_support.cc: Same.
	(exception::~exception): Add.
	(bad_exception::~bad_exception): Add.
	* libsupc++/tinfo.cc: Same.
	(bad_cast::~bad_cast): Add.
	(bad_typeid::~bad_typeid): Add.
From-SVN: r40442 
							
						 
						
							2001-03-13 19:32:00 +00:00  
				
					
						
							
							
								 
						
							
								94083e5ddb 
								
							 
						 
						
							
							
								
								Remove old ABI support from libsupc++.  
							
							... 
							
							
							
							* libsupc++/cxxabi.h: Remove conditionally compiled code.
	* libsupc++/exception_support.cc: Likewise.
	* libsupc++/pure.cc: Likewise.
	* libsupc++/tinfo.cc: Likewise.
	* libsupc++/tinfo.h: Likewise.
	* libsupc++/tinfo2.cc: Likewise.
	* libsupc++/typeinfo: Likewise.
	* libsupc++/vec.cc: Likewise.
From-SVN: r39732 
							
						 
						
							2001-02-16 01:26:14 +00:00  
				
					
						
							
							
								 
						
							
								e2c094827c 
								
							 
						 
						
							
							
								
								Add support for -fno-exceptions.  
							
							... 
							
							
							
							2001-02-15  Benjamin Kosnik  <bkoz@redhat.com>
	Add support for -fno-exceptions.
	* include/bits/exception_support.h: Remove.
	* include/bits/basic_string.h: Remove exception_support.
	(string::_M_check): Replace __OUTOFRANGE with __throw_out_of_range.
	(string::at): Same.
	(string::substr): Same.
	* include/bits/basic_string.tcc (string::reserve): Replace
	__LENGTHERROR with __throw_length_error.
	(string::_S_create): Same.
	(string::resize): Same.
	(string::_M_replace): Same.
	(string::replace): Same.
	(string::copy): Replace __OUTOFRANGE with __throw_out_of_range.
	(string::compare): Same.
	* include/bits/stl_vector.h: Remove exception_support.
	* src/Makefile.am (base_headers): Remove here.
	* src/Makefile.in: Regenerate.
	* include/bits/stl_range_errors.h: Remove.
	* include/bits/stl_deque.h: Use __throw_range_error.
	* include/bits/std_deque.h: Include functexcept.h.
	* include/bits/std_vector.h: Same.
	* src/Makefile.am (base_headers): Remove here.
	* src/Makefile.in: Regenerate.
	* include/ext/stl_bvector.h (class __BVECTOR): Use __throw_range_error.
	* include/ext/bvector: Remove stl_range_errors.h
	* include/bits/c++config (_GLIBCPP_USE_EXCEPTIONS): Remove.
	* include/bits/functexcept.h: New file.
	* src/functexcept.cc: New file. Definitions for function-based
	exception routines.
	* src/Makefile.am (sources): Add functexcept.cc.
	* src/Makefile.in: Regenerate.
	* include/bits/stl_config.h (__STL_USE_EXCEPTIONS): Wrap with
	__EXCEPTIONS.
	* include/bits/localefwd.h: Include functexcept.h.
	* include/bits/std_iosfwd.h: Same.
	* include/bits/basic_ios.h: Use __throw_ios_failure instead of
	throw basic_ios::failure.
	* include/bits/fstream.tcc (filebuf::_M_allocate_buffers):
	Use __throw_exception_again.
	(filebuf::_M_filebuf_init): Same.
	* include/bits/streambuf.tcc (__copy_streambufs): Same.
	* include/bits/ostream.tcc (ostream::operator<<): Same.
	* include/bits/istream.tcc (istream::operator>>): Same.
	* include/bits/basic_string.tcc (string::_M_mutate): Same.
	(string::_S_construct): Same.
	(string::_M_clone): Same.
	* include/bits/locale_facets.tcc (use_facet(const locale&)): Use
	__throw_bad_cast.
	(num_put<_CharT, _OutIter>::do_put): Use __throw_exception_again.
	* src/localename.cc (locale::_Imp::_Imp(const _Impl&, size_t): Use
	__throw_exception_again.
	(locale::_Imp::_Imp(string, size_t): Same.
	(locale::_Imp::_M_replace_facet): Use __throw_runtime_error.
	* src/locale.cc (locale::_M_coalesce): Use __throw_exception_again.
	(locale::locale(const char*)): Use __throw_runtime_error.
	(locale::classic): Use __throw_exception_again.
	(locale::_S_normalize_category): Use __throw_runtime_error.
	* src/stdexcept.cc: Remove cruft.
	* libsupc++/exception_defines.h: New file.
	* libsupc++/new_opnt.cc: Include exception_defines.h.
	* libsupc++/vec.cc: Same.
	(__cxa_vec_new2): Use __throw_exception_again.
	(__cxa_vec_new3): Same.
	(__cxa_vec_ctor): Same.
	(__cxa_vec_delete3): Same.
	(__cxa_vec_cctor): Same.
	(__cxa_vec_delete2): Same.
	(__cxa_vec_dtor): Same.
	* libsupc++/exception_support.cc: Include exception_defines.h. Only
	compile exception-handling bits if __EXCEPTIONS is defined.
	Remove old ABI support.
	* libsupc++/new_op.cc (new): Include exception_defines.h. Use
	std::__throw_bad_alloc() instead of throw bad_alloc.
	* libsupc++/Makefile.am: Add exception_defines.h.
	* libsupc++/Makefile.in: Reformat.
	* libsupc++/*: Format.
From-SVN: r39730 
							
						 
						
							2001-02-16 00:44:44 +00:00  
				
					
						
							
							
								 
						
							
								17fd8a87a4 
								
							 
						 
						
							
							
								
								exception_support.cc (__terminate_func): Remove declaration.  
							
							... 
							
							
							
							2001-01-23  Chris Demetriou  <cgd@broadcom.com>
        * libsupc++/exception_support.cc (__terminate_func): Remove
        declaration.
        (__terminate_func_ptr): New typedef.
        (__terminate, __terminate_set_func): New extern function
        prototypes.
        (std::terminate): Use __terminate function.
        (std::set_terminate): Use __terminate_set_func function.
From-SVN: r39226 
							
						 
						
							2001-01-23 19:04:36 -08:00  
				
					
						
							
							
								 
						
							
								d34786e3fe 
								
							 
						 
						
							
							
								
								ios_base.h (ios_base::failure): Tighten up throw specs.  
							
							... 
							
							
							
							2001-01-16  Benjamin Kosnik  <bkoz@redhat.com>
	libstdc++/1605
	* include/bits/ios_base.h (ios_base::failure): Tighten up throw specs.
	* src/ios.cc (ios_base::failure): Make definitions match.
        * libsupc++/typeinfo (class bad_typeid): Add throw specs.
        (class bad_cast): Same.
        * libsupc++/exception (class exception): Add throw specs.
        * libsupc++/exception_support.cc (set_terminate): Add throw specs.
        (set_unexpected): Same.
        (uncaught_exception): Same.
        (what): Same.
	* docs/html/17_intro/C++STYLE (classname): Fix.
From-SVN: r39087 
							
						 
						
							2001-01-17 07:44:57 +00:00  
				
					
						
							
							
								 
						
							
								9607098926 
								
							 
						 
						
							
							
								
								exception_support.cc (__cp_pop_exception): Fix uninitialized thinko in last change.  
							
							... 
							
							
							
							* libsupc++/exception_support.cc (__cp_pop_exception): Fix
	uninitialized thinko in last change.
From-SVN: r39063 
							
						 
						
							2001-01-16 09:45:03 +00:00  
				
					
						
							
							
								 
						
							
								40acfbeace 
								
							 
						 
						
							
							
								
								exception_support.cc (__cp_pop_exception): Change prototype.  
							
							... 
							
							
							
							* libsupc++/exception_support.cc (__cp_pop_exception): Change
	prototype.
From-SVN: r39061 
							
						 
						
							2001-01-16 08:30:20 +00:00  
				
					
						
							
							
								 
						
							
								2650255a57 
								
							 
						 
						
							
							
								
								decl.c (init_decl_processing): Correct name of pure virtual function under the new ABI.  
							
							... 
							
							
							
							* decl.c (init_decl_processing): Correct name of pure virtual
	function under the new ABI.
	* rtti.c (throw_bad_cast): Likewise, for bad cast function.
	(throw_bad_typeid): Likewise for bad typeid function.
	* libsupc++/exception_support.cc (__throw_bad_cast): Name it
	__cxa_bad_cast under the new ABI.
	(__throw_bad_typeid): Name it __cxa_bad_typeid under the new ABI.
	* libsupc++/pure.cc (__pure_virtual): Name it __cxa_pure_virtual
	under the new ABI.
From-SVN: r37575 
							
						 
						
							2000-11-19 21:07:24 +00:00  
				
					
						
							
							
								 
						
							
								f1f0c5a2f7 
								
							 
						 
						
							
							
								
								exception_support.h: New header file.  
							
							... 
							
							
							
							* libsupc++/exception_support.h: New header file.
	* libsupc++/vec.cc: Include it.
	(__cxa_vec_new2): Recatch exceptions before rethrows.
	(__cxa_vec_new3): Likewise.
	(__cxa_vec_ctor): Likewise.
	(__cxa_vec_cctor): Likewise.
	(__cxa_vec_dtor): Likewise.
	(__cxa_vec_delete2): Likewise.
	(__cxa_vec_delete3): Likewise.
From-SVN: r37551 
							
						 
						
							2000-11-19 02:22:53 +00:00  
				
					
						
							
							
								 
						
							
								6b76f569a3 
								
							 
						 
						
							
							
								
								[multiple changes]  
							
							... 
							
							
							
							2000-10-21  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>
	* docs/links.html: Add links to defects list, standards FAQ.
	* testsuite/21_strings/ctor_copy_dtor.cc (test01): Disable tests
	with string creation that allocate huge ammounts of memory.
	* include/c/bits/std_cstddef.h: Put size_t, ptrdiff_t in
	namepace std.
2000-10-21  Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
    	* libsupc++/exception.cc: Use namespace std.
    	* libsupc++/new: DITTO.
    	* libsupc++/new_op.cc: DITTO.
    	* libsupc++/new_opnt.cc: DITTO.
    	* libsupc++/new_opv.cc: DITTO.
    	* libsupc++/new_opvnt.cc: DITTO.
    	* libsupc++/tinfo.cc: DITTO.
    	* libsupc++/tinfo.h: DITTO.
    	* libsupc++/vec.cc: DITTO.
    	* libsupc++/Makefile.am: Blank lines removal.
From-SVN: r36995 
							
						 
						
							2000-10-21 16:50:29 +00:00  
				
					
						
							
							
								 
						
							
								0a8c4c0cd9 
								
							 
						 
						
							
							
								
								Makefile.am (exception): Change exception.cc to exception_support.cc.  
							
							... 
							
							
							
							2000-10-18   Benjamin Kosnik  <bkoz@purist.soma.redhat.com>
	* libsupc++/Makefile.am (exception): Change exception.cc to
	exception_support.cc.
	(CXXLINK): Remove bogus --tag CC.
	* libsupc++/Makefile.in: Regenerate.
	* libsupc++/exception.cc: Move to...
	* libsupc++/exception_support.cc: ...here.
	* src/Makefile.am: Remove bogus --tag CC.
	* src/Makefile.in: Regenerate.
	* include/bits/locale_facets.tcc (use_facet): Simplify.
	* include/bits/locale_facets.h (use_facet<ctype<char> >): Correct
	use_facet declaration. Replace 'const ctype<T>' with ctype<T>.
	(use_facet<ctype<wchar_t> >): Same.
	* src/locale-inst.cc: Remove explicit instantiation.
	* src/locale.cc: Correct signature here too.
	(_Bad_use_facet::what()): Correct error string.
	* include/bits/localefwd.h: Correct comment.
	* mkcheck.in (C_DIR): Change libsupc++/include to libsupc++.
From-SVN: r36945 
							
						 
						
							2000-10-18 23:45:59 +00:00