Alexandre Oliva
6706f1167e
configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at script entry, and set LD to it when configuring multilibs.
...
* configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
script entry, and set LD to it when configuring multilibs.
* configure: Rebuilt.
From-SVN: r53278
2002-05-08 04:38:00 +00:00
Mark Mitchell
522e3d2226
configure.in: Add support for WindISS.
...
* configure.in: Add support for WindISS.
* configure: Regenerated.
* configure.target: Add support for WindISS.
* config/os/windiss/bits/ctype_base.h: New file.
* config/os/windiss/bits/ctype_inline.h: Likewise.
* config/os/windiss/bits/ctype_noninline.h: Likewise.
* config/os/windiss/bits/os_defines.h: Likewise.
From-SVN: r53269
2002-05-07 20:43:10 +00:00
Kaveh R. Ghazi
7e90efc403
configure.in (AC_CHECK_HEADERS): Check for string.h & stdlib.h.
...
* configure.in (AC_CHECK_HEADERS): Check for string.h & stdlib.h.
* libsupc++/Makefile.am (LTCOMPILE): Add $(DEFS).
* Makefile.in, config.h.in, configure: Regenerate.
From-SVN: r53166
2002-05-04 20:20:29 +00:00
Rainer Orth
d6ab05a0be
configure.in: Update local install.html, configopts.html paths.
...
* configure.in: Update local install.html, configopts.html paths.
* configure: Regenerate.
From-SVN: r53083
2002-05-03 11:09:51 +00:00
Benjamin Kosnik
677b3ae39a
via gawrilow@math.tu-berlin.de
...
2002-04-04 Benjamin Kosnik <bkoz@redhat.com>
libstdc++/3457
via gawrilow@math.tu-berlin.de
* acinclude.m4 (version_specific_libs): Fix combo usage with
--with-gxx-include-dir.
* aclocal.m4: Regenerate.
* configure: Same.
From-SVN: r51875
2002-04-04 21:33:33 +00:00
Benjamin Kosnik
501e321e0d
acinclude: More extensive checks for msgfmt, --enable-nls.
...
2002-04-01 Benjamin Kosnik <bkoz@redhat.com>
libstdc++/5542
* acinclude: More extensive checks for msgfmt, --enable-nls.
* aclocal.m4: Regenerate.
* configure: Regenerate.
From-SVN: r51732
2002-04-02 02:41:50 +00:00
Benjamin Kosnik
34ff0b99c1
acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_SUPP): Just test for signbit and __signbit directly.
...
2002-03-22 Benjamin Kosnik <bkoz@redhat.com>
* acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_SUPP): Just test for
signbit and __signbit directly.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* config.h.in: Regenerate.
* libmath/Makefile.am: Simplify.
* libmath/Makefile.in: Regenerate.
* include/c_std/std_cmath.h: Update paths for include of cmath.tcc.
* include/Makefile.am: Clean up handling of extra "C" header files.
Add hooks for "C" compatibility headers.
* include/Makefile.in: Regenerate.
* include/c/*: Formatting tweaks, cleanups.
* include/c_std/*: Same.
From-SVN: r51220
2002-03-23 03:19:03 +00:00
Rainer Orth
380f343b24
acinclude.m4 (GLIBCPP_CHECK_STDLIB_DECL_AND_LINKAGE_3): New.
...
* acinclude.m4 (GLIBCPP_CHECK_STDLIB_DECL_AND_LINKAGE_3): New.
(GLIBCPP_CONFIGURE_TESTSUITE): Use it to check for setenv.
* aclocal.m4: Regenerate.
* configure: Likewise.
From-SVN: r51110
2002-03-21 01:29:51 +00:00
Steve Ellcey
263c6fa840
acinclude.m4 (GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS): Define GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS to set LIBUNWIND_FLAG if...
...
2002-03-19 Steve Ellcey <sje@cup.hp.com>
* acinclude.m4 (GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS): Define
GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS to set LIBUNWIND_FLAG if
--enable-libunwind-exceptions is set.
* configure.in (GLIBCPP_ENABLE_LIBUNWIND_EXCEPTIONS): Call new
macro to check for libunwind.
* configure: Regenerate.
* src/Makefile.am (libstdc___la_LDFLAGS): Add
LIBUNWIND_FLAG to libstdc link line.
* src/Makefile.in: Regenerate.
From-SVN: r51035
2002-03-19 19:50:30 +00:00
Phil Edwards
d2caef2e8b
acinclude.m4 (GLIBCPP_CONFIGURE): Make indentation/spacing uniform.
...
2002-03-18 Phil Edwards <pme@gcc.gnu.org>
* acinclude.m4 (GLIBCPP_CONFIGURE): Make indentation/spacing uniform.
* configure.in: Add comments pointing the way for autoconf 2.5x.
* aclocal.m4, config.h.in, configure: Regenerate.
From-SVN: r51007
2002-03-18 21:41:02 +00:00
Anthony Green
b3b77addd0
Remove useless mingw32 configury
...
From-SVN: r50819
2002-03-15 18:16:34 +00:00
Benjamin Kosnik
31f93f905f
acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for wctype.h.
...
2002-03-11 Benjamin Kosnik <bkoz@redhat.com>
* acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for wctype.h.
* aclocal.m4: Regenerate.
* config.h.in: Regenerate.
* configure: Regenerate.
* include/c_std/std_cwctype.h: Guard.
From-SVN: r50628
2002-03-12 02:42:11 +00:00
Chris Demetriou
cdfda6686e
acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Enhance check for whether GLIBCPP_CHECK_LINKER_FEATURES has been used.
...
2002-03-11 Chris Demetriou <cgd@broadcom.com>
* acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Enhance check for
whether GLIBCPP_CHECK_LINKER_FEATURES has been used.
* aclocal.m4: Regenerate.
* configure: Regenerate.
From-SVN: r50626
2002-03-12 01:45:50 +00:00
Anthony Green
660bdf3605
Fix mingw32 cross builds.
...
From-SVN: r50541
2002-03-10 19:28:05 +00:00
Benjamin Kosnik
1fa4bed7b5
c_locale_generic.cc: Move to...
...
2002-03-08 Benjamin Kosnik <bkoz@redhat.com>
* c_locale_generic.cc: Move to...
* generic/c_locale.cc
* c_locale_generic.h: Move to...
* generic/c_locale.h
* codecvt_specializations_generic.h: Move to...
* generic/codecvt_specializations.h
* collate_members_generic.cc: Move to...
* generic/collate_members.cc
* ctype_members_generic.cc: Move to...
* generic/ctype_members.cc
* messages_members_generic.cc: Move to...
* generic/messages_members.cc
* messages_members_generic.h: Move to...
* generic/messages_members.h
* moneypunct_members_generic.cc: Move to...
* generic/monetary_members.cc
* numpunct_members_generic.cc: Move to...
* generic/numeric_members.cc
* time_members_generic.cc: Move to...
* generic/time_members.cc
* c_locale_gnu.cc: Move to...
* gnu/c_locale.cc
* c_locale_gnu.h: Move to...
* gnu/c_locale.h
* collate_members_gnu.cc: Move to...
* gnu/collate_members.cc
* ctype_members_gnu.cc: Move to...
* gnu/ctype_members.cc
* messages_members_gnu.cc: Move to...
* gnu/messages_members.cc
* messages_members_gnu.h: Move to...
* gnu/messages_members.h
* moneypunct_members_gnu.cc: Move to...
* gnu/monetary_members.cc
* numpunct_members_gnu.cc: Move to...
* gnu/numeric_members.cc
* time_members_gnu.cc: Move to...
* gnu/time_members.cc
* c_locale_ieee_1003.1-200x.cc: Move to...
* ieee_1003.1-2001/c_locale.cc
* c_locale_ieee_1003.1-200x.h: Move to...
* ieee_1003.1-2001/c_locale.h
* codecvt_specializations_ieee_1003.1-200x.h: Move to...
* ieee_1003.1-2001/codecvt_specializations.h
* messages_members_ieee_1003.1-200x.cc: Move to...
* ieee_1003.1-2001/messages_members.cc
* messages_members_ieee_1003.1-200x.h: Move to...
* ieee_1003.1-2001/messages_members.h
* acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Make consistent.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* src/Makefile.am (sources): Change to monetary and numeric.
* src/Makefile.in: Regenerate.
* docs/html/configopts.html: Update to ieee_1003.1-2001.
From-SVN: r50472
2002-03-09 02:16:36 +00:00
Jakub Jelinek
d7ac744e9f
acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Check for version script globbing in ld.
...
* acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Check for version
script globbing in ld.
* aclocal.m4: Rebuilt.
* configure: Rebuilt.
From-SVN: r50330
2002-03-05 22:12:17 +01:00
Benjamin Kosnik
696179ca62
configure.in (target_alias): Default to yes.
...
2002-02-21 Benjamin Kosnik <bkoz@redhat.com>
* configure.in (target_alias): Default to yes.
* acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Add check for shared
libgcc to default case.
From-SVN: r49962
2002-02-22 12:09:56 +00:00
Benjamin Kosnik
ab3bc736d9
configure.in (target_alias): Default to yes.
...
2002-02-21 Benjamin Kosnik <bkoz@redhat.com>
* configure.in (target_alias): Default to yes.
* acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Add check for shared
libgcc to default case.
From-SVN: r49959
2002-02-22 11:36:26 +00:00
Phil Edwards
c98b201bd9
acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Also check version.
...
2002-02-20 Phil Edwards <pme@gcc.gnu.org>
* acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Also check version.
(GLIBCPP_ENABLE_SYMVERS): Redo logic, use linker version.
* configure.in (GLIBCPP_ENABLE_SYMVERS): Move later in the script.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* config/linker-map.dummy: New file. Contains nothing useful.
From-SVN: r49913
2002-02-20 22:10:39 +00:00
Benjamin Kosnik
37cea03434
linker-map.gnu: Change tag from GCC_3.1 to GLIBCPP_3.1.
...
2002-02-14 Benjamin Kosnik <bkoz@redhat.com>
* config/linker-map.gnu: Change tag from GCC_3.1 to GLIBCPP_3.1.
Add typeinfo bits. Smooth.
* aclocal.m4: Regenerate.
* configure: Same.
* src/Makefile.in: Same.
From-SVN: r49780
2002-02-15 02:21:33 +00:00
Phil Edwards
530539d9d9
acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): New macro, initial revision.
...
2002-02-14 Phil Edwards <pme@gcc.gnu.org>
* acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): New macro, initial revision.
* configure.in: Call it.
* config/linker-map.gnu: New file, initial incomplete revision.
* src/Makefile.am: Optionally pass version script to the linker.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* src/Makefile.in: Regenerate.
From-SVN: r49770
2002-02-14 18:24:13 +00:00
Benjamin Kosnik
005326029f
stl_algo (__stl_threshold): Declare external.
...
2002-02-11 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/stl_algo (__stl_threshold): Declare external.
(__stl_chunk_size): Same.
* include/bits/stl_bvector.h (__WORD_BIT): Same.
* include/bits/stl_tree.h (_S_rb_tree_red): Same.
(_S_rb_tree_black): Same.
* src/stl-inst.cc (__stl_threshold): Define.
(__stl_chunk_size): Same.
(__WORD_BIT): Same.
(_S_rb_tree_red): Same.
(_S_rb_tree_black): Same.
* config/io/basic_file_libio.h (__basic_file): Add declarations.
* include/bits/basic_file.h: Remove.
* config/io/c_io_stdio.h: Remove _GLIBCPP_BASIC_FILE_ENCAPSULATION
Declare generic types, specialization.
* config/io/basic_file_stdio.cc: Definitions.
* config/io/c_io_libio.h: Remove _GLIBCPP_BASIC_FILE_INHERITANCE.
Declare generic types.
* include/Makefile.am (bits_headers): Remove basic_file.h.
(extra_target_headers): Change basic_file_model.h to basic_file.h.
(stamp-target): Same.
* include/bits/stl_alloc.h: Tweaks.
* include/bits/localefwd.h: Same.
From-SVN: r49697
2002-02-12 04:35:58 +00:00
Loren J. Rittle
99a4deb8a9
acinclude.m4: Add C++ linkage check for strtof.
...
* acinclude.m4: Add C++ linkage check for strtof.
* aclocal.m4: Rebuilt.
* config.h.in: Rebuilt.
* configure: Rebuilt.
* config/locale/c_locale_generic.cc: Conditionally include
<ieeefp.h>. Improve handling and error checking of float
and long double input for non-C99 configurations.
From-SVN: r49546
2002-02-06 17:31:43 +00:00
Benjamin Kosnik
b6a95741e8
num_put_members_wchar_t.cc (test03): Use _GLIBCPP_HAVE_SETENV.
...
2002-01-24 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/22_locale/num_put_members_wchar_t.cc (test03): Use
_GLIBCPP_HAVE_SETENV.
* testsuite/22_locale/codecvt_members_wchar_t_char.cc (test02): Same.
* testsuite/22_locale/collate_members_char.cc (test02): Same.
* testsuite/22_locale/ctype_members_char.cc (test03): Same.
* testsuite/22_locale/ctype_members_wchar_t.cc (test03): Same.
* testsuite/22_locale/messages_members_char.cc (test02): Same.
* testsuite/22_locale/moneypunct_members_char.cc (test02): Same.
* testsuite/22_locale/moneypunct_members_wchar_t.cc (test02): Same.
* testsuite/22_locale/money_put_members_char.cc (test04): Same.
* testsuite/22_locale/money_put_members_wchar_t.cc (test04): Same.
* testsuite/22_locale/num_get_members_char.cc (test03): Same.
* testsuite/22_locale/num_get_members_wchar_t.cc (test03): Same.
* testsuite/22_locale/numpunct_members_char.cc (test02): Same.
* testsuite/22_locale/numpunct_members_wchar_t.cc (test02): Same.
* testsuite/22_locale/time_get_members_char.cc (test07): Same.
* testsuite/22_locale/time_get_members_wchar_t.cc (test07): Same.
* testsuite/22_locale/time_put_members_char.cc (test03): Same.
* testsuite/22_locale/time_put_members_wchar_t.cc (test03): Same.
* testsuite/22_locale/num_put_members_char.cc (test03): Same.
* acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Check for setenv.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* config.h.in: Regenerate.
From-SVN: r49191
2002-01-24 20:46:34 +00:00
David Edelsohn
c0abb59e6a
- acsectionLDflags fix omitted from previous commit.
...
From-SVN: r48957
2002-01-17 11:11:26 -05:00
David Edelsohn
654421eb8a
acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Do not clear SECTION_LDFLAGS and OPT_LDFLAGS.
...
2002-01-16 David Edelsohn <dje@watson.ibm.com>
* acinclude.m4 (GLIBCPP_CHECK_LINKER_FEATURES): Do not clear
SECTION_LDFLAGS and OPT_LDFLAGS. Fix ac_sectionLDflags type.
* aclocal.m4: Regenerate.
* configure: Regenerate.
From-SVN: r48941
2002-01-17 07:33:29 +00:00
Benjamin Kosnik
54c1bf7801
Makefile.am (std_headers): Remove cXXX from list.
...
2002-01-04 Benjamin Kosnik <bkoz@redhat.com>
* include/Makefile.am (std_headers): Remove cXXX from list.
(c_base_srcdir): No bits subdirectory.
(c_base_builddir): Same.
(c_base_headers): Adjust names, add ciso646.
(bits_headers): Remove std_xxx.h headers.
* include/Makefile.in: Regenerate.
* include/ext/iterator: Adjust includes.
* include/ext/ropeimpl.h: Same.
* include/ext/stl_hash_fun.h: Same.
* include/ext/algorithm: Same.
* include/backward/bvector.h: Adjust includes.
* include/backward/vector.h: Same.
* include/backward/strstream: Same.
* include/backward/streambuf.h: Same.
* include/backward/stack.h: Same.
* include/backward/set.h: Same.
* include/backward/queue.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/iostream.h: Same.
* include/backward/iomanip.h: Same.
* include/backward/fstream.h: Same.
* include/backward/deque.h: Same.
* include/backward/complex.h: Same.
* include/bits/std_algorithm.h: Move to...
* include/std/algorithm: ...here.
* include/bits/std_iosfwd.h, std_locale.h, std_stack.h,
std_bitset.h, std_ios.h, std_map.h, std_stdexcept.h,
std_complex.h, std_iostream.h, std_memory.h, std_streambuf.h,
std_deque.h, std_istream.h, std_numeric.h, std_string.h,
std_fstream.h, std_ostream.h, std_utility.h, std_iterator.h,
std_queue.h, std_valarray.h, std_functional.h, std_limits.h,
std_set.h, std_vector.h, std_iomanip.h, std_list.h, std_sstream.h:
Same.
* include/c_std/bits/std_cassert.h: Move to...
* include/c_std/cassert: Here.
* include/c_std/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: Same.
* include/c_std/cmath: Adjust cmath.tcc include.
* include/c_std/cstdlib: Adjust includes.
* include/c_std/cwchar: Same.
* include/c_std/ctime: Same.
* include/c_std/cstring: Same.
* include/c_std/cstdio: Same.
* include/c_std/bits: Remove directory.
* include/c/bits/std_cassert.h: Move to...
* include/c/cassert: Here.
* include/c/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: Same.
* include/c/bits: Remove directory.
* include/std/cwctype: Remove.
* include/std/cwchar: Remove.
* include/std/ctime: Remove.
* include/std/cstring: Remove.
* include/std/cstdlib: Remove.
* include/std/cstdio: Remove.
* include/std/cstddef: Remove.
* include/std/cstdarg: Remove.
* include/std/csignal: Remove.
* include/std/csetjmp: Remove.
* include/std/cmath: Remove.
* include/std/clocale: Remove.
* include/std/climits: Remove.
* include/std/ciso646: Remove.
* include/std/cfloat: Remove.
* include/std/cerrno: Remove.
* include/std/cctype: Remove.
* include/std/cassert: Remove.
* include/bits/fpos.h: Adjust includes, removing <bits/std_xxx.h>
files and subsituting <.xxx>
* include/bits/valarray_array.h: Same.
* include/bits/stl_uninitialized.h: Same.
* include/bits/stl_alloc.h: Same.
* include/bits/stl_algobase.h: Same.
* include/bits/sstream.tcc: Same.
* include/bits/pthread_allocimpl.h: Same.
* include/bits/ostream.tcc: Same.
* include/bits/localefwd.h: Same.
* include/bits/locale_facets.tcc: Same.
* include/bits/locale_facets.h: Same.
* include/bits/istream.tcc: Same.
* include/bits/char_traits.h: Same.
* include/bits/boost_concept_check.h: Same.
* include/bits/basic_file.h: Same.
* include/std/bitset: Same.
* include/std/complex: Same.
* include/std/fstream: Same.
* include/std/functional: Same.
* include/std/ios: Same.
* include/std/iostream: Same.
* include/std/ostream: Same.
* include/std/sstream: Same.
* include/std/streambuf: Same.
* include/std/string: Same.
* include/std/iterator: Same.
* include/std/valarray: Same.
* src/ios.cc: Adjust includes.
* src/valarray-inst.cc: Same.
* src/string-inst.cc: Same.
* src/stl-inst.cc: Same.
* src/stdexcept.cc: Same.
* src/misc-inst.cc: Same.
* src/localename.cc: Same.
* src/locale-inst.cc: Same.
* src/locale.cc: Same.
* src/limits.cc: Same.
* src/concept-inst.cc: Same.
* src/complex_io.cc: Same.
* src/codecvt.cc: Same.
* src/bitset.cc: Same.
* src/cmath.cc: Same.
From-SVN: r48544
2002-01-04 21:27:36 +00:00
Jason Thorpe
40ded87230
configure.in: Add support for NetBSD cross compiles.
...
* configure.in: Add support for NetBSD cross compiles.
* configure: Regenerate.
From-SVN: r48443
2002-01-01 18:12:06 +00:00
Benjamin Kosnik
1451a49295
acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Extended checking before enabling gnu model.
...
2001-12-18 Benjamin Kosnik <bkoz@redhat.com>
* acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Extended checking before
enabling gnu model.
* aclocal.m4: Rebuild.
* configure: Rebuild.
From-SVN: r48163
2001-12-18 21:12:23 +00:00
Benjamin Kosnik
56deb74c86
acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Enable gnu locale model on linux by default.
...
2001-12-15 Benjamin Kosnik <bkoz@redhat.com>
* acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Enable gnu locale model
on linux by default.
* aclocal.m4: Regenerate.
* configure: Regenerate.
From-SVN: r48046
2001-12-15 18:58:49 +00:00
Benjamin Kosnik
def9790d51
Clean up initialization and simplfy caching of underlying "C" locale objects.
...
2001-12-14 Benjamin Kosnik <bkoz@redhat.com>
Clean up initialization and simplfy caching of underlying "C"
locale objects.
* src/localename.cc (locale::_Impl::_Impl(string, size_t):
Unconditionally create __clocale object for all named locales,
including "C" and "POSIX".
* config/locale/c_locale_generic.cc
(locale::facet::_S_create_c_locale): Always set __cloc to zero.
* config/locale/c_locale_gnu.cc: Always delete.
* include/bits/localefwd.h (locale::facet::_S_c_locale): New.
* src/locale.cc (locale::classic()): Initialize
locale::facet::_S_c_locale.
(locale::facet::_S_c_locale): Define.
* include/bits/locale_facets.h: Add ctype_byname<wchar_t> ctor
specialization.
* src/locale.cc: Add definition here.
* config/os/gnu-linux/bits/ctype_inline.h: Tweak.
* config/os/gnu-linux/bits/ctype_noninline.h: Adjust initializations.
* include/bits/locale_facets.h (ctype<char>::_M_c_locale_ctype): Add.
Adjust ctors, dtors.
(ctype<char>::_M_toupper): Remove const&.
(ctype<char>::_M_tolower): Remove const&.
(ctype<char>::_M_ctable): Remove const&.
* include/bits/locale_facets.h (collate): Clean up initialization
of _M_c_locale_collate in ctors and dtors.
* config/locale/collate_members_gnu.cc: Always use extended
functions.
* include/bits/locale_facets.h (messages): Clean up inits in ctor/dtor.
(messages_byname): Same.
* config/locale/messages_members_generic.h (messages::~messages):
Remove.
* config/locale/messages_members_gnu.h: Same.
* include/bits/localefwd.h: Clean. Move dtor definitions to
* src/locale.cc: Here.
* testsuite/22_locale/facet.cc: Fix spelling.
Named locale support for ctype<wchar_t>.
* acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add variable
ctype_members_* bits.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* src/Makefile.am (sources): Add ctype.cc.
* src/Makefile.in: Regenerate.
* config/locale/ctype_members_generic.cc: New file.
* config/locale/ctype_members_gnu.cc: New file.
* src/locale.cc: Remove ctype<wchart_t> definitions.
From-SVN: r48034
2001-12-15 07:05:04 +00:00
Andreas Jaeger
dc6f415864
builtins.def: Rename BUILT_IN_FSQRT to BUILT_IN_SQRT and __builtin_fsqrt to __builtin_sqrt.
...
2001-12-14 Roger Sayle <roger@eyesopen.com>
* builtins.def: Rename BUILT_IN_FSQRT to BUILT_IN_SQRT and
__builtin_fsqrt to __builtin_sqrt.
* builtins.c (expand_builtin_mathfn,expand_builtin): Same.
* doc/extend.texi: Simplify documentation to match patch.
f:
* com-rt.def: Use __builtin_sqrt instead of __builtin_fsqrt.
* com.c (ffecom_init_0): Same, and fixed enumeration usage.
libstdc++-v3:
* acconfig.h: Test for __builtin_sqrt instead of
__builtin_fsqrt.
* acinclude.m4: Same.
* include/c_shadow/bits/std_cmath.h: Same.
* aclocal.m4: Regenerated.
* config.h.in: Regenerated.
* configure: Regenerated.
From-SVN: r48008
2001-12-14 22:06:35 +01:00
Steve Ellcey
75940b886e
configure.in: Add support for hpux cross compiles...
...
2001-12-03 Steve Ellcey <sje@cup.hp.com>
* libstdc++-v3/configure.in: Add support for hpux cross compiles,
combine common linux/hpux/generic cross compile support to reduce
redundent lines.
* libstdc++-v3/configure: Regenerate.
From-SVN: r47564
2001-12-03 22:28:57 +00:00
Joseph Myers
c5504edb75
ChangeLog, [...]: Fix spelling errors.
...
* ChangeLog, docs/doxygen/maint.cfg.in, docs/doxygen/user.cfg.in,
docs/doxygen/doxygroups.cc, docs/doxygen/Intro.3,
docs/html/17_intro/BUGS, docs/html/17_intro/C++STYLE,
docs/html/17_intro/CHECKLIST, docs/html/17_intro/DESIGN,
docs/html/17_intro/howto.html, docs/html/17_intro/porting.html,
docs/html/17_intro/porting.texi, docs/html/18_support/howto.html,
docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
docs/html/21_strings/howto.html,
docs/html/23_containers/howto.html,
docs/html/26_numerics/howto.html, docs/html/27_io/howto.html,
docs/html/27_io/binary_iostreams_kuehl.txt,
docs/html/ext/sgiexts.html, docs/html/faq/index.html,
docs/html/faq/index.txt, testsuite/24_iterators/iterator.cc,
include/bits/basic_file.h, include/bits/locale_facets.h,
include/bits/locale_facets.tcc, include/bits/std_sstream.h,
include/ext/ropeimpl.h, include/ext/stl_rope.h,
libsupc++/tinfo.cc, libsupc++/cxxabi.h, libsupc++/typeinfo,
libsupc++/eh_throw.cc, acinclude.m4, aclocal.m4, configure,
configure.target, ChangeLog-2000: Fix spelling errors.
From-SVN: r47291
2001-11-23 16:29:02 +00:00
Phil Edwards
f448ac15ff
acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Run the test in LANG_CPLUSPLUS mode.
...
2001-11-06 Phil Edwards <pme@gcc.gnu.org>
* acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Run the test in
LANG_CPLUSPLUS mode.
* aclocal.m4: Regenerate.
* configure: Regenerate.
From-SVN: r46815
2001-11-06 22:50:50 +00:00
Phil Edwards
222485455e
acconfig.h: Update comments.
...
2001-11-02 Phil Edwards <pme@gcc.gnu.org>
* acconfig.h: Update comments.
* acinclude.m4 (GLIBCPP_ENABLE_C99): Move strtoll, strtoull tests...
(GLIBCPP_ENABLE_LONG_LONG): ...to here. Don't check enable_c99.
* aclocal.m4: Regenerate.
* config.h.in: Regenerate.
* configure: Regenerate.
* include/bits/boost_concept_check.h: Unconditionally compile uses
of 'long long' which require only compiler support, not C lib support.
* include/bits/cpp_type_traits.h: Likewise.
* include/bits/std_limits.h: Likewise.
* include/bits/type_traits.h: Likewise.
* src/concept-inst.cc: Likewise.
* src/limits.cc: Likewise.
* include/c_shadow/stdlib.h: Compile conditionally on _GLIBCPP_USE_C99
instead of _GLIBCPP_USE_LONG_LONG.
* include/c_shadow/bits/std_cstdlib.h: Likewise.
From-SVN: r46723
2001-11-02 22:31:03 +00:00
Phil Edwards
4d16bdbbf6
re PR libstdc++/3666 (Invalid concept-checking code.)
...
2001-11-01 Phil Edwards <pme@gcc.gnu.org>
* acinclude.m4: Fix spacing.
(GLIBCPP_ENABLE_CONCEPT_CHECKS): New macro.
* configure.in: Call here.
* acconfig.h: Add _GLIBCPP_CONCEPT_CHECKS.
* include/bits/boost_concept_check.h: Fix headers.
(__function_requires): Make inline.
* include/bits/c++config (_GLIBCPP_CONCEPT_CHECKS): Remove.
* aclocal.m4: Regenerate.
* config.h.in: Regenerate.
* configure: Regenerate.
Move trailing ';' inside macro, PR libstdc++/3666.
* include/bits/concept_check.h: Add semicolon.
* include/bits/stl_algo.h: Remove semicolon.
* include/bits/stl_algobase.h: Likewise.
* include/bits/stl_deque.h: Likewise.
* include/bits/stl_heap.h: Likewise.
* include/bits/stl_iterator_base_funcs.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_vector.h: Likewise.
* include/ext/hash_map: Likewise.
* include/ext/hash_set: Likewise.
* include/ext/slist: Likewise.
* src/concept-inst.cc: New file with explicit instantiations.
* src/Makefile.am (sources): Add here, with special build rules.
* src/Makefile.in: Regenerate.
From-SVN: r46697
2001-11-01 15:46:48 +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
1ab656771a
time_members_gnu.h (__timepunct::_M_get_helper): Add.
...
2001-09-28 Benjamin Kosnik <bkoz@redhat.com>
* config/locale/time_members_gnu.h (__timepunct::_M_get_helper): Add.
(__timepunct::_M_put_helper): Add.
* config/locale/time_members_generic.h: Same.
* include/bits/locale_facets.h (__match_parallel): Remove. Format.
(__timepunct): Add data members.
(__timepunct::_M_days): Add.
(__timepunct::_M_days_abbreviated): Add.
(__timepunct::_M_months): Add.
(__timepunct::_M_months_abbreviated): Add.
(__timepunct::_M_initialize_timepunct): Add.
* include/bits/locale_facets.tcc: Same.
* src/locale-inst.cc: Remove instantiations for __match_parallel.
* acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add CTIME_CC.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* testsuite/22_locale/time_put_members_char.cc: Mark XFAIL.
* testsuite/22_locale/time_put_members_char.cc (test01): New file.
* testsuite/22_locale/time_get.cc: New file.
From-SVN: r45868
2001-09-28 23:44:48 +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
f280fdf44d
configure.in: Fix cross compiling math routines.
...
2001-09-10 Benjamin Kosnik <bkoz@redhat.com>
* configure.in: Fix cross compiling math routines. Correct
comments for cross compiling and limits. Add floating point math
routines found in newlib.
* configure: Regenerate.
* acconfig.h: Add macros.
* config.h.in: Regenerate.
From-SVN: r45530
2001-09-11 00:12:57 +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
Phil Edwards
b969a5d7d1
re PR libstdc++/4143 (--disable == --enable for version-specific-runtime-libs)
...
2001-08-27 Phil Edwards <pme@sources.redhat.com>
PR libstdc++/4143
* acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Handle enable/disable
correctly for version-specific-runtime-libs.
* aclocal.m4: Regenerate.
* configure: Regenerate.
From-SVN: r45206
2001-08-27 19:40:02 +00:00
Jason Merrill
d22ec5294d
testsuite_flags.in (build-includes): Re-add backward.
...
* testsuite_flags.in (build-includes): Re-add backward.
(and back out earlier aclocal change)
From-SVN: r45139
2001-08-23 18:35:52 -04:00
Jason Merrill
cbf0bc8370
* aclocal.m4 (GLIBCPP_INCLUDES): Include backward.
...
From-SVN: r45129
2001-08-23 07:38:07 -04: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
Marc Espie
c8f9b30251
configure.in: Check for <sys/types.h>.
...
2001-08-16 Marc Espie <espie@openbsd.org>
* configure.in: Check for <sys/types.h>.
* configure: Rebuild.
* config.h.in: Rebuild.
* libmath/mathconf.h: Include <sys/types.h> prior to
<machine/endian.h> if available.
From-SVN: r44935
2001-08-16 12:49:19 +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
Phil Edwards
fe413112f8
acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): New macro, calls...
...
2001-08-06 Phil Edwards <pme@sources.redhat.com>
* acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): New macro, calls...
(GLIBCPP_CHECK_SETRLIMIT): ...this new macro, which also uses...
(GLIBCPP_CHECK_SETRLIMIT_ancilliary): ...this new macro.
* configure.in (AM_CONFIG_HEADER): Also generate testsuite_hooks.h.
Call GLIBCPP_CONFIGURE_TESTSUITE.
* aclocal.m4: Regenerate.
* config.h.in: Regenerate.
* configure: Regenerate.
* testsuite/lib/libstdc++-v3-dg.exp: Download new header instead
of old header.
* testsuite_flags.in: Add build dir's testsuite to INCLUDES.
* testsuite/debug_assert.h: Removed; contents merged into...
* testsuite/testsuite_hooks.h.in: ...here. New file.
* testsuite/17_intro/header_ciso646.cc: No longer include
debug_assert.h, include testsuite_hooks.h instead.
* testsuite/17_intro/header_fstream.cc: Likewise.
* testsuite/17_intro/header_iomanip.cc: Likewise.
* testsuite/17_intro/header_ios.cc: Likewise.
* testsuite/17_intro/header_iosfwd.cc: Likewise.
* testsuite/17_intro/header_iostream.cc: Likewise.
* testsuite/17_intro/header_istream.cc: Likewise.
* testsuite/17_intro/header_ostream.cc: Likewise.
* testsuite/17_intro/header_sstream.cc: Likewise.
* testsuite/17_intro/header_streambuf.cc: Likewise.
* testsuite/18_support/numeric_limits.cc: Likewise.
* testsuite/19_diagnostics/stdexceptions.cc: Likewise.
* testsuite/20_util/allocator_members.cc: Likewise.
* testsuite/20_util/auto_ptr.cc: Likewise.
* testsuite/20_util/pairs.cc: Likewise.
* testsuite/21_strings/append.cc: Likewise.
* testsuite/21_strings/capacity.cc: Likewise.
* testsuite/21_strings/char_traits_requirements.cc: Likewise.
* testsuite/21_strings/compare.cc: Likewise.
* testsuite/21_strings/ctor_copy_dtor.cc: Likewise. Also set up
call to (disabled) __set_testsuite_memlimit() wrapper.
* testsuite/21_strings/element_access.cc: Likewise.
* testsuite/21_strings/find.cc: Likewise.
* testsuite/21_strings/insert.cc: Likewise. Also set up call to
(disabled) __set_testsuite_memlimit() wrapper.
* testsuite/21_strings/inserters_extractors.cc: Likewise.
* testsuite/21_strings/invariants.cc: Likewise.
* testsuite/21_strings/nonmember.cc: Likewise.
* testsuite/21_strings/operations.cc: Likewise.
* testsuite/21_strings/replace.cc: Likewise.
* testsuite/21_strings/rfind.cc: Likewise.
* testsuite/21_strings/substr.cc: Likewise.
* testsuite/22_locale/codecvt_char_char.cc: Likewise.
* testsuite/22_locale/codecvt_unicode_char.cc: Likewise.
* testsuite/22_locale/codecvt_unicode_wchar_t.cc: Likewise.
* testsuite/22_locale/codecvt_wchar_t_char.cc: Likewise.
* testsuite/22_locale/ctor_copy_dtor.cc: Likewise.
* testsuite/22_locale/ctype_char_members.cc: Likewise.
* testsuite/22_locale/ctype_wchar_t_members.cc: Likewise.
* testsuite/22_locale/facet.cc: Likewise.
* testsuite/22_locale/global_templates.cc: Likewise.
* testsuite/22_locale/members.cc: Likewise.
* testsuite/22_locale/numpunct_byname.cc: Likewise.
* testsuite/22_locale/numpunct_char_members.cc: Likewise.
* testsuite/22_locale/operators.cc: Likewise.
* testsuite/22_locale/static_members.cc: Likewise.
* testsuite/23_containers/bitset_ctor.cc: Likewise.
* testsuite/23_containers/bitset_members.cc: Likewise.
* testsuite/23_containers/bitset_shift.cc: Likewise.
* testsuite/23_containers/vector_capacity.cc: Likewise.
* testsuite/23_containers/vector_ctor.cc: Likewise.
* testsuite/23_containers/vector_element_access.cc: Likewise.
* testsuite/23_containers/vector_modifiers.cc: Likewise.
* testsuite/24_iterators/istreambuf_iterator.cc: Likewise.
* testsuite/24_iterators/iterator.cc: Likewise.
* testsuite/24_iterators/ostreambuf_iterator.cc: Likewise.
* testsuite/25_algorithms/binary_search.cc: Likewise.
* testsuite/25_algorithms/copy.cc: Likewise.
* testsuite/25_algorithms/heap.cc: Likewise.
* testsuite/25_algorithms/lower_bound.cc: Likewise.
* testsuite/25_algorithms/min_max.cc: Likewise.
* testsuite/25_algorithms/partition.cc: Likewise.
* testsuite/25_algorithms/rotate.cc: Likewise.
* testsuite/25_algorithms/sort.cc: Likewise.
* testsuite/26_numerics/c_math.cc: Likewise.
* testsuite/26_numerics/complex_inserters_extractors.cc: Likewise.
* testsuite/26_numerics/complex_value.cc: Likewise.
* testsuite/27_io/filebuf.cc: Likewise.
* testsuite/27_io/filebuf_members.cc: Likewise.
* testsuite/27_io/filebuf_virtuals.cc: Likewise.
* testsuite/27_io/fpos.cc: Likewise.
* testsuite/27_io/fstream_members.cc: Likewise.
* testsuite/27_io/ifstream_members.cc: Likewise.
* testsuite/27_io/ios_base_callbacks.cc: Likewise.
* testsuite/27_io/ios_base_members_static.cc: Likewise.
* testsuite/27_io/ios_base_storage.cc: Likewise.
* testsuite/27_io/ios_ctor.cc: Likewise.
* testsuite/27_io/ios_init.cc: Likewise.
* testsuite/27_io/ios_manip_basefield.cc: Likewise.
* testsuite/27_io/ios_manip_fmtflags.cc: Likewise.
* testsuite/27_io/ios_members.cc: Likewise.
* testsuite/27_io/istream_extractor_arith.cc: Likewise.
* testsuite/27_io/istream_extractor_char.cc: Likewise.
* testsuite/27_io/istream_extractor_other.cc: Likewise.
* testsuite/27_io/istream_manip.cc: Likewise.
* testsuite/27_io/istream_seeks.cc: Likewise.
* testsuite/27_io/istream_sentry.cc: Likewise.
* testsuite/27_io/istream_unformatted.cc: Likewise.
* testsuite/27_io/istringstream_members.cc: Likewise.
* testsuite/27_io/narrow_stream_objects.cc: Likewise.
* testsuite/27_io/ofstream_members.cc: Likewise.
* testsuite/27_io/ostream_inserter_arith.cc: Likewise.
* testsuite/27_io/ostream_inserter_char.cc: Likewise.
* testsuite/27_io/ostream_inserter_other.cc: Likewise.
* testsuite/27_io/ostream_manip.cc: Likewise.
* testsuite/27_io/ostream_seeks.cc: Likewise.
* testsuite/27_io/ostream_unformatted.cc: Likewise.
* testsuite/27_io/ostringstream_members.cc: Likewise.
* testsuite/27_io/streambuf.cc: Likewise.
* testsuite/27_io/stringbuf.cc: Likewise.
* testsuite/27_io/stringbuf_virtuals.cc: Likewise.
* testsuite/27_io/stringstream.cc: Likewise.
* testsuite/27_io/stringstream_members.cc: Likewise.
* testsuite/27_io/wide_stream_objects.cc: Likewise.
From-SVN: r44679
2001-08-07 03:38:33 +00:00
Gabriel Dos Reis
d38cd8ae50
acinclude.m4: CHECK_MATH_DECL_AND_LINKAGE for hypot, hypotf, hypotl, atan2f, atan2l.
...
* acinclude.m4: CHECK_MATH_DECL_AND_LINKAGE for hypot, hypotf,
hypotl, atan2f, atan2l. Remove from REPLACE_MATHFUNCS list.
* aclocal.m4: Regenerate.
* config.h.in: Likewise.
* configure: Likewise.
* libmath/Makefile.am (EXTRA_LONG_DOUBLE_yes): Remove hypotl.c
(EXTRA_DIST): Remove hypot.c hypotf.c.
* libmath/Makefile.am: Regenerate.
* libmath/hypotf.c: Remove.
* libmath/hypot.c: Likewise.
* libmath/hypotl.c: Likewise.
* libmath/stubs.c: The macros seen here are HAVE_xxx, not
_GLIBCPP_HAVE_xxx. Add long double versions.
From-SVN: r44334
2001-07-25 08:06:47 +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
fb124b992c
acinclude.m4 (GLIBCPP_ENABLE_CHEADERS): Use glibcpp_srcdir when setting C_INCLUDE_DIR.
...
2001-07-16 Stephen M. Webb <stephen@bregmasoft.com>
* acinclude.m4 (GLIBCPP_ENABLE_CHEADERS): Use glibcpp_srcdir when
setting C_INCLUDE_DIR.
* configure.in: Revert yesterday's LN_S change.
* aclocal.m4: Regenerate.
* configure: Regenerate.
From-SVN: r44052
2001-07-16 17:43:54 +00:00
Phil Edwards
25dfa34d50
configure.in: Temporarily force LN_S to copy instead of symlink.
...
2001-07-15 Phil Edwards <pme@sources.redhat.com>
* configure.in: Temporarily force LN_S to copy instead of symlink.
* configure: Regenerate.
From-SVN: r44028
2001-07-15 22:17:43 +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
Gabriel Dos Reis
2253525c31
acinclude.m4: Don't AC_REPLACE_MATHFUNCS expf and atan2f.
...
* acinclude.m4: Don't AC_REPLACE_MATHFUNCS expf and atan2f.
* aclocal.m4: Regenerate.
* configure: Same.
From-SVN: r43898
2001-07-10 12:55:05 +00:00
Daniel Jacobowitz
39f5fa3333
configure.in: Remove NATIVE, NULL_TARGET.
...
2001-07-06 Daniel Jacobowitz <drow@mvista.com>
* configure.in: Remove NATIVE, NULL_TARGET.
Set CANADIAN only for Canadian crosses. Set xcompiling
for both Canadian crosses and host-x-host crosses.
* configure: Regenerated.
From-SVN: r43814
2001-07-06 17:16:46 +00:00
Loren J. Rittle
1ce847cf95
acinclude.m4 (GLIBCPP_ENABLE_THREADS): Protect variable from shell expansion (thanks to Alexandre Oliva).
...
* acinclude.m4 (GLIBCPP_ENABLE_THREADS): Protect variable from shell
expansion (thanks to Alexandre Oliva).
* aclocal.m4: Regenerate.
* configure: Regenerate.
Also, re-add last comment since Benjamin accidentally trashed it with
his last check-in.
From-SVN: r43715
2001-07-02 23:30:01 +00:00
Loren J. Rittle
30b3a033af
acinclude.m4 (GLIBCPP_ENABLE_THREADS): Portability enhancement.
...
libstdc++/3284
* acinclude.m4 (GLIBCPP_ENABLE_THREADS): Portability enhancement.
* aclocal.m4: Regenerate.
* configure: Regenerate.
From-SVN: r43711
2001-07-02 22:24:57 +00:00
Loren J. Rittle
3a5e0e62b0
acinclude.m4 (GLIBCPP_ENABLE_THREADS): Add relative path to staged/installed area to support -I-.
...
libstdc++/3243
* acinclude.m4 (GLIBCPP_ENABLE_THREADS): Add relative path to
staged/installed area to support -I-. Document.
* aclocal.m4: Regenerate.
* configure: Regenerate.
From-SVN: r43709
2001-07-02 21:30:30 +00:00
Zoltan Hidvegi
f34f234633
acinclude.m4 (glibcpp_toolexeclibdir): Make multilib safe.
...
2001-06-26 Zoltan Hidvegi <hzoli@austin.ibm.com>
* acinclude.m4 (glibcpp_toolexeclibdir): Make multilib safe.
* aclocal.m4: Regenerate.
* configure: Regenerate.
From-SVN: r43599
2001-06-26 23:35:19 +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
a0cb1aa773
acinclude.m4: Clean extraneous tabs, rewrap 'test' lines.
...
2001-06-26 Phil Edwards <pme@sources.redhat.com>
* acinclude.m4: Clean extraneous tabs, rewrap 'test' lines.
* aclocal.m4: Regenerate.
* configure: Regenerate.
From-SVN: r43591
2001-06-26 20:52:23 +00:00
Nathan Sidwell
1de9b82250
configure.in (auxdir): Replace by ...
...
* configure.in (auxdir): Replace by ...
(toprel): ... new variable.
(toplevel_srcdir): Construct from $toprel.
* acinclude.m4 (GLIBCPP_ENABLE_THREADS): Use $toprel
rather than .. to locate gcc source directory.
(GLIBCPP_CONFIGURE): Replace $auxdir with $srcdir/$toprel.
* aclocal.m4, configure: Rebuilt.
From-SVN: r43364
2001-06-14 08:45:38 +00:00
Benjamin Kosnik
dd48b185dc
acinclude.m4 (GLIBCPP_CONFIGURE): Bump version to 3.0.0.
...
2001-06-13 Benjamin Kosnik <bkoz@redhat.com>
* acinclude.m4 (GLIBCPP_CONFIGURE): Bump version to 3.0.0.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* include/bits/c++config (__GLIBCPP__): Update date.
From-SVN: r43332
2001-06-13 17:51:38 +00:00
Benjamin Kosnik
1d855e87fd
std_sstream.h: Add allocator_type, as per DR 251.
...
2001-06-12 Benjamin Kosnik <bkoz@redhat.com>
libstdc++/3142
* include/bits/std_sstream.h: Add allocator_type, as per DR 251.
libstdc++/3141
* include/bits/istream.tcc (getline, get): Fix as per DR 243.
libstdc++/3140
* include/bits/std_bitset.h (bitset::set): Fix as per DR 186.
libstdc++/3139
* include/bits/limits_generic.h: Fix as per DR 184.
From-SVN: r43276
2001-06-12 23:00:39 +00:00
Phil Edwards
52b55e7ddc
README: Update to reflect reality.
...
2001-06-11 Phil Edwards <pme@sources.redhat.com>
* README: Update to reflect reality.
* acinclude.m4: Update descriptions, fix typos. Comment changes only.
* configure.in: Make certain target_alias is set and subst'd for 2.50.
* aclocal.m4: Regenerate.
* configure: Regenerate (with 2.13).
From-SVN: r43203
2001-06-11 19:35:32 +00:00
Benjamin Kosnik
68fe6226c8
std_cwchar.h: Alphabetize.
...
2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
* include/c_std/bits/std_cwchar.h: Alphabetize.
* include/bits/char_traits.h: Tweak.
* acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for
everything used by std_cwchar.h.
* aclocal.m4: Regenerate.
* configure.in: Regenerate.
* config.h.in: Regenerate.
From-SVN: r43167
2001-06-11 04:36:59 +00:00
Benjamin Kosnik
61c7194612
acinclude.m4 (GLIBCPP_ENABLE_C99): Add stdio.h checking.
...
2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
* acinclude.m4 (GLIBCPP_ENABLE_C99): Add stdio.h checking.
Add checking for strtof, _Exit in stdlib.h
* aclocal.m4: Regenerate.
* configure.in: Regenerate.
* include/c_std/bits/std_cstdio.h: Alphabetize lists.
(snprintf): Put C99 functions into __gnu_cxx namespace.
(vfscanf): Same.
(vscanf): Same.
(vsnprintf): Same.
(vsscanf): Same.
* include/c_std/bits/std_cstdlib.h: Alphabetize lists. Put undefs
for C99 functions within _GLIBCPP_USE_C99 guard.
(_Exit): Same.
(strtof): Same.
(strtold): Same.
* include/bits/locale_facets.tcc: Check if C99 is enabled.
* include/c_std/bits/std_cwchar.h (__gnu_cxx): Put undefs within
C99 guard.
* include/c_std/bits/cmath.tcc: Formatting tweak.
* include/c_std/bits/std_cmath.h: Same.
From-SVN: r43161
2001-06-10 23:26:34 +00:00
Alexandre Oliva
4e0abb1d51
acinclude.m4 (AC_EXEEXT): Work around in case it expands to nothing, as in autoconf 2.50.
...
* acinclude.m4 (AC_EXEEXT): Work around in case it expands to
nothing, as in autoconf 2.50.
* configure: Rebuilt.
From-SVN: r43104
2001-06-09 20:31:23 +00:00
Benjamin Kosnik
df7b13598a
acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for fgetwc, fgetws.
...
2001-06-09 Benjamin Kosnik <bkoz@redhat.com>
* acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for fgetwc,
fgetws.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* include/c_std/bits/std_cwchar.h: Remove duplicate fgetwc
injection, guard fgetwc, fgetws.
* include/c_std/bits/std_cstdio.h: Remove superfluous includes.
* include/c_std/bits/std_clocale.h: And here.
* include/c_std/bits/std_cctype.h: And here.
* include/c_std/bits/std_cstdlib.h (strtof): Guard strtof injection.
* config/basic_file_stdio.h: Don't include unistd.h.
* config/c_io_stdio.h: Don't use compatibility headers.
* libsupc++/eh_terminate.cc: Qualify abort.
(__terminate): And here.
* libsupc++/eh_catch.cc (__cxa_end_catch): Qualify abort.
From-SVN: r43070
2001-06-09 06:49:13 +00:00
Loren J. Rittle
5e21803304
threads-no.h: Remove file.
...
* config/threads-no.h: Remove file.
* config/threads-posix.h: Remove file.
* acconfig.h (_GLIBCPP_USE_THREADS): Remove.
(_GLIBCPP_SUPPORTS_WEAK): Add (required by namespace-clean gthr*.h).
(_GLIBCPP_HAVE_GTHR_DEFAULT): Likewise.
* config.h.in: Regenerate.
* acinclude.m4 (GLIBCPP_ENABLE_THREADS): Completely rework to
setup and use gthr*.h files. In particular, make gthr.h files
namespace-clean in the staging area (they don't have to be for
libgcc.a).
* aclocal.m4: Regenerate.
* configure: Regenerate.
* src/Makefile.am (build_headers): Remove bits/c++threads.h
and add bits/gthr.h bits/gthr-single.h bits/gthr-default.h.
* src/Makefile.in: Regenerate.
* include/bits/c++config: Cleanup threading configuration macros.
In particular, define __STL_GTHREADS macro which controls...
* include/bits/stl_threads.h: ...a brand new gthr.h-based
configuration here.
* config/c_io_stdio.h: Include staged gthr.h instead of local
thread configuration file. Always use __gthread_mutex_t
instead of __mutext_type (or int).
* include/bits/std_fstream.h: Likewise.
* docs/html/17_intro/howto.html: Remove placeholder comment in
case this configuration patch didn't make it. Add advice that
section only applies if configured with --enable-threads.
* docs/html/23_containers/howto.html: Reword to make clear
that _PTHREADS is no longer required for any port to be
correctly using STL with threads. Add advice that section
only applies if configured with --enable-threads.
Co-Authored-By: John David Anglin <dave@hiauly1.hia.nrc.ca>
From-SVN: r42998
2001-06-08 03:53:35 +00:00
Hans-Peter Nilsson
04e7878615
Makefile.am (VPATH): Delimit with ":", not space.
...
* src/Makefile.am (VPATH): Delimit with ":", not space.
* src/Makefile.in: Regenerate.
* configure.in (use of GLIBCPP_CHECK_GNU_MAKE): Don't fail if GNU
make isn't found.
* configure: Regenerate.
From-SVN: r42774
2001-06-01 09:22:05 +00:00
Benjamin Kosnik
bfa1e6b11b
acconfig.h (_GLIBCPP_BUGGY_FLOAT_COMPLEX): Remove.
...
2001-05-30 Benjamin Kosnik <bkoz@redat.com>
* acconfig.h (_GLIBCPP_BUGGY_FLOAT_COMPLEX): Remove.
(_GLIBCPP_BUGGY_COMPLEX): Remove.
* config.h.in: Regenerate.
* acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_COMPILER_SUPPORT): Remove.
* aclocal.m4: Regenerate.
* configure.in: Don't call it.
* configure: Regenerate.
libstdc++/2970
* src/complex_io.cc (operator<<(ostream&, const complex&): Fix.
* testsuite/26_numerics/complex_inserters_extractors.cc (test01):
New test.
libstdc++/2985
* include/bits/std_complex.h: Include sstream. Put definitions for
complex inserters and extractors here, and remove them from...
* src/complex_io.cc: ...here.
* include/bits/basic_ios.h (basic_ios::__numput_type): Add _Traits
parameter.
(basic_ios::__numget_type): Same.
* include/bits/std_istream.h: Same.
* include/bits/std_ostream.h: Same.
* include/bits/sbuf_iter.h (ostreambuf_iterator): Fix typo in base
class iterator template arguments.
* src/locale-inst.cc: Add explicit has_facet instantiations.
* include/bits/basic_ios.h (basic_ios::_M_get_fctype_ios): Remove.
(_M_get_fnumput): Remove.
(_M_get_fnumget): Remove.
(basic_ios::_M_check_facet): New function.
(basic_ios::_M_cache_facets): New function.
* include/bits/basic_ios.tcc: Definition for _M_cache_facets.
(basic_ios::imbue): Call _M_cache_facets.
(basic_ios::init): Same.
* include/bits/istream.tcc: Format, use _M_check_facet.
* include/bits/ostream.tcc: Same.
* include/bits/locale_facets.tcc (__output_float): Change
signature, add _Traits.
* testsuite/26_numerics/complex_inserters_extractors.cc (test02):
New test.
From-SVN: r42743
2001-05-31 12:14:56 +00:00
Phil Edwards
54eb01bee0
acinclude.m4 (GLIBCPP_ENABLE_C99): Reorder output messages.
...
2001-05-30 Phil Edwards <pme@sources.redhat.com>
* acinclude.m4 (GLIBCPP_ENABLE_C99): Reorder output messages.
* aclocal.m4: Regenerate.
* configure: Regenerate.
From-SVN: r42712
2001-05-30 17:05:02 +00:00
Benjamin Kosnik
bd937d500d
[multiple changes]
...
2001-05-25 Benjamin Kosnik <bkoz@redhat.com>
other/2931
* acinclude.m4 (GLIBCPP_ENABLE_C99): Use AC_TRY_COMPILE.
* aclocal.m4: Regenerate.
* configure: Same.
2001-05-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
Phil Edwards <pme@sources.redhat.com>
Alexandre Oliva <aoliva@redhat.com>
* acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
in an amd-safe manner. Revert glibcpp_prefixdir.
From-SVN: r42596
2001-05-25 21:53:51 +00:00
Alexandre Oliva
334564454e
ltconfig, [...]: Upgraded to libtool 1.4a 1.641.2.254.
...
* ltconfig, ltmain.sh, libtool.m4, ltcf-c.sh, ltcf-cxx.sh,
ltcf-gcj.sh: Upgraded to libtool 1.4a 1.641.2.254. Rebuilt a number
of subdir/configure scripts to use the new libtool.m4.
From-SVN: r42351
2001-05-20 18:55:59 +00:00
Phil Edwards
572051a275
acinclude.m4: Fix --help spacing, correct comments.
...
2001-05-19 Phil Edwards <pme@sources.redhat.com>
* acinclude.m4: Fix --help spacing, correct comments.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* mkcheck.in: Add usage comments.
* docs/html/documentation.html: Point to doxygen'd tarball.
From-SVN: r42316
2001-05-19 20:27:36 +00:00
Benjamin Kosnik
52a5725062
acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir amd glibcpp_prefixdir with absolute paths.
...
2001-05-18 Benjamin Kosnik <bkoz@redhat.com>
* acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
amd glibcpp_prefixdir with absolute paths.
* include/bits/c++config (__GLIBCPP__): Bump.
* acinclude.m4 (GLIBCPP_CONFIGURE): Correct version number.
From-SVN: r42253
2001-05-18 07:24:24 +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
Alexandre Oliva
ede74510e5
acinclude.m4 (GLIBCPP_ENABLE_THREADS): Obtain target_thread_file with `gcc -v'.
...
* acinclude.m4 (GLIBCPP_ENABLE_THREADS): Obtain
target_thread_file with `gcc -v'.
* aclocal.m4, configure: Rebuilt.
From-SVN: r41570
2001-04-26 04:29:15 +00:00
Benjamin Kosnik
337187ff26
acinclude.m4 (CXX): Set to CXX so that in-directory re-configures find the build compiler.
...
2001-04-23 Benjamin Kosnik <bkoz@fillmore.constant.com>
* acinclude.m4 (CXX): Set to CXX so that in-directory
re-configures find the build compiler.
(GLIBCPP_ENABLE_C99): Do all tests with 0.0, not 0. Fixes
libstdc++/2609.
* aclocal.m4: Regenerate.
* configure: Regenerate.
From-SVN: r41506
2001-04-23 19:50:00 +00:00
Benjamin Kosnik
6c3a9f72bf
acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Make sure required C99 support is enabled correctly before long long is activated.
...
2001-04-20 Benjamin Kosnik <bkoz@redhat.com>
* acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Make sure required C99
support is enabled correctly before long long is activated.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* include/backward/backward_warning.h: Format correctly.
* testsuite/26_numerics/c99_classification_macros_c.cc: Add.
* testsuite/26_numerics/c99_classification_macros_c++.cc: Add.
* testsuite/26_numerics/c99_macros.cc: Remove.
From-SVN: r41470
2001-04-20 22:26:55 +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
Benjamin Kosnik
47e982b247
map_operators.cc: Add dg-excess-errors.
...
2001-04-17 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/23_containers/map_operators.cc: Add dg-excess-errors.
* testsuite/23_containers/set_operators.cc: Same.
* include/bits/c++config: Add _GLIBCPP_CONCEPT_CHECKS. Disable by
default.
(__GLIBCPP__): Bump from value of last release.
* include/bits/concept_check.h: Default to off, edit comments.
* src/stl-inst.cc: Use _GLIBCPP_CONCEPT_CHECKS.
* src/Makefile.am (AM_CXXFLAGS): Remove _GLIBCPP_NO_CONCEPT_CHECKS.
* src/Makefile.in: Regenerate.
From-SVN: r41397
2001-04-18 01:06:05 +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
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
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
Andreas Schwab
c53cf0fe5e
acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Fix syntax in test command.
...
* acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Fix syntax in test
command.
* aclocal.m4, configure: Regenerated.
From-SVN: r40321
2001-03-08 17:38:49 +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