Benjamin Kosnik
c0dae541cf
std_c*.h: Don't use include_next.
...
2001-09-04 Benjamin Kosnik <bkoz@redhat.com>
* include/c_std/bits/std_c*.h: Don't use include_next.
From-SVN: r45387
2001-09-04 21:42:24 +00:00
GCC Administrator
3c4ec3894c
Daily bump.
...
From-SVN: r45369
2001-09-04 07:16:40 +00:00
GCC Administrator
72ea47b164
Daily bump.
...
From-SVN: r45361
2001-09-03 20:50:23 +00:00
GCC Administrator
303e4ccfaf
Daily bump.
...
From-SVN: r45356
2001-09-02 07:16:12 +00:00
GCC Administrator
058466a1a1
Daily bump.
...
From-SVN: r45347
2001-09-01 07:16:11 +00:00
GCC Administrator
06d2bb8002
Daily bump.
...
From-SVN: r45313
2001-08-31 07:16:42 +00:00
GCC Administrator
c8cbefbb57
Daily bump.
...
From-SVN: r45282
2001-08-30 07:16:09 +00:00
GCC Administrator
e0e4041f3b
Daily bump.
...
From-SVN: r45257
2001-08-29 09:32:43 +00:00
Loren J. Rittle
533ab4d1f3
Makefile.am: Use toplevel_srcdir to refer to src files outside this component.
...
* include/Makefile.am: Use toplevel_srcdir to refer to src files
outside this component.
* include/Makefile.in: Regenerate.
From-SVN: r45248
2001-08-29 00:32:49 +00:00
GCC Administrator
fce881ebee
Daily bump.
...
From-SVN: r45227
2001-08-28 07:17:02 +00:00
Benjamin Kosnik
72e2386f87
c_locale_gnu.cc: Move facet info to separate files...
...
2001-08-27 Benjamin Kosnik <bkoz@redhat.com>
* config/locale/c_locale_gnu.cc: Move facet info to separate files...
* config/locale/c_locale_generic.cc: Same.
* config/locale/moneypunct_members_gnu.cc: New file.
* config/locale/moneypunct_members_generic.cc: New file.
* config/locale/numpunct_members_gnu.cc: New file.
* config/locale/numpunct_members_generic.cc: New file.
* acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add moneypunct, numpunct
options.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* src/Makefile.am (sources): And here.
* src/Makefile.in: Regenerate.
Rename for consistency with rest of testsuite.
* testsuite/22_locale/codecvt.cc: New file.
* testsuite/22_locale/money_put.cc: New file.
* testsuite/22_locale/money_put_members_char.cc: New file.
From-SVN: r45224
2001-08-28 06:19:35 +00:00
GCC Administrator
c34cce4404
Daily bump.
...
From-SVN: r45188
2001-08-27 15:51:29 +00:00
GCC Administrator
51c4678a03
Daily bump.
...
From-SVN: r45179
2001-08-26 07:16:09 +00:00
GCC Administrator
c1cf72f572
Daily bump.
...
From-SVN: r45170
2001-08-25 07:16:44 +00:00
Kenny Simpson
bfa7321375
std_sstream.h (basic_ostringstream): Fix ctor.
...
2001-08-24 Kenny Simpson <kenny.simpson@gs.com>
libstdc++/3740
* include/bits/std_sstream.h (basic_ostringstream): Fix ctor.
From-SVN: r45159
2001-08-24 18:52:03 +00:00
Sylvain Pion
f2c333a19d
re PR libstdc++/3349 (bug in map::insert(p,t))
...
2001-08-24 Sylvain Pion <Sylvain.Pion@sophia.inria.fr>
Phil Edwards <pme@sources.redhat.com>
PR libstdc++/3349
* include/bits/stl_tree.h (insert_unique): Revert last change.
Values inserted at begin() must be less, not greater, than *begin()'s.
* testsuite/23_containers/map_insert.cc: New file.
Co-Authored-By: Phil Edwards <pme@gcc.gnu.org>
From-SVN: r45155
2001-08-24 17:40:31 +00:00
GCC Administrator
2dc8352c90
Daily bump.
...
From-SVN: r45143
2001-08-24 07:16:10 +00:00
Benjamin Kosnik
575dd831c7
c_locale_gnu.cc: Minor tweaks.
...
2001-08-23 Benjamin Kosnik <bkoz@redhat.com>
* config/locale/c_locale_gnu.cc: Minor tweaks.
(moneypunct<wchar_t>): Implement.
* include/bits/locale_facets.h: Same.
* testsuite/22_locale/moneypunct.cc: New file.
* testsuite/22_locale/moneypunct_byname.cc: New file.
* testsuite/22_locale/moneypunct_char_members.cc: New file.
From-SVN: r45142
2001-08-24 04:11:23 +00:00
GCC Administrator
1ba2bace76
Daily bump.
...
From-SVN: r45123
2001-08-23 07:16:49 +00:00
GCC Administrator
e5c94e7bf8
Daily bump.
...
From-SVN: r45096
2001-08-22 07:16:11 +00:00
GCC Administrator
08b3bb93ec
Daily bump.
...
From-SVN: r45071
2001-08-21 07:16:14 +00:00
GCC Administrator
b7ae9d530c
Daily bump.
...
From-SVN: r45046
2001-08-20 07:16:49 +00:00
GCC Administrator
a943f0a2d8
Daily bump.
...
From-SVN: r45025
2001-08-19 07:52:23 +00:00
Vladimir A Merzliakov
b36d8fb47a
locale_facets.tcc (collate::do_transform): Add typename.
...
2001-08-18 Vladimir A Merzliakov <wanderer@rsu.ru>
* include/bits/locale_facets.tcc (collate::do_transform): Add typename.
From-SVN: r45016
2001-08-19 00:29:01 +00:00
GCC Administrator
5dc4ff73e6
Daily bump.
...
From-SVN: r45000
2001-08-18 07:16:42 +00:00
Benjamin Kosnik
ea0c0b6e1b
Implement std::collate.
...
2001-08-17 Benjamin Kosnik <bkoz@redhat.com>
Implement std::collate.
* config/locale/collate_specializations_gnu.cc: Add here, implement in
MT-safe way.
* config/locale/collate_specializations_generic.cc: Add here, but
in a less sophisticated manner.
* include/bits/locale_facets.tcc (collate): Add generic definition.
* include/bits/locale_facets.h (~collate): Mark virtual.
(collate::_M_compare_helper): New.
(collate::_M_transform_helper): New.
* src/locale.cc: Remove unnecessary specializations.
* src/string-inst.cc: Tweak instantiation of ctors.
* acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Do configury for collate.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* src/Makefile.am (sources): Add collate.cc.
* src/Makefile.in: Regenerate.
* testsuite/22_locale/collate_byname.cc: New.
* testsuite/22_locale/collate.cc: New file.
* testsuite/22_locale/collate_char_members.cc: New file.
* testsuite/22_locale/collate_wchar_t_members.cc: New file.
From-SVN: r44996
2001-08-18 02:53:13 +00:00
GCC Administrator
823e2b91bb
Daily bump.
...
From-SVN: r44959
2001-08-17 07:18:02 +00:00
GCC Administrator
1cfe9d4012
Daily bump.
...
From-SVN: r44931
2001-08-16 07:16:09 +00:00
Andreas Schwab
2e0aa8179f
std_limits.h [...]: Define appropriate long double limits for m68k extended floating point.
...
* include/bits/std_limits.h [__glibcpp_long_double_bits == 96]:
Define appropriate long double limits for m68k extended floating
point.
(__glibcpp_f32_digits10): Corrected, off by one.
(__glibcpp_f80_digits10): Likewise.
(__glibcpp_f128_digits10): Likewise.
* config/os/gnu-linux/bits/os_defines.h
(__glibcpp_long_double_bits) [__mc68000__]: Define to 96.
From-SVN: r44924
2001-08-15 15:57:41 +00:00
GCC Administrator
d0420460b5
Daily bump.
...
From-SVN: r44917
2001-08-15 07:16:16 +00:00
Gabriel Dos Reis
1489e3241e
numeric_limits.cc: Add more tests.
...
* testsuite/18_support/numeric_limits.cc: Add more tests.
* include/bits/std_limits.h (numeric_limits<char>::max): Fix
typo.
From-SVN: r44911
2001-08-14 23:34:04 +00:00
Gabriel Dos Reis
8e0bcac8f3
* include/bits/std_limits.h: Fix thinko.
...
From-SVN: r44901
2001-08-14 21:06:48 +00:00
Benjamin Kosnik
843312be57
Makefile.am: Consolidate target rules.
...
2001-08-14 Benjamin Kosnik <bkoz@redhat.com>
* include/Makefile.am: Consolidate target rules. Don't clean stamp
files. Tweak target build directory stamp.
* include/Makefile.in: Regenerate.
2
From-SVN: r44888
2001-08-14 08:42:19 +00:00
GCC Administrator
c104edca38
Daily bump.
...
From-SVN: r44886
2001-08-14 07:16:18 +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
Gabriel Dos Reis
fe45ab59ca
ostream.tcc (__pad_char): Change toplevel '__fmt' to '__adjust' to avoid shadowing in nested scope.
...
* include/bits/ostream.tcc (__pad_char): Change toplevel '__fmt'
to '__adjust' to avoid shadowing in nested scope.
From-SVN: r44849
2001-08-13 12:59:38 +00:00
GCC Administrator
15aafd860b
Daily bump.
...
From-SVN: r44844
2001-08-13 07:17:49 +00:00
GCC Administrator
ce55d248ca
Daily bump.
...
From-SVN: r44817
2001-08-12 07:16:09 +00:00
Gabriel Dos Reis
63814ec191
std_limits.h (__glibcpp_char_is_signed): Use __CHAR_UNSIGNED__.
...
* include/bits/std_limits.h(__glibcpp_char_is_signed): Use
__CHAR_UNSIGNED__.
* config/os/gnu-linux/bits/os_defines.h(__glibcpp_char_is_signed):
Likewise.
* config/os/aix/bits/os_defines.h(__glibcpp_plain_char_is_signed):
Remove.
From-SVN: r44791
2001-08-11 08:36:52 +00:00
GCC Administrator
16568b922e
Daily bump.
...
From-SVN: r44787
2001-08-11 07:16:09 +00:00
Loren J. Rittle
ff14442814
Makefile.am: Use relative file path in rule to allow colon in $(objdir).
...
bootstrap/3963
* include/Makefile.am: Use relative file path in rule to allow
colon in $(objdir).
* include/Makefile.in: Rebuilt.
From-SVN: r44776
2001-08-10 20:44:53 +00:00
Gunter Winkler
07fe2dec7a
2001-08-10 Gunter Winkler gunter.winkler@mathematik.tu-chemnitz.de
...
* include/bits/std_complex.h (complex<long double>::operator*=,
complex<long double>::operator/=): Fix thinko.
From-SVN: r44767
2001-08-10 15:51:00 +00:00
Gabriel Dos Reis
aa2408185d
std_limits.h: New file.
...
2001-08-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
Mark Mitchell <mark@codesourcery.com>
* include/bits/std_limits.h: New file.
* include/Makefile.am (bits_headers): Add std_limits.h
(all-local): std_limits.h is no longer built.
(${target_builddir}/std_limits.h): Remove.
* include/Makefile.in: Regenerate.
* src/limits.cc: New file.
* src/Makefile.am (sources): Add limits.cc in replacement of
limitsMEMBERS.cc.
* src/Makefile.in: Regenerate.
From-SVN: r44766
2001-08-10 15:47:22 +00:00
GCC Administrator
7c08e8b25a
Daily bump.
...
From-SVN: r44753
2001-08-10 07:16:10 +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
GCC Administrator
86557ec241
Daily bump.
...
From-SVN: r44734
2001-08-09 07:16:10 +00:00
GCC Administrator
ece4fc823e
Daily bump.
...
From-SVN: r44705
2001-08-08 07:16:08 +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
GCC Administrator
e13ef1e287
Daily bump.
...
From-SVN: r44681
2001-08-07 07:16:13 +00:00