summaryrefslogtreecommitdiffstats
path: root/libstdc++-v3/libsupc++
Commit message (Collapse)AuthorAgeFilesLines
...
* 2001-03-13 Benjamin Kosnik <bkoz@redhat.com>bkoz2001-03-136-15/+19
| | | | | | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40442 138bc75d-0d04-0410-961f-82ee72b054a4
* 2001-03-05 Stephen M. Webb <stephen.webb@cybersafe.com>bkoz2001-03-061-1/+1
| | | | | | | * libsupc++/vec.cc (__cxxa_vec_new2): Qualify size_t. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40253 138bc75d-0d04-0410-961f-82ee72b054a4
* 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>bkoz2001-03-021-1/+0
| | | | | | | | | | | | | | | | | * include/bits/istream.tcc: change type of __extracted to __size_type 2001-03-02 Benjamin Kosnik <bkoz@redhat.com> * src/wstring-inst.cc: New file. * src/Makefile.am (EXTRA_LTLIBRARIES): Remove. (libinst_wstring_la_SOURCES): Remove. (libstdc___la_LIBADD): Remove libinst_wstring_la. (sources): Add wstring-inst.cc * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Remove libinst_wstring_la. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40192 138bc75d-0d04-0410-961f-82ee72b054a4
* 2001-02-28 Benjamin Kosnik <bkoz@redhat.com>bkoz2001-03-011-36/+8
| | | | | | | | | | | | | | | libstdc++/2103 * include/bits/c++config (__GLIBCPP__): Bump number in anticipation of 2.92. * include/bits/codecvt.h: Fix typo. * include/bits/basic_file.h (__basic_file): Don't use _M_wfile for stdio model. * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Enable wchar_t instantiations for stdio model. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40140 138bc75d-0d04-0410-961f-82ee72b054a4
* 2001-02-28 Phil Edwards <pme@sources.redhat.com>pme2001-02-281-10/+36
| | | | | | | | | | | | | | | | | * acinclude.m4 (GLIBCPP_CONFIGURE): Remove GLIBCPP_CFLAGS and GLIBCPP_CXXFLAGS as unused variables. * configure.host: Likewise. * configure.target: Likewise. * aclocal.m4: Regenerated. * configure: Regenerated. * Makefile.in: Regenerated. * libio/Makefile.in: Regenerated. * libmath/Makefile.in: Regenerated. * libsupc++/Makefile.in: Regenerated. * src/Makefile.in: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40135 138bc75d-0d04-0410-961f-82ee72b054a4
* 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>bkoz2001-02-281-36/+8
| | | | | | | | | | | | | | | | | | | | | | | | libstdc++/1886 * include/bits/basic_file.h: Include basic_file_model.h. * config/c_io_libio.cc: Move to... * config/basic_file_libio.cc: Here. * config/basic_file_libio.h: New file. * config/c_io_stdio.cc: Move to... * config/basic_file_stdio.cc: Here. * config/basic_file_stdio.h: New file. * config/c_io_libio.h: Tweak. * config/c_io_stdio.h: Tweak. * src/Makefile.am (build_headers): Add basic_file_model.h. (sources): Add basic_file.cc, remove c++io.cc. * src/Makefile.in: Regenerate. * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Add support for basic_file_model.h and basic_file.cc. * aclocal.m4: Regenerate. * configure: Regenerate. * testsuite/27_io/filebuf.cc (test05): Add regression. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40108 138bc75d-0d04-0410-961f-82ee72b054a4
* 2001-02-26 Phil Edwards <pme@sources.redhat.com>pme2001-02-262-3/+2
| | | | | | | | | | | | | | | | | | | * acinclude.m4 (GLIBCPP_CONFIGURE): Update required compiler version. (GLIBCPP_CHECK_COMPILER_FEATURES): Can safely assume new diagnostics. Remove WFMT_FLAGS. * configure.in: Replace WFMT_FLAGS with diagnostics options. * libsupc++/Makefile.am: Likewise. * src/Makefile.am: Likewise. * aclocal.m4: Regenerated. * configure: Regenerated. * Makefile.in: Regenerated. * libio/Makefile.in: Regenerated. * libmath/Makefile.in: Regenerated. * libsupc++/Makefile.in: Regenerated. * src/Makefile.in: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40075 138bc75d-0d04-0410-961f-82ee72b054a4
* 2001-02-20 Phil Edwards <pme@sources.redhat.com>pme2001-02-201-8/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * include/bits/stl_config.h: Remove file. * src/Makefile.am (base_headers): Remove from list. * configure: Regenerate. * Makefile.in: Ditto. * libio/Makefile.in: Ditto. * libmath/Makefile.in: Ditto. * libsupc++/Makefile.in: Ditto. * src/Makefile.in: Ditto. * include/bits/c++config: Move relevant macros to here. * include/backward/alloc.h: Include c++config.h instead. * include/backward/function.h: Ditto. * include/backward/heap.h: Ditto. * include/backward/pair.h: Ditto. * include/bits/pthread_allocimpl.h: Ditto. * include/bits/std_functional.h: Ditto. * include/bits/std_iterator.h: Ditto. * include/bits/std_numeric.h: Ditto. * include/bits/std_utility.h: Ditto. * include/bits/stl_algobase.h: Ditto. * include/bits/type_traits.h: Ditto. * src/stl-inst.cc: Ditto. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39931 138bc75d-0d04-0410-961f-82ee72b054a4
* Remove old ABI support from libsupc++.mmitchel2001-02-168-1025/+11
| | | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39732 138bc75d-0d04-0410-961f-82ee72b054a4
* 2001-02-15 Benjamin Kosnik <bkoz@redhat.com>bkoz2001-02-1622-289/+345
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39730 138bc75d-0d04-0410-961f-82ee72b054a4
* 2001-02-07 Benjamin Kosnik <bkoz@redhat.com>bkoz2001-02-071-17/+18
| | | | | | | | | | | | | | | | | | | | Clean up stdexcept. * include/bits/stringfwd.h: New file. * include/bits/stl_string_fwd.h: Remove. * include/bits/localefwd.h: Remove declaration for allocator. * include/bits/std_iosfwd: Same. * include/bits/std_string.h: Include it. * include/bits/std_ios.h: Remove include. * include/bits/basic_string.h: Tweak. * libsupc++/new: Format. * src/Makefile.am (base_headers): Add stringfwd.h, remove stl_string_fwd.h * src/Makefile.in: Regenerate. * include/bits/std_stdexcept.h: Rewrite. * src/stdexcept.cc: Same. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39526 138bc75d-0d04-0410-961f-82ee72b054a4
* 2001-02-06 Benjamin Kosnik <bkoz@fillmore.constant.com>bkoz2001-02-072-20/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Deal with library install locations too. * aclocal.m4: Regeneate. * configure.in: Remove USE_LIBDIR. * configure: Regenerate. * src/Makefile.am (toolexecdir): Simplify, use glibcpp_toolexecdir, glibcpp_toolexeclibdir. * src/Makefile.in: Regenerate. * libsupc++/Makefile.am: Same. * libsupc++/Makefile.in: Regenerate. * src/Makefile.am: Just remove special rules for locale-inst.cc and misc-inst.cc as no longer necessary. Follow C++STYLE for naming non-static functions. * include/bits/ostream.tcc (_S_pad_char): Not static, rename to __pad_char. * include/bits/streambuf.tcc: Same. * include/bits/ostream.tcc: Same. * include/bits/istream.tcc: Same. * include/bits/locale_facets.tcc (_S_pad_numeric): To __pad_numeric. (_S_output_float): To __output_float. * include/bits/std_streambuf.h (_S_copy_streambufs): To __copy_streambufs. * include/bits/locale_facets.tcc (_S_build_float_format): To __build_float_format. (_S_format): To __output_integer. (_S_fill): To __pad. * src/locale.cc: Same. * src/misc-inst.cc: Fix formatting. Fix signature for wchar_t. Correct names. * include/bits/locale_facets.tcc (_S_group_digits): To __group_digits. * src/locale-inst.cc: Fixup names. Add use_facet instantiations for collate, numpunct. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39508 138bc75d-0d04-0410-961f-82ee72b054a4
* 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>bkoz2001-02-061-4/+15
| | | | | | | | * include/bits/locale_facets.h (class moneypunct): Fix typos. * libsupc++/pure.cc: Revert. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39484 138bc75d-0d04-0410-961f-82ee72b054a4
* 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>bkoz2001-02-062-15/+1
| | | | | | | | | | | | | | | | | | * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): New macro. Consolidate all the bits to do with where includes might be installed. * aclocal.m4: Regenerate. * configure.in: Use it. * configure: Regenerate. * src/Makefile.am (targetincludep): Use simplified rules. (targetincludep): Rename gxx_target_include_dir. (myincludep): Rename gxx_include_dir. * src/Makefile.in: Regenerate. * libsupc++/Makefile.am: Use simplified rules. * libsupc++/Makefile.in: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39479 138bc75d-0d04-0410-961f-82ee72b054a4
* * libsupc++/typeinfo (__GXX_MERGED_TYPEINFO_NAMES): New macro.mmitchel2001-02-043-19/+42
| | | | | | | | | * libsupc++/tinfo.cc (std::typeinfo::operator==): Use strcmp whenever !__GXX_MERGED_TYPEINFO_NAMES. * libsupc++/tinfo2.cc (std::typeinfo::before): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39438 138bc75d-0d04-0410-961f-82ee72b054a4
* 2001-02-03 Alexandre Oliva <aoliva@redhat.com>bkoz2001-02-032-47/+22
| | | | | | | | | | | | | | Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> * Makefile.am (mkinstalldirs): Set. * src/Makefile.am (mkinstalldirs): Set. * libmath/Makefile.am (mkinstalldirs): Set. * libsup++/Makefile.am (mkinstalldirs): Set. * libio/Makefile.am (mkinstalldirs): Set. * */Makefile.in: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39430 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in (toplevel_srcdir, auxdir): Set.aoliva2001-02-016-2003/+47
| | | | | | | | | | | | | * acinclude.m4 (glibcpp_basedir): Set based on auxdir. * aclocal.m4, configure, Makefile.in: Rebuilt. * libio/Makefile.in, math/Makefile.in, src/Makefile.in: Likewise. * libsupc++-v3/Makefile.am (INCLUDES): Use toplevel_srcdir. * libsupc++-v3/Makefile.in: Rebuilt. * libsupc++-v3/configure.in, libsupc++-v3/configure: Removed. * libsupc++-v3/aclocal.m4, libsupc++-v3/config.h.in: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39395 138bc75d-0d04-0410-961f-82ee72b054a4
* 2001-01-26 Benjamin Kosnik <bkoz@kredhat.com>bkoz2001-01-271-15/+4
| | | | | | | * libsupc++/pure.cc (writestr): Just use cstdio and std::fputs. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39296 138bc75d-0d04-0410-961f-82ee72b054a4
* 2001-01-23 Chris Demetriou <cgd@broadcom.com>cgd2001-01-241-6/+7
| | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39226 138bc75d-0d04-0410-961f-82ee72b054a4
* * ainclude.m4 (GLIBCPP_CHEC_MATH_DECLS_AND_LINKAGE_1): New macro.mmitchel2001-01-232-6/+13
| | | | | | | | | | | | | | (GLIBCPP_CHECK_MATH_SUPPORT): Use it. (GLIBCPP_CHECK_TYPE_SUPPORT): Don't autoconf ctype information if its already provided in config.target. * aclocal.m4: Regenerated. * configure: Likewise. * configure.target: Set ctype_include_dir for lots of systems. * libsupc++/Makefile.am: Explicitly include --tag disable-shared. * libsupc++/Makefile.in: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39196 138bc75d-0d04-0410-961f-82ee72b054a4
* 2001-01-16 Benjamin Kosnik <bkoz@redhat.com>bkoz2001-01-173-96/+107
| | | | | | | | | | | | | | | | | | 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39087 138bc75d-0d04-0410-961f-82ee72b054a4
* * libsupc++/exception_support.cc (__cp_pop_exception): Fixnathan2001-01-161-2/+2
| | | | | | | uninitialized thinko in last change. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39063 138bc75d-0d04-0410-961f-82ee72b054a4
* * libsupc++/exception_support.cc (__cp_pop_exception): Changemmitchel2001-01-161-2/+3
| | | | | | | prototype. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39061 138bc75d-0d04-0410-961f-82ee72b054a4
* 2001-01-10 Benjamin Kosnik <bkoz@redhat.com>bkoz2001-01-111-1/+1
| | | | | | | | | | * src/ios.cc: Fix typo: change cout->wcout. * src/Makefile.am (targetincludep): Fix for version-specific-libs. * src/Makefile.in: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38895 138bc75d-0d04-0410-961f-82ee72b054a4
* 2000-12-23 Benjamin Kosnik <bkoz@redhat.com>bkoz2000-12-232-7/+7
| | | | | | | | | | | | | | | | | | | | | | * src/Makefile.am (CSTD_INCLUDES): Change from CSHADOW_INCLUDES. (strstream.cc): Add special rule for deprecated files. * libsupc++/Makefile.am (INCLUDES): Sync. * acinclude.m4 (GLIBCPP_EXPORT_INCLUDES): And here. Reported by Fred Fish <fnf@ninemoons.com> * include/backward/iomanip.h: Remove backward from include * include/backward/strstream.h: Same. * include/backward/stream.h: Same. * include/backward/ostream.h: Same. * include/backward/istream.h: Same. * src/strstream.cc: And here. Reported by Brad Garcia <bgarcia@laurelnetworks.com> * src/string-inst.cc (_S_find): Use generic template. * include/bits/string.tcc (_S_find): Remove specializations git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38477 138bc75d-0d04-0410-961f-82ee72b054a4
* 2000-12-21 Benjamin Kosnik <bkoz@redhat.com>bkoz2000-12-211-44/+17
| | | | | | | | | | | | | | | | | | * configure.in: Change GLIBCPP_ENABLE_SHADOW to GLIBCPP_ENABLE_CHEADERS. * acinclude.m4 (GLIBCPP_ENABLE_SHADOW): Change to ENABLE_CHEADERS. C_INCLUDE_DIR defaults to c_std from c. * aclocal.m4: Regenerate. * configure: Regenerate. * include/c: Move to ... * include/c_std: ...here. * include/c_std: Move to ... * include/c_shadow: ...here. * include/c: Repopulate, with simple headers. * docs/html/configopts.html: Adjust docs. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38432 138bc75d-0d04-0410-961f-82ee72b054a4
* 2000-12-20 Phil Edwards <pme@sources.redhat.com>pme2000-12-201-17/+44
| | | | | | | | | | | | | | | | * acinclude.m4 (SECTION_FLAGS, OPT_LDFLAGS): Fix minor thinko. * aclocal.m4: Regenerate. * configure: Ditto. * Makefile.in: Ditto. * libio/Makefile.in: Ditto. * libmath/Makefile.in: Ditto. * libsupc++/Makefile.in: Ditto. * src/Makefile.in: Ditto. * include/bits/istream.tcc: Fix clause reference in comment. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38406 138bc75d-0d04-0410-961f-82ee72b054a4
* 2000-12-18 Benjamin Kosnik <bkoz@redhat.com>bkoz2000-12-181-0/+1
| | | | | | | | | | | | | | | | | | * configure.in: Set os_include_dir for cross_compiles. * configure: Regenerate. * configure.target (l_glibcpp_cxxflags): Don't try to be clever when assigning ATOMICITYH. Only special case the special cases... 2000-12-15 Benjamin Kosnik <bkoz@redhat.com> * configure.in (gxx_target_include_dir): Install target-dependent include files in a target-dependent place. * configure: Regenerate. * src/Makefile.am: Add in support here. * src/Makefile.in: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38354 138bc75d-0d04-0410-961f-82ee72b054a4
* 2000-12-12 Benjamin Kosnik <bkoz@purist.soma.redhat.com>bkoz2000-12-131-44/+17
| | | | | | | | | | | | | | | | | | | | * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Don't link ctype files here... * configure.in: Rather, do it once for all targets here. Clean up canadian cross and cross compile targets for linux-targeted crosses. * configure: Regenerate. * aclocal.m4: Regnerate. * acconfig.h: Add more defines. * config.h.in: Regenerate. 2000-12-12 Angela Marie Thomas <angela@cygnus.com> * configure.in: Fix case for host-x-linux * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38217 138bc75d-0d04-0410-961f-82ee72b054a4
* 2000-12-06 Phil Edwards <pme@sources.redhat.com>pme2000-12-061-17/+44
| | | | | | | | | | | | | | | * acinclude.m4 (GLIBCPP_CHECK_*_DECL_AND_LINKAGE_*): Pre-test whether the cached result is present. * aclocal.m4: Regenerate. * configure: Regenerate. * Makefile.in: Regenerate. * libio/Makefile.in: Regenerate. * libmath/Makefile.in: Regenerate. * libsupc++/Makefile.in: Regenerate. * src/Makefile.in: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38079 138bc75d-0d04-0410-961f-82ee72b054a4
* 2000-11-21 Benjamin Kosnik <bkoz@purist.soma.redhat.com>bkoz2000-11-222-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | * src/strstream.cc: Adjust includes. * src/Makefile.am (base_headers): Remove std_strstream.h, add backwards/strstream.h. (std_headers): Remove strstream. * src/Makefile.in: Regenerate. * libsupc++/Makefile.am (headers): Remove new.h * libsupc++/Makefile.in: Regenerate. * include/std/strstream: Remove. * include/backward/strstream.h: Replace with... * include/bits/std_strstream.h: ...this. Move. * include/backward/complex.h: Remove SGIisms. * include/backward/streambuf.h: Same. * include/backward/stream.h: Same. * include/backward/ostream.h: Same. * include/backward/istream.h: Same. * include/backward/iostream.h: Same. * include/backward/iomanip.h: Same. * include/backward/fstream.h: Same. * libsupc++/new.h: Add using declarations for bad_alloc, nothrow_t, and nothrow, move to ... * include/backward/new.h: ...here. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37632 138bc75d-0d04-0410-961f-82ee72b054a4
* 2000-11-21 Benjamin Kosnik <bkoz@purist.soma.redhat.com>bkoz2000-11-211-38/+0
| | | | | | | | | | | | | | | | | | | * include/backward/strstream.h: Replace with... * include/bits/std_strstream.h: ...this. Move. * include/backward/complex.h: Remove SGIisms. * include/backward/streambuf.h: Same. * include/backward/stream.h: Same. * include/backward/ostream.h: Same. * include/backward/istream.h: Same. * include/backward/iostream.h: Same. * include/backward/iomanip.h: Same. * include/backward/fstream.h: Same. * libsupc++/new.h: Add using declarations for bad_alloc, nothrow_t, and nothrow, move to ... * include/backward/new.h: ...here. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37631 138bc75d-0d04-0410-961f-82ee72b054a4
* 2000-11-21 Benjamin Kosnik <bkoz@purist.soma.redhat.com>bkoz2000-11-211-44/+17
| | | | | | | | | * acinclude.m4 (AC_LC_MESSAGES): Check for locale.h. * aclocal.m4: Regenerate. * configure: Renerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37626 138bc75d-0d04-0410-961f-82ee72b054a4
* * decl.c (init_decl_processing): Correct name of pure virtualmmitchel2000-11-192-3/+19
| | | | | | | | | | | | | | | 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37575 138bc75d-0d04-0410-961f-82ee72b054a4
* * libsupc++/exception_support.h: New header file.mmitchel2000-11-191-0/+66
| | | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37554 138bc75d-0d04-0410-961f-82ee72b054a4
* * libsupc++/exception_support.h: New header file.mmitchel2000-11-192-54/+52
| | | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37551 138bc75d-0d04-0410-961f-82ee72b054a4
* 2000-11-17 Phil Edwards <pme@sources.redhat.com>pme2000-11-171-17/+44
| | | | | | | | | | | | | | | | * acinclude.m4 (GLIBCPP_ENABLE_ATOMICITY): Move switch statement contents to... * configure.target: ...here. Enable generic atomic ops, and warn. * aclocal.m4: Regenerated. * configure: Ditto. * Makefile.in: Ditto. * libio/Makefile.in: Ditto. * libmath/Makefile.in: Ditto. * libsupc++/Makefile.in: Ditto. * src/Makefile.in: Ditto. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37524 138bc75d-0d04-0410-961f-82ee72b054a4
* * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Makemmitchel2000-11-171-55/+19
| | | | | | | | | | | | | | | | | | | --enable-cstdio=stdio the default. Disable wide character support in that event. * configure.in: Move GLIBCPP_ENABLE_C_MBCHAR after (GLIBCPP_ENABLE_CSTDIO). * config/c_io_stdio.h: Don't include <libio.h>, don't define __c_wfile_type. * aclocal.m4: Regenerated. * configure: Likewise. * Makefile.in: Likewise. * libio/Makefile.in: Likewise. * libmath/Makefile.in: Likewise. * libsupc++/Makefile.in: Likewise. * src/Makefile.in: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37509 138bc75d-0d04-0410-961f-82ee72b054a4
* * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Substitute libio_la.mmitchel2000-11-161-19/+56
| | | | | | | | | | | | | | * src/Makefile.am (libstdc___la_LIBADD): Use it. * aclocal.m4: Regenerated. * configure: Likewise. * Makefile.in: Likewise. * libio/Makefile.in: Likewise. * libmath/Makefile.in: Likewise. * libsupc++/Makefile.in: Likewise. * src/Makfile.in: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37491 138bc75d-0d04-0410-961f-82ee72b054a4
* 2000-11-14 Benjamin Kosnik <bkoz@purist.soma.redhat.com>bkoz2000-11-141-44/+17
| | | | | | | | | | | | * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPOR): Set LIBS back to initial value. * aclocal.m4: Regenerate. * configure: Regenerate. * include/bits/c++config (__GLIBCPP__): Set release version for 2.91. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37457 138bc75d-0d04-0410-961f-82ee72b054a4
* 2000-11-13 Phil Edwards <pme@sources.redhat.com>pme2000-11-131-17/+44
| | | | | | | | | | | | | | | | | | | | | * acinclude.m4 (GLIBCPP_CHECK_TARGET): New macro, replacing GLIBCPP_CHECK_CPU and GLIBCPP_CHECK_OS, sourcing configure.target. (GLIBCPP_CONFIGURE): Call new macro here. * configure.host: Cleanup. * configure.in: Remove those two macros. * configure.target: New file. * aclocal.m4: Regenerated. * configure: Ditto. * Makefile.in: Ditto. * libio/Makefile.in: Ditto. * libmath/Makefile.in: Ditto. * libsupc++/Makefile.in: Ditto. * src/Makefile.in: Ditto. * mkcheck.in: Use libtool. Split things out into functions. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37443 138bc75d-0d04-0410-961f-82ee72b054a4
* 2000-11-12 Brent Verner <brent@rcfile.org>bkoz2000-11-131-44/+17
| | | | | | | | | | | | * include/c_std/bits/wrap_langinfo.h: New file. * include/c_std/langinfo.h: New file. * include/bits/codecvt.h (__enc_trants::__enc_traits()): Bring in CODESET from _C_legacy::CODESET if using shadow headers. * src/Makefile.am: Add new files. * src/Makefile.in: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37437 138bc75d-0d04-0410-961f-82ee72b054a4
* * acinclude.m4 (CXX): Prevent it from being cached.aoliva2000-11-041-0/+1
| | | | | | | * aclocal.m4, configure, */Makefile.in: Rebuilt. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37245 138bc75d-0d04-0410-961f-82ee72b054a4
* 2000-11-03 David Edelsohn <dje@watson.ibm.com>pme2000-11-041-17/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * acinclude.m4 (GLIBCPP_CHECK_OS): Add AIX target selecting threads flag based on multilib definition of $CXX. * mknumeric_limits (LDFLAGS): Add AIX target linking with pthreads based on multilib definition of $CXX. * config/os/aix/bits/os_defines.h (_G_USING_THUNKS): Define as 0. 2000-11-03 Phil Edwards <pme@sources.redhat.com> * acinclude.m4: Cleanups. * aclocal.m4: Regenerated. * configure: Ditto. * Makefile.in: Ditto. * libio/Makefile.in: Ditto. * libmath/Makefile.in: Ditto. * libsupc++/Makefile.in: Ditto. * src/Makefile.in: Ditto. * docs/install.html: Removal of EGCS. * docs/23_containers/wrappers_h.txt: Likewise. * docs/faq/index.html: Likewise. * docs/faq/index.txt: Regenerated. * docs/thanks.html: More people. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37241 138bc75d-0d04-0410-961f-82ee72b054a4
* * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Fix typo.mmitchel2000-11-031-55/+19
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37219 138bc75d-0d04-0410-961f-82ee72b054a4
* * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Add support for IRIX.mmitchel2000-11-031-19/+55
| | | | | | | | | | | | | | | | * aclocal.m4: Regenerated. * Makefile.in: Regenerated. * libio/Makefile.in: Likewise. * libmath/Makefile.in: Likewise. * libsupc++/Makefile.in: Likewise. * src/Makefile.in: Likewise. * configure: Likewise. * config/os/irix/bits/ctype_base.h: Revise. * config/os/irix/bits/ctype_inline.h: Likewise. * config/os/irix/bits/ctype_noninline.h: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37215 138bc75d-0d04-0410-961f-82ee72b054a4
* 2000-11-01 Benjamin Kosnik <bkoz@purist.soma.redhat.com>bkoz2000-11-011-44/+17
| | | | | | | | | | | | | | | * bits/basic_file.h (_M_open_mode): Change signature, move specializations to.. * config/c_io_libio.cc: ...here. * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Add sdtio option, remove wince. * aclocal.m4: Regenerate. * configure: Regenerate. * config/c_io_stdio.h: New file. * config/c_io_stdio.cc: New file. * docs/configopts.html: Modify documentation. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37195 138bc75d-0d04-0410-961f-82ee72b054a4
* 2000-10-30 Phil Edwards <pme@sources.redhat.com>pme2000-10-311-17/+46
| | | | | | | | | | | | | | | | | | | | | * acinclude.m4 (GLIBCPP_ENABLE_DEBUG): Raise debugging level from the default of 2 to 3. * configure.in: Fix minor typos. SUBST the values of enable_shared and enable_static so that mkcheck will be aware of them. Put the test for gconv.h in with all the other header tests. * aclocal.m4: Regenerate. * configure: Ditto. * Makefile.in: Ditto. * libio/Makefile.in: Ditto. * libmath/Makefile.in: Ditto. * libsupc++/Makefile.in: Ditto. * src/Makefile.in: Ditto. * config/os/solaris/solaris2.7/bits/os_defines.h: Define _G_USING_THUNKS to 0. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37151 138bc75d-0d04-0410-961f-82ee72b054a4
* 2000-10-30 Benjamin Kosnik <bkoz@redhat.com>bkoz2000-10-311-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/complex_io.cc : Remove ancient defines. * config/os/gnu-linux/bits/os_defines.h: Add defines. * libsupc++/tinfo2.cc: Change to cstddef. * include/bits/codecvt.h: Add include of c++config.h, so that __USE_GNU gets defined. (Important for alpha.) * include/c/bits/std_cwctype.h: Same. * include/c/bits/std_ctime.h: And here. * include/c/bits/std_cstdarg.h: Same. * include/c/bits/std_csignal.h: Same. * include/c/bits/std_csetjmp.h: Same. * include/c/bits/std_clocale.h: Same. * include/c/bits/std_climits.h: Touch. * include/c/bits/std_cfloat.h: Same. * include/c/bits/std_cerrno.h: Same. * include/c/bits/std_cwchar.h: Same. * include/c/bits/std_cassert.h: Same. * include/c/bits/std_cctype.h: Same. * include/c/bits/std_cstddef.h: And here. * include/c/bits/std_cstdlib.h: And here. * include/c/bits/std_cstdio.h: Same. * include/c/bits/std_cstring.h: Add names to namespace std::. * include/bits/c++config (_GNU_SOURCE): Move linux-specific macros from here... (_ISOC99_SOURCE): And this one.... * config/os/gnu-linux/bits/os_defines.h: ...to here. * include/bits/codecvt.h (codecvt<_InternT, _ExternT, __enc_traits>::do_in): Don't cast to const, this is a bug in glibc prior to 2.2. (codecvt<_InternT, _ExternT, __enc_traits>::do_out): Same. * include/c/bits/std_cwchar.h: Add using declarations for mbstate_t. 2000-10-30 Steven King <sxking@uswest.net> * include/bits/codecvt.h: Add cast. * include/c_std/stdio.h: Re-add printf using declaration. * include/c_std/bits/std_cstdio.h: Same * testsuite/22_locale/codecvt_wchar_t_char.cc: Fixup testsuite. * testsuite/22_locale/ctor_copy_dtor.cc: Same. * testsuite/22_locale/facet.cc: Same. * testsuite/22_locale/global_templates.cc: Same. * testsuite/22_locale/operators.cc: Same. * testsuite/22_locale/static_members.cc: Same. * testsuite/26_numerics/c_math.cc: Same. * testsuite/26_numerics/complex_inserters_extractors.cc: Same. * testsuite/27_io/fpos.cc: Same. * testsuite/27_io/istream_extractor_arith.cc: Same. * testsuite/27_io/istream_unformatted.cc: Same. * testsuite/27_io/ostream_inserter_arith.cc: Same. * testsuite/27_io/streambuf.cc: Same. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37149 138bc75d-0d04-0410-961f-82ee72b054a4
* 2000-10-29 Benjamin Kosnik <bkoz@redhat.com>bkoz2000-10-291-7/+10
| | | | | | | | | | | | | | | | | | | | * configure.in: Simplify use of AC_CACHE_SAVE. Put linked files in $(top_builddir)/include/bits, not $(top_builddir)/bits, to help with libgcj build issues and improve consistency with the source directory's include directory setup. * configure: Regenerate. * acinclude.m4: Same here. * aclocal.m4: Regenerate. * mknumeric_limits (OUT_H): Also change paths here. * mkcheck.in (C_DIR): And here. * mkc++config (OUT_H): And here. * libmath/Makefile.am (INCLUDES): And here. * src/Makefile.am (INCLUDES): Change to $(top_builddir)/include. * libio/Makefile.am: Ditto. * libsupc++/Makefile.am (INCLUDES): Ditto. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37134 138bc75d-0d04-0410-961f-82ee72b054a4
OpenPOWER on IntegriCloud