Phil Edwards
b00378457a
Makefile.am (doxygen-maint): The script isn't executable in CVS.
...
2001-11-23 Phil Edwards <pme@gcc.gnu.org>
* Makefile.am (doxygen-maint): The script isn't executable in CVS.
* Makefile.in: Regenerated.
* docs/doxygen/TODO: New file listing doxygen work to be done.
* docs/doxygen/run_doxygen: Fix up man pages.
* docs/doxygen/user.cfg.in: Insert maint-only toggles.
* docs/doxygen/maint.cfg.in: Copy from user.cfg and turn toggles on.
* include/bits/stl_construct.h: Use new hooks for internal functions.
* docs/html/17_intro/TODO: Small updates.
* docs/html/faq/index.html: Likewise.
* docs/html/faq/index.txt: Regenerated.
* include/bits/stl_alloc.h: Doxygenate, reindent comments, remove
SGI-isms and wrappers.
(simple_alloc, debug_alloc): Uglify class names.
(__default_alloc_template): Uglify "threads" template parameter and
update corresponding macros.
* include/backward/alloc.h: Bring up to date.
From-SVN: r47296
2001-11-24 03:28:27 +00:00
Benjamin Kosnik
f295ecef02
limits.h: Move to...
...
2001-10-22 Benjamin Kosnik <bkoz@redhat.com>
* config/cpu/i386/bits/limits.h: Move to...
* config/cpu/i386/bits/cpu_limits.h: ...here.
* config/cpu/cris/bits/cpu_limits.h: Same.
* config/cpu/powerpc/bits/cpu_limits.h: Same.
* config/cpu/x86-64/bits/cpu_limits.h: Same.
* config/cpu/alpha/bits/cpu_limits.h: New.
* config/cpu/m68k/bits/cpu_limits.h: New.
* config/cpu/s390/bits/cpu_limits.h: New.
* config/os/aix/bits/os_defines.h: Tweaks.
* config/os/bsd/freebsd/bits/os_defines.h: Same.
* config/os/bsd/netbsd/bits/os_defines.h: Same.
* config/os/djgpp/bits/os_defines.h: Same.
* config/os/generic/bits/os_defines.h: Same.
* config/os/gnu-linux/bits/os_defines.h: Same.
* config/os/hpux/bits/os_defines.h: Same.
* config/os/irix/irix5.2/bits/os_defines.h: Same.
* config/os/irix/irix6.5/bits/os_defines.h: Same.
* config/os/newlib/bits/os_defines.h: Same.
* config/os/solaris/solaris2.5/bits/os_defines.h: Same.
* config/os/solaris/solaris2.6/bits/os_defines.h: Same.
* config/os/solaris/solaris2.7/bits/os_defines.h: Same.
* include/bits/c++config: Remove include.
* include/bits/limits_generic.h: Remove.
* include/bits/std_limits.h: Include cpu_limits.h.
* include/Makefile.am: Fixup.
* src/limits.cc: Tweak.
* src/limits_generic.cc: Remove.
* src/gen-num-limits.cc: Remove.
* mknumeric_limits: Remove.
From-SVN: r46445
2001-10-23 21:40:31 +00:00
Benjamin Kosnik
da5c0f6ef5
time_members_gnu.h: Remove.
...
2001-10-02 Benjamin Kosnik <bkoz@redhat.com>
* config/locale/time_members_gnu.h: Remove.
* config/locale/time_members_generic.h: Remove.
* config/locale/time_members_gnu.cc (__timepunct::_M_put_helper): Add.
* config/locale/time_members_generic.cc: Same.
* include/bits/locale_facets.h: Add data members.
(__timepunct::_M_put_helper): Change signature.
(__timepunct::_M_date_formats): Same.
(__timepunct::_M_time_formats): Same.
(__timepunct::_M_ampm): Add.
(__timepunct::_M_date_time_formats): Add.
(time_get::_M_extract_via_format): Add.
(time_get::_M_extract_time): Change to...
(time_get::_M_extract_num): ... this, modify signature.
* include/bits/locale_facets.tcc (time_get::do_get_year): Fix.
(time_get::do_get_time): Fix.
(time_get::do_get_date): Fix.
* acinclude.m4: Remove CTIME_H.
* aclocal.m4: Regenerate.
* include/Makefile.am: Same.
* include/Makefile.in: Regenerate.
* configure: Regenerate.
* testsuite/22_locale/time_get_members_char.cc: Fix.
* testsuite/22_locale/time_get_members_wchar_t.cc: Add.
* testsuite/22_locale/time_put_members_wchar_t.cc: Add.
From-SVN: r45966
2001-10-02 18:44:50 +00:00
Benjamin Kosnik
e08138aae3
Implement std::time_put.
...
2001-09-19 Benjamin Kosnik <bkoz@redhat.com>
Implement std::time_put.
* include/bits/locale_facets.h: Include time_members.h.
(__timepunct): New.
(time_put): Implement.
* include/bits/locale_facets.tcc (do_put): Put generic versions here.
* include/bits/localefwd.h: Bump number of facets.
* config/locale/time_members_generic.h: New file.
* config/locale/time_members_gnu.h: New file.
* config/locale/c_locale_generic.h: Include clocale.
* src/locale-inst.cc: Add use_facet instantiations for __timepunct.
* src/locale.cc: Add __timepunct initializations.
* src/localename.cc (locale::_Impl::_Impl(string, size_t)): Same.
* include/Makefile.am (stamp-target): Add time_members.h.
* include/Makefile.in: Regenerate.
* acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add CTIME_H.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* testsuite/22_locale/time_put.cc: New file.
* testsuite/22_locale/time_put_members_char.cc: New file.
* docs/html/22_locale/locale.html: Add note.
From-SVN: r45702
2001-09-20 08:30:01 +00:00
Benjamin Kosnik
89c06d5007
Makefile.am (stamp-target): Remove link to self.
...
2001-09-10 Benjamin Kosnik <bkoz@redhat.com>
* include/Makefile.am (stamp-target): Remove link to self.
* inclulde/Makefile.in: Regenerate.
From-SVN: r45514
2001-09-10 18:13:17 +00:00
Phil Edwards
2d25bf5d52
testsuite_flags.in: No longer need to search testsuite builddir.
...
2001-09-05 Phil Edwards <pme@sources.redhat.com>
* testsuite_flags.in: No longer need to search testsuite builddir.
* src/stl-inst.cc (__sink_unused_warning): Unused, remove.
* Makefile.am: The testsuite directory never needs to be made here.
* Makefile.in: Regenerate.
* include/Makefile.in: Regenerate.
* libio/Makefile.in: Regenerate.
* libmath/Makefile.in: Regenerate.
* libsupc++/Makefile.in: Regenerate.
* po/Makefile.in: Regenerate.
* src/Makefile.in: Regenerate.
* testsuite/Makefile.in: Regenerate.
From-SVN: r45426
2001-09-05 22:38:06 +00:00
Benjamin Kosnik
4e10943dda
configure.in (libtool_VERSION): Add.
...
2001-08-13 Benjamin Kosnik <bkoz@redhat.com>
* configure.in (libtool_VERSION): Add.
(VERSION): Change to
(release_VERSION): This.
* configure: Regenerate.
* src/Makefile.am (libstdc___la_LDFLAGS): Use -version-info with
libtool_VERSION.
* src/Makefile.in: Regenerate.
* intl/Makefile.am: Remove.
* intl/Makefile.in: Remove.
* intl: Remove.
* Makefile.am (SUBDIRS): Remove intl.
* po/Makefile.am (DISTFILES): Add string_literals.cc
(MSGFMT): Add.
* po/string_literals.cc: Add.
* po/POTFILES.in: Fix path.
* acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Don't call AM_GNU_GETTEXT.
* aclocal.m4: Regenerate.
* configure.in: Remove AC_OUTPUT of intl/Makefile.
* include/backward/backward_warning.h: Clarify message.
* testsuite_flags.in (--cxxflags): Use same debug flags for
library and testsuite.
* include/Makefile.am (c_compatibility): Remove.
* include/Makefile.in: Regenerate.
From-SVN: r44880
2001-08-14 01:24:30 +00:00
Mark Mitchell
9f3c078ea9
configure.in (LIMITS_INC_SRCDIR): New variable.
...
* configure.in (LIMITS_INC_SRCDIR): New variable.
* configure.target (LIMITSH): New variable.
* porting.texi: Discuss numeric limits.
* config/cpu/generic/bits/limits.h: New file.
* config/cpu/i386/bits/limits.h: New file.
* include/Makefile.am: Install bits/limits.h.
* include/bits/c++config: Include bits/limits.h.
From-SVN: r44877
2001-08-13 22:26:11 +00:00
Benjamin Kosnik
58b08ac3e1
acconfig.h (_GLIBCPP_MEM_LIMITS): Define.
...
2001-08-09 Benjamin Kosnik <bkoz@redhat.com>
* acconfig.h (_GLIBCPP_MEM_LIMITS): Define.
* config.h.in: Regenerate.
* acinclude.m4 (GLIBCPP_CHECK_SETRLIMIT): Check for setrlimit
function.
* aclocal.m4: Regenerate.
* configure.in: Remove duplicate AM_CONFIG_HEADER.
(AM_CONFIG_HEADER): Remove testsuite/testsuite_hooks.h.
Only call GLIBCPP_CHECK_SETRLIMIT for native compiles.
* configure: Regenerate.
* testsuite_hooks.h.in: Move to...
* testsuite_hooks.h: Here, include c++config.h. Use it.
* Makefile.am (SUBDIRS): Move testsuite to last directory.
* Makefile.in: Regenerate.
* po/Makefile.am (stamp-po): Add.
From-SVN: r44752
2001-08-10 06:50:34 +00:00
Benjamin Kosnik
33590f13b2
Implement std::messages.
...
2001-08-07 Benjamin Kosnik <bkoz@redhat.com>
Implement std::messages.
Make config a fully-nested directory.
* config/locale: New directory.
* config/c_locale_generic.cc: Move into locale subdirectory.
* config/c_locale_generic.h: Same.
* config/c_locale_gnu.cc: Same.
* config/c_locale_gnu.h: Same.
* config/c_locale_ieee_1003.1-200x.cc: Same.
* config/c_locale_ieee_1003.1-200x_.h: Same.
* config/codecvt_specializations_generic.h: Same.
* config/codecvt_specializations_ieee_1003.1-200x.h: Same.
* config/messages_members_gnu.h: Same.
* config/messaages_members_gnu.cc: Same.
* config/messages_members_generic.h: Same.
* config/messaages_members_generic.cc: Same.
* config/messages_members_ieee_1003.1-200x.h: Same.
* config/messaages_members_ieee_1003.1-200x.cc: Same.
* config/io: New directory.
* config/basic_file_libio.h: Move into io subdirectory.
* config/basic_file_libio.cc: Same.
* config/c_io_libio.h: Same.
* config/c_io_libio_codecvt.c: Same.
* config/basic_file_stdio.h: Same.
* config/basic_file_stdio.cc: Same.
* config/c_io_stdio.h: Same.
* po: New directory.
* po/POTFILES.in: New file.
* po/Makefile.am: New file.
* po/Makefile.in: New file.
* po/libstdc++.pot: Generic translation file.
* po/fr.po: Preliminary French translation.
* po/de.po: Preliminary German translation.
* intl: New directory.
* intl/Makefile.am: New file.
* intl/Makefile.in: New file.
* intl/string_literals.cc: New file.
* acinclude.m4 (GLIBCPP_CONFIGURE): Bump VERSION to 3.1.0. Add
requisite setup for gettext. Re-arrange.
* aclocal.m4: Regenerate.
* configure.in: Don't call GLIBCPP_CHECK_COMPILER_VERSION.
Output Makefile bits for po and intl.
* configure: Regenerate.
* Makefile.am (SUBDIRS): Add intl, po. Add rule for dist.
* Makefile.in: Regenerate.
* acconfig.h: Add ENABLE_NLS, HAVE_CATGETS, HAVE_GETTEXT, HAVE_STPCPY.
* config.h.in: Regenerate.
* acinclude.m4 (AC_REPLACE_STRINGFUNCS): Remove.
* include/Makefile.am (install-data-local): Don't install Makefile.
* include/Makefile.in: Regenerate.
* include/bits/locale_facet.h (locale::facet::_S_clone_c_locale):
Add member.
* config/locale/c_locale_gnu.cc (_S_clone_c_locale): Add definition.
* config/locale/c_locale_generic.cc: Same.
* config/locale/c_locale_ieee_1003.1-200x.cc: Same.
* include/bits/codecvt.h: Excise non-standard, non-required
bits. This includes __enc_traits, and partial specializations of
codecvt for __enc_traits.
* src/codecvt.cc (__enc_traits::_S_max_size): Guard
* config/codecvt_partials_ieee_1003.1-200x.h: New file.
* config/codecvt_partials_generic.h: New file.
* include/Makefile.am (allstamps): Add stamp-codecvt_model.
(stamp-codecvt_model): Add.
* include/Makefile.in: Regenerate.
* acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add in codecvt configury.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* testsuite/22_locale/codecvt_unicode_wchar_t.cc: Use macro guard.
* testsuite/22_locale/codecvt_unicode_char.cc: Same.
* testsuite/22_locale/ctor_copy_dtor.cc: And here.
* include/bits/localefwd.h (class locale::facet): Add __enc_traits
as a friend for _S_*_c_locale functions.
* include/bits/codecvt.h (__enc_traits::__enc_traits): Add locale
argument to default constructor so that CODESET information can be
deduced.
* include/bits/locale_facets.h (messages_byname):
Re-implement. Remove specializations.
* src/locale.cc (messages_byname<char>): Remove specialization.
(messages_byname<wchar_t>): Same.
* config/locale/c_locale_ieee_1003.1-200x.cc: New file.
* config/locale/c_locale_ieee_1003.1-200x.h: New file.
* config/locale/messages_members_ieee_1003.1-200x.cc: New file.
* config/locale/messages_members_ieee_1003.1-200x.h: New file.
* config/locale/messages_members_gnu.cc: New file.
* config/locale/messages_members_gnu.h: New file.
* config/locale/messages_members_generic.cc: New file.
* config/locale/messages_members_generic.h: New file.
* docs/html/configopts.html: Add documentation for new locale
model, ieee_1003.1. Adjust other flags for current defaults.
* docs/html/22_locale/locale.html: Update.
* docs/html/22_locale/howto.html: Add link to messages.html. Organize.
* docs/html/22_locale/messages.html: New.
* src/Makefile.am (sources): Add messages_virtuals.cc.
* src/Makefile.in: Regenerate.
* include/Makefile.am (allstamps): Add stamp-messages_model.
(stamp-messages_model): Add.
* include/Makefile.in: Regenerate.
* acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add in messages configury.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* testsuite_flags.in (--cxxflags): Add LOCALEDIR.
* testsuite/lib/libstdc++-v3-dg.exp: Remove broken LD_LIBRARY_PATH
bits for Irix.
* acinclude (GLIBCPP_ENABLE_CLOCALE): Set glibcpp_localedir to the
build directories message catalog base directory, and export.
Eventually this should probably be made to deal with build and
install directories. For now, punt on this as the library itself
doesn't use message catalogs (yet).
* testsuite/22_locale/messages.cc: New file.
* testsuite/22_locale/messages_char_members.cc: New file.
* testsuite/22_locale/messages_byname.cc: New file.
From-SVN: r44702
2001-08-08 02:49:01 +00:00
Stephen M. Webb
02d92e3b70
All occurrences of the __value_type() and __distance_type() functions...
...
2001-07-17 Stephen M. Webb <stephen@bregmasoft.com>r
All occurrences of the __value_type() and __distance_type()
functions, which were required to support the HP STL, have been
removed along with all the auxiliary forwarding functions that
were required to support their use.
The __iterator_category() function was pretty much left alone
because there was no benefit to removing it and its use made code
just a little more readable.
Incidences of distance() with nonstandard argument list were
replaced by calls to the standard function (only in the files
affected by the removal of the other HP functions).
The signature of the rotate() algorithm was changed to match the
standard.
Headers were reformatted under C++STYLE guidelines (indentation,
linebreaks, typename keyword).
* include/bits/stl_algo.h: replaced __value_type() and
__distance_type() with iterator_traits, eliminated auxiliary
support functions required to support said function usage.
Changed nonstandard distance() call to standard call.
* include/bits/stl_algobase.h: Same.
* include/bits/stl_heap.h: Same.
* include/bits/stl_numeric.h: Same.
* include/bits/stl_uninitialized.h: Same.
* include/bits/stl_iterator_base_types.h (__value_type()):
Removed.
(__distance_type()): Removed.
(value_type()): Gone.
(distance_type()): Done in.
(iterator_category()): Hasta la vista, baby.
* include/bits/stl_iterator_base_funcs.h (iterator_category()):
Replaced with __iterator_category().
* include/backward/iterator.h: moved definition of value_type(),
distance_type(), and iterator_category() out of std:: and into
here.
* testsuite/23_containers/vector_ctor.cc (test03): New testcases.
* testsuite/23_containers/vector_modifiers.cc (test03): New testcases.
* testsuite/25_algorithms/rotate.cc: New testcase.
* testsuite/25_algorithms/copy.cc: New testcase.
* testsuite/25_algorithms/sort.cc: Same.
* testsuite/25_algorithms/heap.cc: Same.
* testsuite/25_algorithms/partition.cc: Same.
* testsuite/25_algorithms/binary_search.cc: Same.
* testsuite/26_numerics/sum_diff.cc: Ditto.
From-SVN: r44117
2001-07-18 17:09:02 +00:00
Stephen M. Webb
4a9d51090a
Makefile.am: New file encapsulating header generation rules.
...
2001-07-13 Stephen M. Webb <stephen@bregmasoft.com>
Loren J. Rittle <ljrittle@acm.org>
Phil Edwards <pme@sources.redhat.com>
* include/Makefile.am: New file encapsulating header generation rules.
* Makefile.am (SUBDIRS): Prepend 'include' directory.
* acinclude.m4: Moved/removed rules for building various headers.
* configure.in (AC_OUTPUT): Add include/Makefile.
* mkc++config: Removed.
* testsuite_flags.in: Changed build-includes to match new scheme.
* mknumeric_limits: Likewise.
* libio/Makefile.am: Changed INCLUDES to maatch new header scheme.
* libmath/Makefile.am: Likewise.
* libsupc++/Makefile.am: Likewise.
* src/Makefile.am: Likewise; removed rules to build headers.
* libmath/mathconf.h: Changed #include'd header names to match.
* libmath/stubs.c: Likewise.
* src/gen-num-limits.cc: Likewise.
* configure: Regenerated.
* config.h.in: Regenerated.
* aclocal.m4: Regenerated.
* Makefile.in: Regenerated.
* include/Makefile.in: Regenerated.
* libio/Makefile.in: Regenerated.
* libmath/Makefile.in: Regenerated.
* libsupc++/Makefile.in: Regenerated.
* src/Makefile.in: Regenerated.
* testsuite/Makefile.in: Regenerated.
Co-Authored-By: Loren J. Rittle <ljrittle@acm.org>
Co-Authored-By: Phil Edwards <pme@gcc.gnu.org>
From-SVN: r43985
2001-07-13 16:47:56 +00:00
Benjamin Kosnik
d27bba5e57
sbuf_iter.h: Change to..
...
2001-06-26 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/sbuf_iter.h: Change to..
* include/bits/streambuf_iterator.h: This.
* include/bits/stl_iterator.h: Take out of here...
* include/bits/stream_iterator.h: Add.
* src/Makefile.am (base_headers): Add streambuf_iterator,
stream_iterator.h
* src/Makefile.in: Regenerate.
* include/bits/std_string.h: Adjust includes.
* include/bits/basic_ios.h: Same.
* include/bits/locale_facets.tcc: Same.
* include/bits/std_iosfwd.h: Same.
* include/bits/std_iterator.h: Add istream, ostream includes.
* include/bits/stl_iterator.h: Tweak.
* testsuite/24_iterators/ostream_iterator.cc: Add test.
* testsuite/24_iterators/istream_iterator.cc: Same.
* testsuite/23_containers/multiset.cc: Add iterator include.
From-SVN: r43592
2001-06-26 21:22:57 +00:00
Phil Edwards
e4bf60773b
re PR libstdc++/3377 (missing std::__cmath_power<double>(double,unsigned))
...
2001-06-25 Phil Edwards <pme@sources.redhat.com>
Kurt Garloff <garloff@suse.de>
PR libstdc++/3377
* src/cmath.cc: New [version of an old] file; instantiate
__cmath_power to start with.
* src/Makefile.am (sources): Add cmath.cc (and alphabetize).
* Makefile.in: Regenerate.
* libio/Makefile.in: Regenerate.
* libmath/Makefile.in: Regenerate.
* libsupc++/Makefile.in: Regenerate.
* src/Makefile.in: Regenerate.
* testsuite/Makefile.in: Regenerate.
Co-Authored-By: Kurt Garloff <garloff@suse.de>
From-SVN: r43559
2001-06-25 20:57:51 +00:00
Benjamin Kosnik
c6192d882f
Switch over to new harness.
...
2001-05-13 Benjamin Kosnik <bkoz@redhat.com>
Switch over to new harness.
* testsuite_flags.in: Tweaks via Gaby.
* testsuite/Makefile.am: Change tool to libstdc++-v3.
(EXPECT): Quote directly.
(RUNTEST): Same.
* configure.in: Output testsuite_flags.
* acinclude.m4: Substitute src, bld, and prefix dirs.
Remove glibcpp_expect, glibcpp_runtestflags.
* Makefile.am (RUNTESTFLAGS): Pass this down to subdirs.
* mkcheck.in: Port to new interface.
* aclocal.m4: Regerate.
* configure: Regnerate.
* Makefile.in: Regnerate.
* */Makefile.in: Regenerate.
* tests_flags.in: Remove.
* testsuite/lib/libstdc++.exp: Remove.
* testsuite/libstdc++.tests/tests.exp: Remove.
From-SVN: r42055
2001-05-14 01:15:36 +00:00
Alexandre Oliva
f8e4b51d36
configure.in (LIBSUPCXX_PICFLAGS): Set it to -prefer-pic or -prefer-non-pic depending on whether libtool has...
...
* configure.in (LIBSUPCXX_PICFLAGS): Set it to -prefer-pic or
-prefer-non-pic depending on whether libtool has shared libraries
enabled or disabled.
* libsupc++/Makefile.am (LIBSUPCXX_CXXFLAGS): Set to
$(LIBSUPCXX_PICFLAGS).
* configure, */Makefile.in: Rebuilt.
From-SVN: r41806
2001-05-03 20:35:18 +00:00
Benjamin Kosnik
7cda84dc70
acconfig.h (_GLIBCPP_USE_C99): Add.
...
2001-04-19 Benjamin Kosnik <bkoz@redhat.com>
* acconfig.h (_GLIBCPP_USE_C99): Add.
* config.h.in: Regenerate.
* acinclude.m4 (GLIBCPP_ENABLE_C99): New macro. Test for ISO/IEC
9899: 1999 support.
* aclocal.m4: Regenerate.
* configure.in (GLIBCPP_ENABLE_C99): Use it, on by default.
* configure: Regenerate.
* configure.in (GLIBCPP_ENABLE_LONG_LONG): Set default to yes.
* configure: Regenerate.
* include/c_std/bits/std_cwchar.h: Put wcstold, wcstoll, wcstoull
into c99.
* include/c_std/bits/std_cmath.h: Bring C99 functions into c99
namespace.
* include/c_std/bits/std_cstdlib.h: Same.
* docs/html/configopts.html: Update.
* testsuite/26_numerics/c99_macros.cc: Edit, use cmath instead of
math.h
(test_c99_classify): Add.
* config/os/gnu-linux/bits/os_defines.h (_GNU_SOURCE): Remove.
(_ISOC99_SOURCE): Remove.
* include/bits/stl_algo.h: Use _GLIBCPP_HAVE_DRAND48.
* include/bits/c++config (__STL_ASSERTIONS): Simplify.
* acinclude.m4 (GLIBCPP_CHECK_STDLIB_SUPPORT): Add check for drand48.
* aclocal.m4: Regenerate.
* configure: Regenerate.
From-SVN: r41451
2001-04-20 08:59:25 +00:00
Phil Edwards
7145b85567
Makefile.am (doxygen): Assume script is missing execute perms.
...
2001-04-19 Phil Edwards <pme@sources.redhat.com>
* Makefile.am (doxygen): Assume script is missing execute perms.
* Makefile.in: Regenerated.
* docs/doxygen/user.cfg.in: Add class diagrams and source browsing.
From-SVN: r41432
2001-04-19 23:07:18 +00:00
Benjamin Kosnik
46840bcd52
acinclude.m4: AC_CHECK_TOOL for expect.
...
2001-04-11 Benjamin Kosnik <bkoz@redhat.com>
* acinclude.m4: AC_CHECK_TOOL for expect.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* testsuite/Makefile.am (RUNTEST): Use substituted.
(EXPECT): Same.
* configure.in: Remove xcompiling substitution.
* tests_flags.in (CROSS_LIB_PATH): Remove.
(xcompiling): Remove.
(CXX): Use substituted CXX.
From-SVN: r41262
2001-04-11 18:52:31 +00:00
Benjamin Kosnik
baac9fce7d
Warn when using backward headers.
...
2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
Warn when using backward headers.
* include/backward/algo.h: Include warning file.
* include/backward/vector.h: Same.
* include/backward/tree.h: Same.
* include/backward/tempbuf.h: Same.
* include/backward/strstream: Same.
* include/backward/streambuf.h: Same.
* include/backward/stream.h: Same.
* include/backward/stack.h: Same.
* include/backward/slist.h: Same.
* include/backward/set.h: Same.
* include/backward/rope.h:
* include/backward/queue.h: Same.
* include/backward/pair.h: Same.
* include/backward/ostream.h: Same.
* include/backward/new.h: Same.
* include/backward/multiset.h: Same.
* include/backward/multimap.h: Same.
* include/backward/map.h: Same.
* include/backward/list.h: Same.
* include/backward/iterator.h: Same.
* include/backward/istream.h: Same.
* include/backward/iostream.h:
* include/backward/iomanip.h:
* include/backward/heap.h: Same.
* include/backward/hashtable.h:
* include/backward/hash_set.h:
* include/backward/hash_map.h:
* include/backward/function.h:
* include/backward/fstream.h:
* include/backward/deque.h:
* include/backward/defalloc.h: Same.
* include/backward/complex.h: Same.
* include/backward/bvector.h:
* include/backward/alloc.h:
* include/backward/algobase.h: Same.
* include/backward/backward_warning.h: New file.
* src/Makefile.am (backward_headers): Add backward_warning.h
* src/Makefile.in: Regenerate.
2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
* src/Makefile.am (myinstalldirs): Make sure backward directory is
created.
(myinstallheaders): Install backward headers in backward directory.
* src/Makefile.in: Regenerate.
From-SVN: r41139
2001-04-06 06:08:17 +00:00
Phil Edwards
30a20a1ee0
New concept checking implementation.
...
2001-04-02 Phil Edwards <pme@sources.redhat.com>
New concept checking implementation.
* docs/html/19_diagnostics/howto.html: Document.
* docs/html/17_intro/concept_check.diff: New file, for reference.
* include/bits/boost_concept_check.h: New file from Boost.
* include/bits/c++config: Update comments.
* include/bits/concept_check.h: New file.
* include/bits/concept_checks.h: Removed.
* include/bits/container_concepts.h: Removed.
* include/bits/sequence_concepts.h: Removed.
* include/bits/stl_iterator_base.h: Removed; split into...
* include/bits/stl_iterator_base_funcs.h: ...this new file...
* include/bits/stl_iterator_base_types.h: ...and this new file.
* include/bits/sbuf_iter.h: Update to use new implementation.
* include/bits/std_iterator.h: Likewise.
* include/bits/std_memory.h: Likewise.
* include/bits/stl_algo.h: Likewise.
* include/bits/stl_algobase.h: Likewise.
* include/bits/stl_construct.h: Likewise.
* include/bits/stl_deque.h: Likewise.
* include/bits/stl_heap.h: Likewise.
* include/bits/stl_list.h: Likewise.
* include/bits/stl_map.h: Likewise.
* include/bits/stl_multimap.h: Likewise.
* include/bits/stl_multiset.h: Likewise.
* include/bits/stl_numeric.h: Likewise.
* include/bits/stl_queue.h: Likewise.
* include/bits/stl_set.h: Likewise.
* include/bits/stl_stack.h: Likewise.
* include/bits/stl_uninitialized.h: Likewise.
* include/bits/stl_vector.h: Likewise.
* include/ext/hash_map: Likewise.
* include/ext/hash_set: Likewise.
* include/ext/slist: Likewise.
* include/ext/stl_hashtable.h: Likewise.
* src/Makefile.am (base_headers): Update list of headers.
* Makefile.in: Regenerated.
* src/Makefile.in: Regenerated.
* libio/Makefile.in: Regenerated.
* libmath/Makefile.in: Regenerated.
* libsupc++/Makefile.in: Regenerated.
* testsuite/Makefile.in: Regenerated.
* docs/html/install.html: Update contact information.
* docs/html/17_intro/howto.html: Ditto.
* docs/html/18_support/howto.html: Ditto.
* docs/html/20_util/howto.html: Ditto.
* docs/html/21_strings/howto.html: Ditto.
* docs/html/22_locale/howto.html: Ditto.
* docs/html/23_containers/howto.html: Ditto.
* docs/html/24_iterators/howto.html: Ditto.
* docs/html/25_algorithms/howto.html: Ditto.
* docs/html/26_numerics/howto.html: Ditto.
* docs/html/27_io/howto.html: Ditto.
* docs/html/faq/index.html: Ditto, plus info on new checking code.
* docs/html/ext/howto.html: Ditto, plus info on new checking code.
* docs/html/faq/index.txt: Regenerated.
From-SVN: r41031
2001-04-03 00:26:58 +00:00
Benjamin Kosnik
755f30f40c
[multiple changes]
...
2001-03-28 Benjamin Kosnik <bkoz@redhat.com>
* mkcheck.in (LIBTOOL): Don't construct -B argument here...
* tests_flags.in (CXX): Construct here.
(static_fail): Don't remove compile.out. Format with spaces.
(INCLUDES): Deal with xcompiling.
* configure.in (xcompiling): Substitute.
* testsuite/Makefile.am: Snake libjava configury.
* testsuite/Makefile.in: Regenerate.
* testsuite/23_containers/map_operators.cc: Tweaks.
* testsuite/23_containers/set_operators.cc: Tweaks.
2001-03-28 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
Enable dejagnu testing framework.
* configure.in: Generate testsuite/Makefile.
* configure: Regenerate.
* Makefile.am (check-install): Change rule from this...
(check-script-install): ...to this.
(check): Change rule from this...
(check-script):...to this.
* Makefile.in: Regenerate.
From-SVN: r40960
2001-03-30 08:14:15 +00:00
Richard Henderson
52a11cbfcf
IA-64 ABI Exception Handling.
...
From-SVN: r40924
2001-03-28 03:04:51 -08:00
Phil Edwards
e03f70b3a3
Makefile.am: New targets, doxygen and doxygen-maint.
...
2001-03-24 Phil Edwards <pme@sources.redhat.com>
* Makefile.am: New targets, doxygen and doxygen-maint.
* Makefile.in: Regenerated.
* docs/doxygen/run_doxygen: Finally implemented.
* docs/doxygen/maint.cfg.in: New file.
* docs/doxygen/user.cfg.in: New file.
From-SVN: r40823
2001-03-25 02:28:07 +00:00
Phil Edwards
c21b6f8706
acinclude.m4 (GLIBCPP_CHECK_COMPILER_FEATURES): Update comment.
...
2001-03-24 Phil Edwards <pme@sources.redhat.com>
* acinclude.m4 (GLIBCPP_CHECK_COMPILER_FEATURES): Update comment.
* src/Makefile.am: Replace leading spaces with tabs on continuation
lines.
* aclocal.m4: Regenerated.
* configure: Ditto.
* Makefile.in: Ditto.
* src/Makefile.in: Ditto.
* libio/Makefile.in: Ditto.
* libmath/Makefile.in: Ditto.
* libsupc++/Makefile.in: Ditto.
From-SVN: r40822
2001-03-25 00:16:58 +00:00
Benjamin Kosnik
4cacbdf21f
[multiple changes]
...
2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
* 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.
From-SVN: r40192
2001-03-02 21:38:26 +00:00
Benjamin Kosnik
e08838ac57
c++config (__GLIBCPP__): Bump number in anticipation of 2.92.
...
2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
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.
From-SVN: r40140
2001-03-01 00:37:18 +00:00
Phil Edwards
5e3cbe0b4b
acinclude.m4 (GLIBCPP_CONFIGURE): Remove GLIBCPP_CFLAGS and GLIBCPP_CXXFLAGS as unused variables.
...
2001-02-28 Phil Edwards <pme@sources.redhat.com>
* 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.
From-SVN: r40135
2001-02-28 18:42:47 +00:00
Benjamin Kosnik
c0a26060f6
basic_file.h: Include basic_file_model.h.
...
2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
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.
From-SVN: r40108
2001-02-28 03:20:36 +00:00
Phil Edwards
6a163d7cae
acinclude.m4 (GLIBCPP_CONFIGURE): Update required compiler version.
...
2001-02-26 Phil Edwards <pme@sources.redhat.com>
* 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.
From-SVN: r40075
2001-02-26 21:48:01 +00:00
Phil Edwards
9cfeea6e4e
stl_config.h: Remove file.
...
2001-02-20 Phil Edwards <pme@sources.redhat.com>
* 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.
From-SVN: r39931
2001-02-20 20:20:48 +00:00
Benjamin Kosnik
72ed283692
acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Deal with library install locations too.
...
2001-02-06 Benjamin Kosnik <bkoz@fillmore.constant.com>
* 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.
From-SVN: r39508
2001-02-07 01:54:21 +00:00
Benjamin Kosnik
43ba4a5894
acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): New macro.
...
2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
* 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.
From-SVN: r39479
2001-02-06 06:32:01 +00:00
Benjamin Kosnik
ae9dc93157
Makefile.am (mkinstalldirs): Set.
...
2001-02-03 Alexandre Oliva <aoliva@redhat.com>
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.
From-SVN: r39430
2001-02-03 09:01:44 +00:00
Alexandre Oliva
e2c20faebf
configure.in (toplevel_srcdir, auxdir): Set.
...
* configure.in (toplevel_srcdir, auxdir): Set.
* 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.
From-SVN: r39395
2001-02-01 21:08:05 +00:00
Gabriel Dos Reis
db353c2c69
*.cc: Remove explicit reference to 'testsuite/' in testcases.
...
* testsuite/27_io/*.cc: Remove explicit reference to 'testsuite/'
in testcases. Prepare for the DejaGnu based framework.
* mkcheck.in: Adjust call to tests_flags. Don't mmkdir testsuite
directory -- it is now mkcheck working directory.
* tests_flags.in: Remove reference to $(top_srcdir). Use
${SRC_DIR} instead.
* Makefile.am (check, check-install): Change mkcheck invocation
logic.
* Makefile.in: Regenerate.
From-SVN: r39255
2001-01-25 04:09:22 +00:00
Benjamin Kosnik
a40ba78e55
Makefile.am (CSTD_INCLUDES): Change from CSHADOW_INCLUDES.
...
2000-12-23 Benjamin Kosnik <bkoz@redhat.com>
* 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
From-SVN: r38477
2000-12-23 07:13:57 +00:00
Gabriel Dos Reis
1228c7b6bd
Makefile.am (sources): Remove complex.cc, complexf.cc and complexl.cc from list.
...
* src/Makefile.am (sources): Remove complex.cc, complexf.cc and
complexl.cc from list.
* src/Makefile.in: Regenerate.
* src/complex.cc: Remove.
* src/complexf.cc: Likewise.
* src/complexl.cc: Likewise.
* libmath/Makefile.am (EXTRA_LONG_DOUBLE_yes): Remove csqrtl.c
(EXTRA_DIST): Remove csqrt.c and csqrtf.c.
* libmath/Makefile.in: Regenerate.
* libmath/complex-stub.h: Remove.
* libmath/csqrt.c: Likewise.
* libmath/sqrtf.c: Likewise.
* libmath/sqrtl.c: Likewise.
* libmath/mathconf.h: Remove <complex.h> and "complex-stub.h"
#inclusion.
* include/bits/std_complex.h (sqrt<>): Define primary template.
(complex<>): Remove sqrt friend declarations.
* configure.in: Initialize with src/ios.cc.
* configure: Regenerate.
* acinclude.m4: Remove check for csqrt* and <complex.h>
* aclocal.m4: Regenerate.
* config.h.in: Regenerate.
* Makefile.in: Regenerate.
From-SVN: r38409
2000-12-21 01:28:58 +00:00
Phil Edwards
4c07386b32
acinclude.m4 (SECTION_FLAGS, [...]): Fix minor thinko.
...
2000-12-20 Phil Edwards <pme@sources.redhat.com>
* 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.
From-SVN: r38406
2000-12-20 21:37:57 +00:00
Benjamin Kosnik
6e138b89b7
[multiple changes]
...
2000-12-18 Benjamin Kosnik <bkoz@redhat.com>
* 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.
From-SVN: r38354
2000-12-18 18:03:08 +00:00
Benjamin Kosnik
eebc608e3b
[multiple changes]
...
2000-12-12 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
* 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.
From-SVN: r38217
2000-12-13 09:25:44 +00:00
Phil Edwards
f84ef7fb01
acinclude.m4 (GLIBCPP_CHECK_*_DECL_AND_LINKAGE_*): Pre-test whether the cached result is present.
...
2000-12-06 Phil Edwards <pme@sources.redhat.com>
* 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.
From-SVN: r38079
2000-12-06 21:44:50 +00:00
Benjamin Kosnik
44382959be
acinclude.m4: Only sanity check for compiler version when configuring.
...
2000-11-26 Benjamin Kosnik <bkoz@redhat.com>
* acinclude.m4: Only sanity check for compiler version when
configuring. More fixes for 'make clean'.
* aclocal.m4: Regenerate.
* configure: Regenerate.
From-SVN: r37768
2000-11-27 00:05:39 +00:00
Gabriel Dos Reis
97c66a5018
Makefile.am (EXTRA_LONG_DOUBLE_yes): Remove cabsl.c
...
* libmath/Makefile.am (EXTRA_LONG_DOUBLE_yes): Remove cabsl.c
* libmath/Makefile.in: Regenerate.
* libmath/cabs.c: Remove.
* libmath/cabsf.c: Likewise.
* libmath/cabsl.c: Likewise.
* libmath/complex-stub.h: Remove declarations for cabs*.
* acinclude.m4: Remove check for cabs*.
* aclocal.m4: Regenerate.
* Makefile.in: Regenerate.
From-SVN: r37758
2000-11-26 15:16:32 +00:00
Benjamin Kosnik
819004bbd0
acinclude.m4 (AC_LC_MESSAGES): Check for locale.h.
...
2000-11-21 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
* acinclude.m4 (AC_LC_MESSAGES): Check for locale.h.
* aclocal.m4: Regenerate.
* configure: Renerate.
From-SVN: r37626
2000-11-21 20:53:36 +00:00
Phil Edwards
6414587c8b
acinclude.m4 (GLIBCPP_ENABLE_ATOMICITY): Move switch statement contents to...
...
2000-11-17 Phil Edwards <pme@sources.redhat.com>
* 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.
From-SVN: r37524
2000-11-17 20:35:06 +00:00
Mark Mitchell
e26cb7aba1
acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Make --enable-cstdio=stdio the default.
...
* acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Make
--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.
From-SVN: r37509
2000-11-17 01:04:02 +00:00
Mark Mitchell
c4d3f801a6
acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Substitute libio_la.
...
* acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Substitute libio_la.
* 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.
From-SVN: r37491
2000-11-16 01:44:03 +00:00
Benjamin Kosnik
5b20f7a054
acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPOR): Set LIBS back to initial value.
...
2000-11-14 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
* 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.
From-SVN: r37457
2000-11-14 17:23:49 +00:00
Phil Edwards
d0941a315e
acinclude.m4 (GLIBCPP_CHECK_TARGET): New macro...
...
2000-11-13 Phil Edwards <pme@sources.redhat.com>
* 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.
From-SVN: r37443
2000-11-13 23:49:41 +00:00
Brent Verner
51d61f8686
wrap_langinfo.h: New file.
...
2000-11-12 Brent Verner <brent@rcfile.org>
* 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.
From-SVN: r37437
2000-11-13 21:04:54 +00:00
Alexandre Oliva
de9aefe0ea
acinclude.m4 (CXX): Prevent it from being cached.
...
* acinclude.m4 (CXX): Prevent it from being cached.
* aclocal.m4, configure, */Makefile.in: Rebuilt.
From-SVN: r37245
2000-11-04 07:07:38 +00:00
Phil Edwards
626d8f0a2c
[multiple changes]
...
2000-11-03 David Edelsohn <dje@watson.ibm.com>
* 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.
From-SVN: r37241
2000-11-04 03:00:12 +00:00
Mark Mitchell
5a0b0c7abf
* acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Fix typo.
...
From-SVN: r37219
2000-11-03 05:15:35 +00:00
Mark Mitchell
dbf5ba31a8
acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Add support for IRIX.
...
* acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Add support for IRIX.
* 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.
From-SVN: r37215
2000-11-03 02:25:00 +00:00
Benjamin Kosnik
9717c75cf1
basic_file.h (_M_open_mode): Change signature, move specializations to..
...
2000-11-01 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
* 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.
From-SVN: r37195
2000-11-01 21:38:32 +00:00
Phil Edwards
34791641f6
acinclude.m4 (GLIBCPP_ENABLE_DEBUG): Raise debugging level from the default of 2 to 3.
...
2000-10-30 Phil Edwards <pme@sources.redhat.com>
* 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.
From-SVN: r37151
2000-10-31 01:56:19 +00:00
Benjamin Kosnik
e7140677cc
[multiple changes]
...
2000-10-26 Benjamin Kosnik <bkoz@redhat.com>
* include/c/bits/std_cmath.h: Fix double declarations in namespace std.
Clean up naming, consistency in "C" library autoconf testing.
* acinclude.m4 (GLIBCPP_CHECK_CTYPE): For consistency, change to
GLIBCPP_CHECK_CTYPE_SUPPORT.
(GLIBCPP_CHECK_STDLIB_SUPPORT): Add.
* aclocal.m4: Regenerate.
* configure.in: And here.
Add call to GLIBCPP_CHECK_STDLIB_SUPPORT.
* configure: Regenerate.
2000-10-26 David Edelsohn <edelsohn@gnu.org>
* acinclude.m4 (GLIBCPP_CHECK_STDLIB_DECL_AND_LINKAGE_2): New macro.
(GLIBCPP_CHECK_MATH_SUPPORT): Use it to test for strtold.
From-SVN: r37083
2000-10-27 12:31:37 +00:00
Mark Mitchell
be5aeb60d6
Makefile.in (site.exp): Define HAVE_LIBSTDCXX_V3.
...
* Makefile.in (site.exp): Define HAVE_LIBSTDCXX_V3.
* configure.in (enable-libstdcxx-v3): Arrange to have
HAVE_LIBSTDCXX_V3 substituted into the output files.
* lib/g++.exp (g++_include_flags): Trust HAVE_LIBSTDCXX_V3
to tell us whether or not we are using V3.
* Makefile.in (check): Don't make mkcheck executable.
(check-install): Likewise.
* configure.in (AC_OUTPUT): Make mkcheck executable.
* mkcheck.in (top_srcdir): New variable.
(INC_PATH): Set the path to the backward and ext directories
correctly.
From-SVN: r37068
2000-10-26 07:28:25 +00:00
Benjamin Kosnik
a911742751
via Alexandre Oliva <aoliva@redhat.com>
...
2000-10-17 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
via Alexandre Oliva <aoliva@redhat.com>
* libsupc++/Makefile.am: Add --tag CXX, --tag CC, comments.
* libsupc++/Makefile.in: Regenerate.
* src/Makefile.am: Duplicate code.
* src/Makefile.in: Regenerate.
* acinclude.m4 (GLIBCPP_ENABLE_RELIBGCC): Take this out.
* aclocal.m4: Regenerate.
* configure.in: And here.
* configure: Regenerate.
* acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Disable
test for SECTION_LDFLAGS.
From-SVN: r36902
2000-10-17 10:12:23 +00:00
Benjamin Kosnik
1fd2f51018
Makefile.am (toolexeclibdir): Add support fo VERSION_SPECIFIC_LIBS and --with-gxx-include-dir.
...
2000-10-13 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
Mark Harig <markh@landmark.com>
* src/Makefile.am (toolexeclibdir): Add support fo
VERSION_SPECIFIC_LIBS and --with-gxx-include-dir.
* src/Makefile.in: Regenerate.
* libsupc++/Makefile.am: Same.
(glibcppinstalldir): Adjust.
* libsupc++/Makefile.in: Regenerate.
* Makefile.am: Remove gxx_include_dir. Remove INCLUDE.
* Makefile.in: Regenerate.
* docs/configopts.html: Add descriptions of flags.
Co-Authored-By: Mark Harig <markh@landmark.com>
From-SVN: r36872
2000-10-15 08:45:33 +00:00
Benjamin Kosnik
e466dc8a4a
Makefile.am: Use it.
...
2000-10-11 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
* libsupc++/Makefile.am: Use it.
* libio/Makefile.am: Use it.
* libmath/Makefile.am: Use it.
* src/Makefile.am: Use it.
* Makefile.am (AM_MAKEFLAGS): Remove includes.
* acinclude.m4 (GLIBCPP_EXPORT_INCLUES): Move include macros here.
(GLIBCPP_EXPORT_FLAGS): Move CXX flag setting here.
* configure.in: Use it.
* mkcheck.in (SRC_DIR): Use C_INCLUDE_DIR.
From-SVN: r36847
2000-10-12 11:45:23 +00:00
Benjamin Kosnik
a6863e2538
Makefile.am (LIBSUPCXX_INCLUDES): Adjust.
...
2000-10-10 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
* Makefile.am (LIBSUPCXX_INCLUDES): Adjust.
* libsupc++/include: Remove
* libsupc++/include/*: Move to ...
* libsupc++: Here.
* libsupc++/Makefile.am (glibcppinstall_HEADERS): Install headers.
(glibcppinstalldir): New.
* src/Makefile.am (c_base_headers): New.
(c_shadow_headers): New
(c_headers): New.
(myinstallheaders): Correct install issues.
* src/Makefile.in: Regenerate.
* Makefile.am (CSHADOW_INCLUDES): Simplify.
* Makefile.in: Regenerate.
* acinclude.m4 (GLIBCPP_ENABLE_SHADOW): Add c_include_dir.
* aclocal.m4: Regenerate.
* mkcheck.in (SRC_DIR): Use it.
* include/bits/std_stdexcept.h: And here.
* include/bits/std_ios.h: Change std_exception.h to exception.
* src/locale.cc: And here.
* src/locale-inst.cc: And here.
* include/bits/valarray_array.h: And here.
* include/bits/stl_alloc.h: And here.
* include/bits/stl_algobase.h: And here.
* include/bits/pthread_allocimpl.h: And here.
* include/bits/stl_construct.h: Change to std_new.h to new.
* include/bits/locale_facets.h: Change std_typeinfo.h to typeinfo.
* src/Makefile.am (INCLUDES): Add LIBSUPCXX_INCLUDES.
(headers): Remove duplicated headers.
(std_headers): And here.
* src/Makefile.in: Regenerate.
* libsupc++/Makefile.am (LIBSUPCXX_INCLUDES): Remove.
* libsupc++/Makefile.in: Regenerate.
* Makefile.am (LIBSUPCXX_INCLUDES): Add here.
(AM_MAKEFLAGS): And here.
* Makefile.in: Regenerate.
* include/bits/std_typeinfo.h: Remove.
* include/bits/std_new.h: Remove
* include/bits/std_exception.h: Remove.
* std/new: Remove.
* std/typeinfo: Remove.
* std/exception: Remove.
* libio/_G_config.h (__need_ptrdiff_t): Add.
* libsupc++/include/new: Change stddef.h to cstddef.
* libsupc++/tinfo.h: Change limits.h to climits.
* libsupc++/pure.cc: Comment out _GNU_LIBRARY_ bits, as this
renders the file uncompilable. Add copyright.
* include/c_std/bits/std_cstddef.h: Don't bring wchar_t into std
namespace, as it is a fundamental type.
From-SVN: r36833
2000-10-10 23:50:39 +00:00
Benjamin Kosnik
0b8e0cf35e
configopts.html: Edit.
...
2000-10-10 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
* docs/configopts.html: Edit.
* libio/Makefile.am (INCLUDES): Remove duplicates, simplify.
* libio/Makefile.in: Regenerate.
* libmath/Makefile.am (INCLUDES): Remove duplicates, simplify.
* libmath/Makefile.in: Regenerate.
* libsupc++/Makefile.am (INCLUDES): Remove duplicate.
* libsupc++/Makefile.in: Regenerate.
* Makefile.am (AM_MAKEFLAGS): Add GLIBCPP_INCLUDES,
TOPLEVEL_INCLUDES, LIBMATH_INCLUDES, LIBIO_INCLUDES,
CSHADOW_INCLUDES up here.
* Makefile.in: Regenerate.
* src/Makefile.am (CSHADOW_INCLUDES): Add include/c_std, include/c
for shadow headers.
(myinstallheaders): Change glibcpp_includedir to GLIBCPP_INCLUDES.
Move GLIBCPP_INCLUDES, TOPLEVEL_INCLUDES, LIBMATH_INCLUDES,
LIBIO_INCLUDES, CSHADOW_INCLUDES up Makefile hierarchy.
* src/Makefile.in: Regenerate.
* include/c: New directory.
* include/c/bits/(std_cassert.h, std_cctype.h, std_cerrno.h,
std_cfloat.h, std_climits.h, std_clocale.h, std_cmath.h,
std_csetjmp.h, std_csignal.h, std_cstdarg.h, std_cstddef.h,
std_cstdio.h, std_cstdlib.h, std_cstring.h, std_ctime.h,
std_cwchar.h, std_cwctype.h): Add, moving from...
* include/bits: ...here.
* include/c_std: New directory.
* include/c_std/bits/*: Populate from...
* shadow: ...here. Remove directory.
From-SVN: r36805
2000-10-09 08:55:06 +00:00
Benjamin Kosnik
e974e9cc80
[multiple changes]
...
2000-10-07 David Edelsohn <dje@watson.ibm.com>
* config/os/aix/bits/atomicity.h: New file.
2000-10-07 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
* acinclude.m4: Remove CPU_FLAGS
* libio/Makefile.am: Here too.
* Makefile.am: Here too.
* src/Makefile.am (CONFIG_INCLUDES): Remove.
(INCLUDES): Remove CONFIG_INCLUDES.
(cpu_headers): Remove.
(myinstallheaders): Remove cpu_headers.
(generated_headers): Rename to build_headers.
(build_headers): Add atomicity.h, ctype_base.h,
ctype_specializations.h.
* config/os: New directory.
* config/aix: Move to...
* config/bsd: Move to...
* config/generic: Move to...
* config/gnu-linux: Move to...
* config/irix: Move to...
* config/newlib: Move to...
* config/solaris: Move to...
* config/os/*: Here.
From-SVN: r36778
2000-10-07 18:54:08 +00:00
Benjamin Kosnik
c7053b704d
Makefile.am: Remove OPTIMIZE_CXXFLAGS, WARN_CXXFLAGS, CONFIG_CXXFLAGS from here, and move to...
...
2000-10-06 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
* src/Makefile.am: Remove OPTIMIZE_CXXFLAGS, WARN_CXXFLAGS,
CONFIG_CXXFLAGS from here, and move to...
* src/Makefile.in: Regenerate.
* Makefile.am: ... here. Clean.
(OPTIMIZE_CXXFLAGS): Move up Makefile hierarchy to here.
(WARN_CXXFLAGS): Same.
(CONFIG_CXXFLAGS): Same.
* Makefile.in: Regenerate.
* libsupc++/Makefile.am: Use top-level OPTIMIZE_CXXFLAGS,
WARN_CXXFLAGS, CONFIG_CXXFLAGS as part of local AM_CXXFLAGS.
* libsupc++/Makefile.in: Regenerate.
Change math to libmath.
* math: Move to libmath, delete.
* libmath: New directory.
* libmath/*: Populate.
* src/Makefile.am (LIBMATH_INCLUDES): Change to libmath.
(libstdc___la_LIBADD): Same.
* src/Makefile.in: Regenerate.
* configure.in: Add AC_OUTPUT for libmath/Makefile.
* configure: Regenerate.
* Makefile.am (SUBDIRS): Add libmath.
* Makefile.in: Regenerate.
* README (file): Change name.
From-SVN: r36767
2000-10-07 01:05:37 +00:00
Benjamin Kosnik
06bd10fb63
libsupc++: New directory.
...
2000-10-06 Benjamin Kosnik <bkoz@cygnus.com>
Richard Henderson <rth@cygnus.com>
Alexandre Oliva <aoliva@redhat.com>
* libsupc++: New directory.
* libsupc++/*: Populate.
* libsupc++/Makefile.am (INCLUDES): Add -I../../gcc for
eh-common.h, gansidecl.h.
* configure.in: Add in libsupc++/Makefile to AC_OUTPUT.
* configure: Regenerate.
* Makefile.am (SUBDIRS): Add libsupc++.
* Makefile.in: Regenerate.
* src/Makefile.am (libstdc___la_LIBADD): Add in libsupc++.la
* src/Makefile.in: Regenerate.
* libio/Makefile.am: Remove extraneous, confusing bits.
* libio/Makefile.in: Regeneate.
From-SVN: r36763
2000-10-06 23:31:22 +00:00
Benjamin Kosnik
f133a43eab
acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Force glibc_satisfactory to no...
...
2000-09-06 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
* acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Force glibc_satisfactory
to no, so that libstdc++-v3's libio will be built on glibc-2.2
systems.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* */Makefile.in: Regenerate.
* bits/std_cwctype.h: Put in temporary hack to work around -O2 +
glibc 2.1.x unsigned errors. Or disable -Werror by default...
* testsuite/23_containers/vector_element_access.cc: New file.
* bits/stl_config.h (__STL_THROW_RANGE_ERRORS): Define.
From-SVN: r36218
2000-09-07 01:02:01 +00:00
Alexandre Oliva
3df6463367
acinclude.m4: Include ../libtool.m4.
...
2000-07-28 Alexandre Oliva <aoliva@redhat.com>
* acinclude.m4: Include ../libtool.m4.
* aclocal.m4, configure: Rebuilt.
From-SVN: r35322
2000-07-28 17:56:27 +00:00
Phil Edwards
421173e6d3
acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Test for GNU ld before trying to use any of its options.
...
2000-07-26 Phil Edwards <pme@sourceware.cygnus.com>
* acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Test for GNU ld
before trying to use any of its options.
(CHECK_MATH_DECL*,CHECK_BUILTIN_MATH_DECL*): Cache tests.
* aclocal.m4: Regenerate.
* configure.in: Having found GNU make, name it.
* configure: Regenerate.
* docs/install.html: Mention possible problems with caching.
* src/Makefile.am (CXXLINK): Use new OPT_LDFLAGS.
* src/Makefile.in: Regenerate.
* libio/Makefile.in: Regenerate.
* math/Makefile.in: Regenerate.
* Makefile.in: Regenerate.
From-SVN: r35269
2000-07-26 21:30:45 +00:00
Benjamin Kosnik
99b5135954
[multiple changes]
...
2000-07-23 Brent Verner <brent@rcfile.org>
* bits/istream.tcc: istream::getline(char_type*, streamsize,
char_type) make compliant
* testsuite/27_io/istream_unformatted.cc: test for compliant behavior
2000-07-23 Benjamin Kosnik <bkoz@haight.constant.com>
* acinclude.m4 (enable_cshadow_headers): Fix problems with blddir
and srcdir used to define CSHADOW_INCLUDES..
* configure.in: For consistency, change .sanity_warned to
stamp-sanity-warned.
* acinclude.m4: Tweak formatting.
* Makefile.am (check): Call mkcheck with full pathname for build
directory...
(check-install): And here.
* Makefile.in: Regenerate.
From-SVN: r35227
2000-07-24 16:34:00 +00:00
Benjamin Kosnik
dd75251ff0
acinclude.m4: Tweaks.
...
2000-07-18 Benjamin Kosnik <bkoz@soma.redhat.com>
* acinclude.m4: Tweaks.
* config/c_io_libio.cc: Tweaks.
* bits/sstream.tcc (stringbuf::pbackfail): Simplify.
* libio/_G_config.h: Don't define _G_HAVE_ST_BLKSIZE.
* libio/[iofwide.c, wfiledoalloc.c, wfiteopos.c, wgenops.c]: New files.
* libio/iofclose.c iofopen.c, stdio.c: New files.
* libio/Makefile.am: Add files, add flags, etc.
* src/Makefile.am (sources): Add filebuf.cc.
* acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT):
(GLIBCPP_ENABLE_CSTDIO): Versioning testing, etc etc.
From-SVN: r35127
2000-07-19 00:57:38 +00:00
Benjamin Kosnik
c4561450e1
Clean up configure/build longstanding issues.
...
2000-07-07 Benjamin Kosnik <bkoz@soma.redhat.com>
Clean up configure/build longstanding issues.
* src/Makefile.am (AC_CXXFLAGS): Don't set @SECTION_LDFLAGS@ here.
(CXXLINK): Add here, instead.
* Makefile.am (check-install): Make sure mkcheck has execute privs.
(check): Same here.
* configure.in (AC_OUTPUT_COMMANDS): Remove hacks here.
* configure.in (AC_OUTPUT_COMMANDS): Link c_io_libio.h and
c_io_libio.cc instead of copying.
* acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Do link here.
* configure.in (AC_OUTPUT_COMMANDS): Link $THREADS.h and
c++threads.h instead of copying.
* acinclude.m4 (GLIBCPP_ENABLE_THREADS): Do link here.
From-SVN: r34914
2000-07-07 22:46:52 +00:00
Branko Cibej
f5e79dda40
Makefile.am (AM_MAKEFLAGS): Added WERROR to list of flags.
...
2000-06-22 Branko Cibej <branko.cibej@hermes.si>
* Makefile.am (AM_MAKEFLAGS): Added WERROR to list of flags.
From-SVN: r34664
2000-06-23 16:18:53 +00:00
Benjamin Kosnik
2f1034940a
contribute.html: Add bits about getting to the LWG issues pages.
...
2000-06-19 Benjamin Kosnik <bkoz@soma.redhat.com>
* docs/17_intro/contribute.html: Add bits about getting to the LWG
issues pages.
* docs/documentation.html: Rename link to make more accurate and scary.
* docs/gccrebuild.html: Edit for clarity as these are no longer
separate projects.
* docs/install.html: Add bits about binutils for
-ffunction-sections, -fdata-sections, -Wl,--gc-sections
* configure.in: Add call for GLIBCPP_CHECK_COMPLEX_MATH_SUPPORT.
* math/Makefile.am (EXTRA_DIST): Change USE_LONG_DOUBLE to
USE_COMPLEX_LONG_DOUBLE.
* acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Break into
GLIBCPP_CHECK_MATH_SUPPORT and GLIBCPP_CHECK_COMPLEX_MATH_SUPPORT.
Works around irregularies in powerpc "C" compiler, but a good idea
anyway.
* acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_COMPILER_SUPPORT):
New. Merge both old compiler bug checks for complex into this.
From-SVN: r34601
2000-06-19 22:20:15 +00:00
Benjamin Kosnik
c470c17d65
Makefile.am (string_sources): Simplify...
...
2000-06-14 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
* src/Makefile.am (string_sources): Simplify, assuming that with
-ffunction-sections, -fdata-sections, -Wl,--gc-sections, all this
hacking is not necessary.
(wstring_sources): Same.
(OPTIMIZE_CXXFLAGS): Enable -fdata-sections -ffunction-sections
-Wl,--gc-sections.
* src/string-inst.cc: Remove macro blocks.
* mkcheck.in (CXX_FLAG): Add bits here.
* src/string-inst.cc: Remove iostream-related string instantiations.
* src/misc-inst.cc: Add here.
* acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): Change FMTFLAGS
to WFMT_FLAGS.
* aclocal.m4: Regenerate.
* configure.in: Change up.
* configure: Regenerate.
From-SVN: r34593
2000-06-19 03:14:40 +00:00
Benjamin Kosnik
3840fa2a8f
std_cwctype.h: Clean.
...
2000-06-01 Benjamin Kosnik <bkoz@gnu.org>
* bits/std_cwctype.h: Clean.
* bits/std_cwchar.h: Clean, remove cruft.
* acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Re-work, add bits
for beginning iconv support.
Remove _GLIBCPP_HAS_WCHAR_MIN_MAX, roll into _GLIBCPP_USE_WCHAR_T
macro.
* acconfig.h: Remove _GLIBCPP_HAS_WCHAR_MIN_MAX.
* bits/limits_generic.h: Remove.
* src/gen-num-limits.cc: Same.
* src/locale.cc: Tweaks.
* bits/char_traits.h: Tweaks.
From-SVN: r34352
2000-06-02 07:24:15 +00:00
Benjamin Kosnik
209fe19b16
acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Add strtoull checks...
...
2000-05-31 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
* acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Add strtoull checks...
From-SVN: r34322
2000-06-01 00:56:37 +00:00
Benjamin Kosnik
5b80666b99
inclosure: Change to...
...
2000-05-25 Benjamin Kosnik <bkoz@milou.soma.redhat.com>
* inclosure: Change to...
* mkinclosure: This.
Fix paths to bash.
* mkcshadow: Fix paths to bash.
* src/Makefile.am: Tweaks. Do cshadow header trickery at build time.
* src/Makefile.in: Regnerate.
* acinclude.m4 (GLIBCPP_COMPILER_VERSION): Fix typo.
(GLIBCPP_ENABLE_SHADOW): Do a less gross hack.
* aclocal.m4: Regenerate.
* configure.in: Enable long long by default.
* configure: Regenerate.
* mkcheck.in (LIB_PATH): Revert.
From-SVN: r34166
2000-05-25 13:09:01 +00:00
Benjamin Kosnik
bf93f43bb4
[multiple changes]
...
2000-05-24 Nathan "I don't write ChangeLog Entries" Myers <ncm@cantrip.org>
* config/cpu/i486: New directory.
* config/cpu/i486/bits: New directory.
* config/cpu/i486/bits/atomicity.h: New file.
* config/cpu/i386/bits/atomicity.h (__compare_and_swap): Delete
'cmpxchgl' asm.
* acinclude.m4 (GLIBCPP_CHECK_CPU): Enable i386.
2000-05-24 Loren J. Rittle <ljrittle@acm.org>
* backward/alloc.h (__default_alloc_template): Only expose
implementation-specific symbol, if it exists in the
configuration.
* backward/iostream.h (ends): Expose symbol.
* backward/strstream.h: New file.
* backward/stream.h: New file.
* backward/ostream.h: New file.
* backward/istream.h: New file.
* backward/fstream.h: New file.
* backward/complex.h: New file.
* backward/iomanip.h: New file.
* mkcheck.in (LIB_PATH): Add -R bits.
* math/carg.c (carg): Replace __atan2 with atan2.
From-SVN: r34162
2000-05-25 10:14:26 +00:00
Benjamin Kosnik
d94611f158
Makefile.am (TAGS): Construct.
...
2000-05-24 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
* Makefile.am (TAGS): Construct.
* Makefile.in: Rengerate.
* src/Makefile.am: Tweak.
* src/Makefile.in: Tweak.
* configure.in: Tweak.
* bits/c++config.h: Rename to ...
* bits/c++config: This.
* mkc++config: Adjust.
From-SVN: r34157
2000-05-25 05:11:42 +00:00
Benjamin Kosnik
d3a12960de
acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): Remove OPTLEVEL.
...
2000-05-24 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
* acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): Remove
OPTLEVEL. Add FMTFLAGS.
* aclocal.m4: Regenerate.
* src/Makefile.am (AC_CXXFLAGS): Take out OPTLEVEL, as this is has
been disabled due to higher-level makefiles running amuck over
this bit, and add in FMTFLAGS so that formatting is clear.
* src/Makefile.in: Regenerate.
* configure: Regenerate.
* src/ios.cc (ios_base::sync_with_stdio): Cleanup buffers from
initialization.
* docs/download.html: Remove references to Cygwin-specific bits,
as this can now be built natively.
Update with current information.
From-SVN: r34144
2000-05-24 22:36:40 +00:00
Phil Edwards
8bd636c511
acinclude.m4: Clean up comments on newer checks.
...
2000-05-19 Phil Edwards <pme@sourceware.cygnus.com>
* acinclude.m4: Clean up comments on newer checks.
(GLIBCPP_CHECK_COMPILER_VERSION): Check for system_header
pragma support. Remove WERRORSUPPRESS variable, add WERROR.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* Makefile.in: Regenerate.
* libio/Makefile.in: Regenerate.
* math/Makefile.in: Regenerate.
* src/Makefile.am: Tell make's WERROR to depend on configure's WERROR.
* src/Makefile.in: Regenerate.
* docs/configopts.html: Document changes to --enable names.
From-SVN: r34034
2000-05-19 19:55:50 +00:00
Benjamin Kosnik
811e551b36
[multiple changes]
...
2000-05-17 Nathan C. Myers <ncm@cantrip.org>
* bits/std_cmath.h: fix sqrt(float)
2000-05-16 Loren J. Rittle <ljrittle@acm.org>
* bits/std_cassert.h: Use system_header pragma.
* bits/std_cctype.h: Likewise.
* bits/std_cerrno.h: Likewise.
* bits/std_cfloat.h: Likewise.
* bits/std_climits.h: Likewise.
* bits/std_clocale.h: Likewise.
* bits/std_cmath.h: Likewise.
* bits/std_csetjmp.h: Likewise.
* bits/std_csignal.h: Likewise.
* bits/std_cstdarg.h: Likewise.
* bits/std_cstddef.h: Likewise.
* bits/std_cstdio.h: Likewise.
* bits/std_cstdlib.h: Likewise.
* bits/std_cstring.h: Likewise.
* bits/std_ctime.h: Likewise.
* bits/std_cwchar.h: Likewise.
* bits/std_cwctype.h: Likewise.
* bits/std_exception.h: Likewise.
* bits/std_new.h: Likewise.
* bits/std_typeinfo.h: Likewise.
* shadow/bits/std_cassert.h: Likewise.
* shadow/bits/std_cctype.h: Likewise.
* shadow/bits/std_cerrno.h: Likewise.
* shadow/bits/std_cfloat.h: Likewise.
* shadow/bits/std_climits.h: Likewise.
* shadow/bits/std_clocale.h: Likewise.
* shadow/bits/std_cmath.h: Likewise.
* shadow/bits/std_csetjmp.h: Likewise.
* shadow/bits/std_csignal.h: Likewise.
* shadow/bits/std_cstdarg.h: Likewise.
* shadow/bits/std_cstddef.h: Likewise.
* shadow/bits/std_cstdio.h: Likewise.
* shadow/bits/std_cstdlib.h: Likewise.
* shadow/bits/std_cstring.h: Likewise.
* shadow/bits/std_ctime.h: Likewise.
* shadow/bits/std_cwchar.h: Likewise.
* shadow/bits/std_cwctype.h: Likewise.
* shadow/bits/wrap_libio.h: Likewise.
* shadow/bits/wrap_unistd.h: Likewise.
* shadow/sys/cdefs.h: Likewise.
2000-05-16 Nathan C. Myers <ncm@cantrip.org>
It appears that gcc-2.96 supports the keyword "and" now.
* bits/std_ciso646.h: remove.
* std/ciso646: gut.
* testsuite/17_intro/header_ciso646.c: enable testing.
* src/Makefile.am, src/Makefile.in: remove mention of
bits/std_ciso646.h
From-SVN: r33967
2000-05-17 21:46:40 +00:00
Benjamin Kosnik
6ad50467e7
mkcshadow: build in more-correct directory...
...
* mkcshadow: build in more-correct directory, create cshadow/
directory if needed, report progress.
2000-05-14 LLeweLLyn Reese <llewelly@dbritsch.dsl.xmission.com>
* src/Makefile.am: Fix tr commands.
* src/Makefile.am: Remove references to [w]stringCTORDUPAL.[lo,cc]
* src/string-inst.cc: Remove extra instantiation of
S::basic_string(S::size_type, C, S::allocator_type const&);
* src/string-inst.cc: Remove extra template keyword.
2000-05-14 Loren J. Rittle <ljrittle@acm.org>
* config/bsd/bits/ctype_base.h: Add support for plain BSD4.4.
* acinclude.m4 (GLIBCPP_CHECK_CTYPE): Enhance bsd tests.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* */Makefile.in: Regenerate.
From-SVN: r33906
2000-05-15 06:38:55 +00:00
Benjamin Kosnik
7b267e3e92
acinclude.m4 (GLIBCPP_CHECK_CPU): Change powerpc bits to -mcpu=powerpc.
...
2000-05-09 Benjamin Kosnik <bkoz@gnu.org>
* acinclude.m4 (GLIBCPP_CHECK_CPU): Change powerpc bits to
-mcpu=powerpc.
* config/generic/bits/ctype_specializations.h (ctype<char>::is):
Make more generic.
* config/bsd: New directory.
* config/bsd/ctype.cc: New.
* config/bsd/bits/ctype_base.h (ctype_base): New.
* config/bsd/bits/ctype_specializations.h: New.
* acinclude.m4 (GLIBCPP_CHECK_CTYPE): Add bsd tests.
From-SVN: r33810
2000-05-10 00:23:47 +00:00
Benjamin Kosnik
cde28f0da4
Makefile.am (AC_CXXFLAGS): Add CPUFLAGS here.
...
2000-05-01 Benjamin Kosnik <bkoz@haight.constant.com>
* src/Makefile.am (AC_CXXFLAGS): Add CPUFLAGS here.
* src/Makefile.in: Regenerate.
* acinclude.m4 (GLIBCPP_ENABLE_DEBUG): Revert.
From-SVN: r33593
2000-05-01 23:47:31 +00:00
Benjamin Kosnik
f3b004d8d7
[multiple changes]
...
2000-04-26 Nathan C. Myers <ncm@cantrip.org>
* bits/basic_string.h: include <bits/atomicity.h> instead
of <atomicity.h>, and use the uglified names.
* config/cpu/*/atomicity.h: replace with bits/atomicity.h;
uglify names, eliminate dependence on <inttypes.h>.
* src/Makefile.in, src/Makefile.am: refer to correct place
for atomicity.h header.
2000-04-25 Steven King <sxking@uswest.net>
* bits/basic_string.h: Fix syntax error.
2000-04-25 Benjamin Kosnik <bkoz@redhat.com>
* acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Improve checks for
USE_LONG_DOUBLE.
(GLIBCPP_ENABLE_DEBUG): If alpha, use -gdwarf-2.
* math/Makefile.am (EXTRA_LONG_DOUBLE_yes): Add all the long
versions to this as copysignl is needed anyway for these targets.
* math/Makefile.in: Regenerate.
* bits/streambuf.tcc (streambuf::xsgetn): Tweak.
* bits/fstream.tcc (underflow): Cast to libio types.
* bits/basic_file.h (seekoff): Fixes for alpha: use __c_streamoff.
* config/c_io_libio.cc (seekoff): And here.
From-SVN: r33501
2000-04-28 02:50:55 +00:00
Benjamin Kosnik
5d89258ae5
[multiple changes]
...
2000-04-24 Nathan Myers <ncm@cantrip.org>
* src/string-inst.cc: More fixing.
2000-04-24 Benjamin Kosnik <bkoz@gnu.org>
* bits/stl_iterator.h: Pedantic fixing.
* bits/std_sstream.h: And here.
* bits/string.tcc: And here.
2000-04-24 Felix Natter <fnatter@gmx.net>
* docs/17_intro/howto.html: Add bits.
* docs/17_intro/porting-howto.html: New file.
2000-04-24 Branko Cibej <branko.cibej@hermes.si>
* acinclude.m4(GLIBCPP_CHECK_WCHAR_T_SUPPORT): Expand
@libinst_wstring_la@ to libinst-wstring.la when specializing for
wchar_t, to empty string otherwise.
* src/Makefile.am: (EXTRA_LTLIBRARIES): New.
(sources): Remove $(string_sources) and $(wstring_sources).
(libstdc___la_LIBADD): Add libinst-string.la and @libinst_wstring_la@.
(libstdc___la_DEPENDENCIES): New.
(libinst_string_la_SOURCES, libinst_wstring_la_SOURCES): New.
From-SVN: r33402
2000-04-25 06:39:48 +00:00
Benjamin Kosnik
b2dad0e372
libstdc++-v3: New directory.
...
2000-04-21 Benjamin Kosnik <bkoz@redhat.com>
* libstdc++-v3: New directory.
From-SVN: r33317
2000-04-21 20:33:34 +00:00