Benjamin Kosnik
e9049f5741
std_cwctype.h: Include std_cwchar.h for wint_t.
...
2001-01-03 Benjamin Kosnik <bkoz@redhat.com>
* include/c_std/bits/std_cwctype.h: Include std_cwchar.h for wint_t.
* testsuite/17_intro/header_cwctype.cc (main): New file.
* src/Makefile.am (base_headers): Change.
* include/bits/std_string.h: And here.
* include/bits/string.tcc: Tweaks, move to...
* include/bits/basic_string.tcc: ...Here.
* src/string-inst.cc: Simplify, just instantiate the whole class,
not member-by-member.
From-SVN: r38693
2001-01-04 21:57:30 +00:00
Benjamin Kosnik
e61c3e8cde
std_cwctype.h: Include std_cwchar.h for wint_t.
...
2001-01-03 Benjamin Kosnik <bkoz@redhat.com>
* include/c_std/bits/std_cwctype.h: Include std_cwchar.h for wint_t.
* testsuite/17_intro/header_cwctype.cc (main): New file.
* src/Makefile.am (base_headers): Change.
* include/bits/std_string.h: And here.
* include/bits/string.tcc: Tweaks, move to...
* include/bits/basic_string.tcc: ...Here.
* src/string-inst.cc: Simplify, just instantiate the whole class,
not member-by-member.
From-SVN: r38679
2001-01-04 04:21:42 +00:00
Benjamin Kosnik
36e40658db
acinclude.m4 (GLIBCPP_ENABLD_CSTDIO): Add in default value.
...
2001-01-02 Benjamin Kosnik <bkoz@redhat.com>
* acinclude.m4 (GLIBCPP_ENABLD_CSTDIO): Add in default value.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* include/bits/c++config (__GLIBCPP__): Bump version number.
* ChangeLog: Start new log for year 2001
* ChangeLog-2000: New file.
* docs/html/configopts.html: Make sure default values are current,
From-SVN: r38663
2001-01-03 15:53:28 +00:00
Benjamin Kosnik
7b33122850
std_cwchar.h: Same.
...
2001-01-01 Benjamin Kosnik <bkoz@fillmore.redhat.com>
* include/c_std/bits/std_cwchar.h: Same.
* testsuite/17_intro/header_cwchar.cc: Same.
* include/c_std/bits/std_ctime.h: Same.
* testsuite/17_intro/header_ctime.cc: Same.
* include/c_std/bits/std_cstdlib.h: Same.
Clean up undefs, make consistent with cwchar and cmath, etc.
* testsuite/17_intro/header_cstdlib.cc: Same.
* include/c_std/bits/std_cstdio.h: Same here.
* testsuite/17_intro/header_cstring.cc: Same.
* include/c_std/bits/std_cstring.h: Include std_cstddef.h for size_t.
* testsuite/17_intro/header_cstring.cc: New file. Check for
size_t in namespace std.
* include/c_std/bits/std_cwchar.h: Explicit checks for mbstate_t.
* acconfig.h (HAVE_MBSTATE_T): Add.
* config.h.in: Regenerate.
* acinclude.m4(GLIBCPP_CHECK_WCHAR_T_SUPPORT): Always test for
mbstate_t.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* testsuite/17_intro/headers_c++.cc: New file.
* testsuite/17_intro/headers_c.cc: Small changes.
From-SVN: r38614
2001-01-02 07:38:47 +00:00
David Billinghurst
fb34ebc505
tests_flags.in: Fix typo in usage.
...
* tests_flags.in: Fix typo in usage.
* tests_flags.in: Set target specific LIBS for cygwin.
From-SVN: r38599
2001-01-01 16:14:43 -07:00
Alexandre Oliva
2b872543ba
* include/c_std/bits/std_cstdlib.h (mblen): Protect against macro.
...
From-SVN: r38574
2001-01-01 00:06:50 +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
Benjamin Kosnik
e63a5d07ad
000-12-22 Benjamin Kosnik <bkoz@fillmore.redhat.com>
...
Attempt to make locale visible in gdb.
* include/bits/std_locale.h: Remove codecvt.h include.
* include/bits/locale_facets.h: Add here, after ctype decls.
* include/bits/codecvt.h: Remove std namespace, as assumed to be
in std now.
* include/bits/locale_facets.h: Consistently move generic static
member definitions directly after generic facet declarations.
* include/bits/locale_facets.tcc: From here.
* src/locale.cc: Organize locale::id static definitions for
required facets.
* src/codecvt.cc (codecvt<char...>): Remove locale::id definition.
(codecvt<wchar_t...>): Same.
* src/localename: And here.
* include/bits/localefwd.h (_Count_ones): Change _S_count to _M_count.
Same for _M_halfcount.
From-SVN: r38450
2000-12-22 11:06:17 +00:00
Benjamin Kosnik
0a31609b5a
Attempt to make locale visible in gdb.
...
2000-12-22 Benjamin Kosnik <bkoz@fillmore.redhat.com>
Attempt to make locale visible in gdb.
* include/bits/std_locale.h: Remove codecvt.h include.
* include/bits/locale_facets.h: Add here, after ctype decls.
* include/bits/codecvt.h: Remove std namespace, as assumed to be
in std now.
* include/bits/locale_facets.h: Consistently move generic static
member definitions directly after generic facet declarations.
* include/bits/locale_facets.tcc: From here.
* src/locale.cc: Organize locale::id static definitions for
required facets.
* src/codecvt.cc (codecvt<char...>): Remove locale::id definition.
(codecvt<wchar_t...>): Same.
* src/localename: And here.
* include/bits/localefwd.h (_Count_ones): Change _S_count to _M_count.
Same for _M_halfcount.
(std): make locale::_Impl protected. CHANGE BACK
From-SVN: r38449
2000-12-22 11:03:33 +00:00
Alexandre Oliva
56b828c22c
Fix typo in previous patch
...
From-SVN: r38445
2000-12-22 08:15:27 +00:00
Alexandre Oliva
c2651d6650
mknumeric_limits: Output to temporary files, and rename them at the end.
...
* mknumeric_limits: Output to temporary files, and rename them at
the end.
From-SVN: r38443
2000-12-22 08:00:00 +00:00
Benjamin Kosnik
98e6e789f6
configure.in: Change GLIBCPP_ENABLE_SHADOW to GLIBCPP_ENABLE_CHEADERS.
...
2000-12-21 Benjamin Kosnik <bkoz@redhat.com>
* configure.in: Change GLIBCPP_ENABLE_SHADOW to
GLIBCPP_ENABLE_CHEADERS.
* acinclude.m4 (GLIBCPP_ENABLE_SHADOW): Change to
ENABLE_CHEADERS. C_INCLUDE_DIR defaults to c_std from c.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* include/c: Move to ...
* include/c_std: ...here.
* include/c_std: Move to ...
* include/c_shadow: ...here.
* include/c: Repopulate, with simple headers.
* docs/html/configopts.html: Adjust docs.
From-SVN: r38440
2000-12-22 00:27:01 +00:00
Benjamin Kosnik
74da183aea
configure.in: Change GLIBCPP_ENABLE_SHADOW to GLIBCPP_ENABLE_CHEADERS.
...
2000-12-21 Benjamin Kosnik <bkoz@redhat.com>
* configure.in: Change GLIBCPP_ENABLE_SHADOW to
GLIBCPP_ENABLE_CHEADERS.
* acinclude.m4 (GLIBCPP_ENABLE_SHADOW): Change to
ENABLE_CHEADERS. C_INCLUDE_DIR defaults to c_std from c.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* include/c: Move to ...
* include/c_std: ...here.
* include/c_std: Move to ...
* include/c_shadow: ...here.
* include/c: Repopulate, with simple headers.
* docs/html/configopts.html: Adjust docs.
From-SVN: r38439
2000-12-22 00:14:08 +00:00
Benjamin Kosnik
fb9affe790
configure.in: Change GLIBCPP_ENABLE_SHADOW to GLIBCPP_ENABLE_CHEADERS.
...
2000-12-21 Benjamin Kosnik <bkoz@redhat.com>
* configure.in: Change GLIBCPP_ENABLE_SHADOW to
GLIBCPP_ENABLE_CHEADERS.
* acinclude.m4 (GLIBCPP_ENABLE_SHADOW): Change to
ENABLE_CHEADERS. C_INCLUDE_DIR defaults to c_std from c.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* include/c: Move to ...
* include/c_std: ...here.
* include/c_std: Move to ...
* include/c_shadow: ...here.
* include/c: Repopulate, with simple headers.
* docs/html/configopts.html: Adjust docs.
From-SVN: r38438
2000-12-22 00:04:33 +00:00
Benjamin Kosnik
1aa040fc77
configure.in: Change GLIBCPP_ENABLE_SHADOW to GLIBCPP_ENABLE_CHEADERS.
...
2000-12-21 Benjamin Kosnik <bkoz@redhat.com>
* configure.in: Change GLIBCPP_ENABLE_SHADOW to
GLIBCPP_ENABLE_CHEADERS.
* acinclude.m4 (GLIBCPP_ENABLE_SHADOW): Change to
ENABLE_CHEADERS. C_INCLUDE_DIR defaults to c_std from c.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* include/c: Move to ...
* include/c_std: ...here.
* include/c_std: Move to ...
* include/c_shadow: ...here.
* include/c: Repopulate, with simple headers.
* docs/html/configopts.html: Adjust docs.
From-SVN: r38437
2000-12-21 23:58:35 +00:00
Benjamin Kosnik
2b8c76ef65
configure.in: Change GLIBCPP_ENABLE_SHADOW to GLIBCPP_ENABLE_CHEADERS.
...
2000-12-21 Benjamin Kosnik <bkoz@redhat.com>
* configure.in: Change GLIBCPP_ENABLE_SHADOW to
GLIBCPP_ENABLE_CHEADERS.
* acinclude.m4 (GLIBCPP_ENABLE_SHADOW): Change to
ENABLE_CHEADERS. C_INCLUDE_DIR defaults to c_std from c.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* include/c: Move to ...
* include/c_std: ...here.
* include/c_std: Move to ...
* include/c_shadow: ...here.
* include/c: Repopulate, with simple headers.
* docs/html/configopts.html: Adjust docs.
From-SVN: r38436
2000-12-21 23:54:19 +00:00
Benjamin Kosnik
8358c2c297
configure.in: Change GLIBCPP_ENABLE_SHADOW to GLIBCPP_ENABLE_CHEADERS.
...
2000-12-21 Benjamin Kosnik <bkoz@redhat.com>
* configure.in: Change GLIBCPP_ENABLE_SHADOW to
GLIBCPP_ENABLE_CHEADERS.
* acinclude.m4 (GLIBCPP_ENABLE_SHADOW): Change to
ENABLE_CHEADERS. C_INCLUDE_DIR defaults to c_std from c.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* include/c: Move to ...
* include/c_std: ...here.
* include/c_std: Move to ...
* include/c_shadow: ...here.
* include/c: Repopulate, with simple headers.
* docs/html/configopts.html: Adjust docs.
From-SVN: r38434
2000-12-21 23:15:18 +00:00
Benjamin Kosnik
e3123ab3ba
configure.in: Change GLIBCPP_ENABLE_SHADOW to GLIBCPP_ENABLE_CHEADERS.
...
2000-12-21 Benjamin Kosnik <bkoz@redhat.com>
* configure.in: Change GLIBCPP_ENABLE_SHADOW to
GLIBCPP_ENABLE_CHEADERS.
* acinclude.m4 (GLIBCPP_ENABLE_SHADOW): Change to
ENABLE_CHEADERS. C_INCLUDE_DIR defaults to c_std from c.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* include/c: Move to ...
* include/c_std: ...here.
* include/c_std: Move to ...
* include/c_shadow: ...here.
* include/c: Repopulate, with simple headers.
* docs/html/configopts.html: Adjust docs.
From-SVN: r38432
2000-12-21 22:52:51 +00:00
Benjamin Kosnik
d8147b1eb1
configure.in: Change GLIBCPP_ENABLE_SHADOW to GLIBCPP_ENABLE_CHEADERS.
...
2000-12-21 Benjamin Kosnik <bkoz@redhat.com>
* configure.in: Change GLIBCPP_ENABLE_SHADOW to
GLIBCPP_ENABLE_CHEADERS.
* acinclude.m4 (GLIBCPP_ENABLE_SHADOW): Change to
ENABLE_CHEADERS. C_INCLUDE_DIR defaults to c_std from c.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* include/c: Move to ...
* include/c_std: ...here.
* include/c_std: Move to ...
* include/c_shadow: ...here.
* include/c: Repopulate, with simple headers.
* docs/html/configopts.html: Adjust docs.
From-SVN: r38430
2000-12-21 22:46:27 +00:00
Joseph Myers
a9ab8db153
acinclude.m4, [...]: Change sourceware.cygnus.com and sources.redhat.com URLs for libstdc++ web...
...
* acinclude.m4, configure.in, mkcheck.in,
testsuite/21_strings/ctor_copy_dtor.cc,
testsuite/21_strings/inserters_extractors.cc,
testsuite/23_containers/map_operators.cc,
testsuite/23_containers/vector_element_access.cc,
testsuite/25_algorithms/lower_bound.cc,
testsuite/27_io/ifstream_members.cc,
testsuite/27_io/istream_extractor_arith.cc,
testsuite/27_io/istream_unformatted.cc,
testsuite/27_io/ofstream_members.cc,
testsuite/27_io/ostream_inserter_char.cc,
testsuite/27_io/ostream_inserter_other.cc,
testsuite/27_io/ostream_manip.cc, testsuite/27_io/streambuf.cc:
Change sourceware.cygnus.com and sources.redhat.com URLs for
libstdc++ web pages and list archives to point to gcc.gnu.org
* aclocal.m4, configure: Regenerate.
From-SVN: r38428
2000-12-21 22:08:39 +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
6abd2230b9
headers_c.cc (main): New file.
...
2000-12-20 Benjamin Kosnik <bkoz@fillmore.constant.com>
* testsuite/17_intro/headers_c.cc (main): New file.
* acinclude.m4 (SECTION_FLAGS): Only set if --enable-debug is not
passed.
(OPT_LDFLAGS): And here.
* aclocal.m4: Regenerate.
* configure: Regenerate.
From-SVN: r38393
2000-12-20 08:39:55 +00:00
Benjamin Kosnik
713c16f860
[multiple changes]
...
2000-12-20 Benjamin Kosnik <bkoz@fillmore.constant.com>
* testsuite/17_intro/headers_c.cc (main): New file.
* acinclude.m4 (SECTION_FLAGS): Only set if --enable-debug is not
passed.
(OPT_LDFLAGS): And here.
* aclocal.m4: Regenerate.
* configure: Regenerate.
2000-12-19 Curtis Janssen <cljanss@ca.sandia.gov>
* src/ios.cc (ios_base::_M_grow_words(int ix)): Fix libstdc++/1089.
* testsuite/27_io/ios_base_storage.cc (test01): New file.
From-SVN: r38392
2000-12-20 08:24:40 +00:00
Benjamin Kosnik
49caba3beb
ios.cc (ios_base::_M_grow_words(int ix)): Fix libstdc++/1089.
...
2000-12-19 Curtis Janssen <cljanss@ca.sandia.gov>
* src/ios.cc (ios_base::_M_grow_words(int ix)): Fix libstdc++/1089.
* testsuite/27_io/ios_base_storage.cc (test01): New file.
From-SVN: r38391
2000-12-20 08:04:41 +00:00
Benjamin Kosnik
205c6f1709
[multiple changes]
...
2000-12-19 Benjamin Kosnik <bkoz@fillmore.constant.com>
* configure.in: Don't turn on long long by default.
* configure: Regenerate.
* include/c/bits/std_cstdio.h: Remove c++config.h include.
* src/locale.cc: Formatting tweaks.
* testsuite/22_locale/ctype.cc (char<unsigned char>): Provide
member functions.
2000-12-19 Loren J. Rittle <ljrittle@acm.org>
* testsuite/22_locale/ctype.cc (test01): Correct ~ operator usage.
From-SVN: r38388
2000-12-19 22:55:07 +00:00
Benjamin Kosnik
f9ecb28c17
ctype.cc (test01): Correct ~ operator usage.
...
2000-12-19 Loren J. Rittle <ljrittle@acm.org>
* testsuite/22_locale/ctype.cc (test01): Correct ~ operator usage.
From-SVN: r38387
2000-12-19 20:10:41 +00:00
Mark Kettenis
36efdf10e5
configure.target: Support the Hurd.
...
2000-12-19 Mark Kettenis <kettenis@gnu.org>
* configure.target: Support the Hurd.
From-SVN: r38386
2000-12-19 20:02:13 +00:00
Benjamin Kosnik
62f4333a68
ctype_inline.h (is): Same.
...
2000-12-19 Benjamin Kosnik <bkoz@fillmore.redhat.com>
* config/os/solaris/solaris2.5/bits/ctype_inline.h (is): Same.
* config/os/solaris/solaris2.6/bits/ctype_inline.h (is): Same.
* config/os/solaris/solaris2.7/bits/ctype_inline.h (is): Same.
* config/os/newlib/bits/ctype_inline.h (is): Same.
* config/os/irix/bits/ctype_inline.h (is): Same.
* config/os/bsd/netbsd/bits/ctype_inline.h (is): Same.
* config/os/bsd/freebsd/bits/ctype_inline.h (is): Same.
* config/os/aix/bits/ctype_inline.h (is): Same.
* config/os/gnu-linux/bits/ctype_inline.h (is): Revert.
* config/os/generic/bits/ctype_inline.h (is): Non-table based
implementation.
* testsuite/22_locale/ctype_char_members.cc (test01): Use binary
operator correctly.
(test01): Check 'A' for alnum, upper, alpha.
From-SVN: r38385
2000-12-19 19:49:00 +00:00
Gabriel Dos Reis
0a9419ccca
std_complex.h (complex<float>::operator-=): Fix thinko.
...
* include/bits/std_complex.h (complex<float>::operator-=): Fix
thinko.
From-SVN: r38377
2000-12-19 11:21:14 +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
Joseph Myers
33ba48b619
COPYING: Update to current ftp://ftp.gnu.org/pub/gnu/Licenses/COPYING-2.0 (fixes...
...
* docs/html/17_intro/COPYING: Update to current
ftp://ftp.gnu.org/pub/gnu/Licenses/COPYING-2.0 (fixes references
to 19yy as example year in copyright notice).
From-SVN: r38341
2000-12-18 09:14:00 +00:00
Benjamin Kosnik
07467d31de
Makefile.am (myinstallheaders): Install backwards headers in prefix, not prefix/backward.
...
2000-12-14 Benjamin Kosnik <bkoz@fillmore.redhat.com>
* src/Makefile.am (myinstallheaders): Install backwards headers in
prefix, not prefix/backward.
* src/Makefile.in: Regenerate.
From-SVN: r38265
2000-12-15 00:55:02 +00:00
Benjamin Kosnik
21c2ca6c2f
acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Revert changes touching copysignf, atan2f, expf.
...
2000-12-14 Benjamin Kosnik <bkoz@haight.redhat.com>
* acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Revert changes
touching copysignf, atan2f, expf.
(GLIBCPP_CHECK_COMPLEX_MATH_SUPPORT): Add it back here.
* aclocal.m4: Regenerate.
* configure: Regenerate.
2
From-SVN: r38263
2000-12-14 23:42:27 +00:00
Benjamin Kosnik
2e7e7828d8
configure.in (CXX): Exit out if mknumeric_limits fails.
...
2000-12-14 Benjamin Kosnik <bkoz@fillmore.redhat.com>
* configure.in (CXX): Exit out if mknumeric_limits fails.
* mknumeric_limits (CXX): Use BUILD_DIR/g++, not g++ in
path. Consistency with tests_flags.in.
From-SVN: r38262
2000-12-14 22:53:59 +00:00
Benjamin Kosnik
3d182b4c2a
*.h: Remove include_next...
...
2000-12-14 Benjamin Kosnik <bkoz@redhat.com>
* include/c/bits/*.h: Remove include_next, replace with include,
as include_next does not work host-x-host, and include_next not
necessary.
From-SVN: r38256
2000-12-14 19:06:57 +00:00
Benjamin Kosnik
0c3a231d2f
locale_facets.h (ctype<char>): Remove throw specs not in base class signature.
...
2000-12-13 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/locale_facets.h (ctype<char>): Remove throw specs not in
base class signature.
* config/os/*/bits/ctype_inline.h (is): Same.
From-SVN: r38250
2000-12-14 09:19:56 +00:00
Benjamin Kosnik
65b66e1f90
locale_facets.h (ctype<char>): Remove throw specs not in base class signature.
...
2000-12-13 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/locale_facets.h (ctype<char>): Remove throw specs not in
base class signature.
From-SVN: r38249
2000-12-14 09:07:01 +00:00
Benjamin Kosnik
d9ab8adb37
ctype_base.h (ctype_base): Consistency with linux.
...
2000-12-13 Benjamin Kosnik <bkoz@redhat.com>
* config/os/generic/bits/ctype_base.h (ctype_base): Consistency
with linux.
* config/os/generic/bits/ctype_inline.h (is): Same.
* config/os/solaris/solaris2.5/bits/ctype_inline.h (is): Same.
* config/os/solaris/solaris2.5/bits/ctype_base.h: Same.
* config/os/solaris/solaris2.6/bits/ctype_inline.h (is): Same.
* config/os/solaris/solaris2.6/bits/ctype_base.h: Same.
* config/os/solaris/solaris2.7/bits/ctype_inline.h (is): Same.
* config/os/solaris/solaris2.7/bits/ctype_base.h: Same.
* config/os/irix/bits/ctype_inline.h (is): Same.
* config/os/irix/bits/ctype_base.h (ctype_base): Same.
* config/os/aix/bits/ctype_inline.h (is): Same.
* config/os/aix/bits/ctype_base.h (ctype_base): Same.
* config/os/bsd/netbsd/bits/ctype_inline.h (is): Same.
* config/os/bsd/netbsd/bits/ctype_base.h (ctype_base): Same.
* config/os/bsd/freebsd/bits/ctype_base.h (ctype_base): Same.
* config/os/bsd/freebsd/bits/ctype_inline.h (is): Same.
* config/os/newlib/bits/ctype_inline.h (is): Same.
* config/os/newlib/bits/ctype_base.h (ctype_base): Same.
* testsuite/22_locale/ctype_char_members.cc (test01): Add tests, fix.
* testsuite/22_locale/ctype.cc (test01): Add tests for
ctype_base::mask bitmask features.
* src/locale.cc: Define const static data for ctype_base.
* config/os/gnu-linux/bits/ctype_base.h (ctype_base): Make
ctype_base::mask type an integer type, not an enum.
* config/os/gnu-linux/bits/ctype_inline.h (is): Implement correctly.
* include/bits/locale_facets.h: Tweaks.
* include/bits/ios_base.h: Formatting tweaks.
* docs/html/17_intro/C++STYLE: Add.
From-SVN: r38243
2000-12-14 07:20:37 +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
Alexandre Petit-Bianco
09314637fc
Makefile.am (libstdc++.INC:): 2000-12-05 reverted to include 2000-11-12 hunk.
...
2000-12-10 Alexandre Petit-Bianco <apbianco@cygnus.com>
* src/Makefile.am (libstdc++.INC:): 2000-12-05 reverted to include
2000-11-12 hunk.
* src/Makefile.in: Rebuilt.
From-SVN: r38178
2000-12-10 12:51:22 -08:00
Jason Merrill
913ac9fa8e
auto_ptr.cc (test07): Remove test that tries to copy-initialize an auto_ptr<Base> from an...
...
* testsuite/20_util/auto_ptr.cc (test07): Remove test that tries
to copy-initialize an auto_ptr<Base> from an auto_ptr<Derived>; it
isn't supposed to work anymore.
From-SVN: r38171
2000-12-10 06:23:50 -05:00
Phil Edwards
bfcafa4fbe
Move the HTML-containing subdirs from 'docs' to 'docs/html'.
...
2000-12-09 Phil Edwards <pme@sources.redhat.com>
Move the HTML-containing subdirs from 'docs' to 'docs/html'.
* README: Update the locations of instructions.
* docs/doxygen/run_doxygen: New file, stub.
* docs/Makefile: Moved...
* docs/configopts.html: Likewise.
* docs/documentation.html: Likewise.
* docs/install.html: Likewise.
* docs/lib3styles.css: Likewise.
* docs/17_intro/BADNAMES: Likewise.
* docs/17_intro/BUGS: Likewise.
* docs/17_intro/C++STYLE: Likewise.
* docs/17_intro/CHECKLIST: Likewise.
* docs/17_intro/COPYING: Likewise.
* docs/17_intro/DESIGN: Likewise.
* docs/17_intro/HEADER_POLICY: Likewise.
* docs/17_intro/PROBLEMS: Likewise.
* docs/17_intro/RELEASE-NOTES: Likewise.
* docs/17_intro/TODO: Likewise.
* docs/17_intro/contribute.html: Likewise.
* docs/17_intro/headers_cc.txt: Likewise.
* docs/17_intro/howto.html: Likewise.
* docs/17_intro/libstdc++-assign.txt: Likewise.
* docs/17_intro/organization: Likewise.
* docs/17_intro/porting-howto.html: Likewise.
* docs/18_support/howto.html: Likewise.
* docs/19_diagnostics/howto.html: Likewise.
* docs/20_util/howto.html: Likewise.
* docs/21_strings/gotw29a.txt: Likewise.
* docs/21_strings/howto.html: Likewise.
* docs/21_strings/stringtok_h.txt: Likewise.
* docs/21_strings/stringtok_std_h.txt: Likewise.
* docs/22_locale/codecvt.html: Likewise.
* docs/22_locale/ctype.html: Likewise.
* docs/22_locale/howto.html: Likewise.
* docs/22_locale/locale.html: Likewise.
* docs/23_containers/howto.html: Likewise.
* docs/23_containers/wrappers_h.txt: Likewise.
* docs/24_iterators/howto.html: Likewise.
* docs/25_algorithms/howto.html: Likewise.
* docs/26_numerics/howto.html: Likewise.
* docs/27_io/howto.html: Likewise.
* docs/27_io/iostreams_hierarchy.pdf: Likewise.
* docs/ext/howto.html: Likewise.
* docs/faq/index.html: Likewise.
* docs/faq/index.txt: Likewise.
* docs/html/Makefile: ...to here.
* docs/html/configopts.html: Likewise.
* docs/html/documentation.html: Likewise.
* docs/html/install.html: Likewise.
* docs/html/lib3styles.css: Likewise.
* docs/html/17_intro/BADNAMES: Likewise.
* docs/html/17_intro/BUGS: Likewise.
* docs/html/17_intro/C++STYLE: Likewise.
* docs/html/17_intro/CHECKLIST: Likewise.
* docs/html/17_intro/COPYING: Likewise.
* docs/html/17_intro/DESIGN: Likewise.
* docs/html/17_intro/HEADER_POLICY: Likewise.
* docs/html/17_intro/PROBLEMS: Likewise.
* docs/html/17_intro/RELEASE-NOTES: Likewise.
* docs/html/17_intro/TODO: Likewise.
* docs/html/17_intro/contribute.html: Likewise.
* docs/html/17_intro/headers_cc.txt: Likewise.
* docs/html/17_intro/howto.html: Likewise.
* docs/html/17_intro/libstdc++-assign.txt: Likewise.
* docs/html/17_intro/organization: Likewise.
* docs/html/17_intro/porting-howto.html: Likewise.
* docs/html/18_support/howto.html: Likewise.
* docs/html/19_diagnostics/howto.html: Likewise.
* docs/html/20_util/howto.html: Likewise.
* docs/html/21_strings/gotw29a.txt: Likewise.
* docs/html/21_strings/howto.html: Likewise.
* docs/html/21_strings/stringtok_h.txt: Likewise.
* docs/html/21_strings/stringtok_std_h.txt: Likewise.
* docs/html/22_locale/codecvt.html: Likewise.
* docs/html/22_locale/ctype.html: Likewise.
* docs/html/22_locale/howto.html: Likewise.
* docs/html/22_locale/locale.html: Likewise.
* docs/html/23_containers/howto.html: Likewise.
* docs/html/23_containers/wrappers_h.txt: Likewise.
* docs/html/24_iterators/howto.html: Likewise.
* docs/html/25_algorithms/howto.html: Likewise.
* docs/html/26_numerics/howto.html: Likewise.
* docs/html/27_io/howto.html: Likewise.
* docs/html/27_io/iostreams_hierarchy.pdf: Likewise.
* docs/html/ext/howto.html: Likewise.
* docs/html/faq/index.html: Likewise.
* docs/html/faq/index.txt: Likewise.
From-SVN: r38166
2000-12-10 04:04:56 +00:00
Phil Edwards
85a011b076
acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): New conditional, GLIBCPP_BUILD_LIBIO, true iff building libio.
...
2000-12-08 Phil Edwards <pme@sources.redhat.com>
* acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): New conditional,
GLIBCPP_BUILD_LIBIO, true iff building libio.
* libio/Makefile.am: Use; set noinst_LTLIBRARIES empty if false.
* aclocal.m4: Regenerated.
* config.h.in: Regenerated.
* configure: Regenerated.
* libio/Makefile.in: Regenerated.
* libmath/Makefile.in: Regenerated.
From-SVN: r38138
2000-12-08 22:26:49 +00:00
Gabriel Dos Reis
0ba2a514ef
Makefile.am (EXTRA_LONG_DOUBLE_yes): Remove ccosl, cexpl, clog10l, csinhl, ctanhl, ctanl.
...
* libmath/Makefile.am (EXTRA_LONG_DOUBLE_yes): Remove ccosl,
cexpl, clog10l, csinhl, ctanhl, ctanl.
(EXTRA_DIST): Remove ccos, ccosf, csin, csinf, ccosh, ccoshf,
csing, csinhf, clog10, clog10f, ctan, ctanf, ctanh, ctanhf.
* libmath/Makefile.in: Regenarate.
* libmath/ccos.c: Remove.
* libmath/ccosf.c: Likewise.
* libmath/ccosl.c: Likewise.
* libmath/csin.c: Likewise.
* libmath/csinf.c: Likewise.
* libmath/csinl.c: Likewise.
* libmath/ctan.c: Likewise.
* libmath/ctanf.c: Likewise.
* libmath/ctanl.c: Likewise.
* libmath/ccosh.c: Likewise.
* libmath/ccoshf.c: Likewise.
* libmath/ccoshl.c: Likewise.
* libmath/csinh.c: Likewise.
* libmath/csinhf.c: Likewise.
* libmath/csinhl.c: Likewise.
* libmath/ctanh.c: Likewise.
* libmath/ctanhf.c: Likewise.
* libmath/ctanhl.c: Likewise.
* libmath/cexp.c: Likewise.
* libmath/cexpf.c: Likewise.
* libmath/cexpl.c: Likewise.
* libmath/clog10.c: Likewise.
* libmath/clog10f.c: Likewise.
* libmath/clog10l.c: Likewise.
* libmath/complex-stub.h: Remove forward declaration of functions
mentioned above.
* include/bits/std_complex.h(tan, tanh): Define primary templates.
(complex<>): Remove friend declarations for tan<> and tanh<>.
* src/complex.cc(tan, tanh): Remove specializations.
* acinclude.m4: Remove check for ccos, ccosf, ccosl, ccosh,
ccoshf, ccoshl, csin, csinf, csinl, csinh, csinhf, csinhl, cexp,
cexpf, cexpl, ctan, ctanf, ctanl, ctanh, ctanhf, ctanhl.
* aclocal.m4: Regenarate.
* configure: Regenarate.
From-SVN: r38128
2000-12-08 05:57:48 +00:00
Gabriel Dos Reis
ecddf6a806
acinclude.m4: Don't forget to remove check for cpowl as it is no longer needed...
...
* acinclude.m4: Don't forget to remove check for cpowl as it is no
longer needed, nor is the corresponding stub existent.
* aclocal.m4: Regenarate.
* configure: Regenarate.
From-SVN: r38127
2000-12-08 03:43:22 +00:00
Benjamin Kosnik
4716be24b5
ctype_base.h (ctype_base): Change space mask.
...
2000-12-07 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
* config/os/generic/bits/ctype_base.h (ctype_base): Change space mask.
* config/os/generic/bits/ctype_noninline.h (ctype): Remove default
arguments in definition.
* config/os/solaris/solaris2.7/bits/ctype_noninline.h (ctype): Same.
* config/os/solaris/solaris2.6/bits/ctype_noninline.h (ctype): Same.
* config/os/solaris/solaris2.5/bits/ctype_noninline.h (ctype): Same.
* config/os/newlib/bits/ctype_noninline.h (ctype): Same.
* config/os/irix/bits/ctype_noninline.h (ctype): Same.
* config/os/hpux/bits/ctype_noninline.h (ctype): Same.
* config/os/bsd/netbsd/bits/ctype_noninline.h (ctype): Same.
* config/os/bsd/freebsd/bits/ctype_noninline.h (ctype): Same.
* config/os/aix/bits/ctype_noninline.h (ctype): Same.
* include/bits/locale_facets.h: Tweak.
From-SVN: r38115
2000-12-07 20:49:10 +00:00
Benjamin Kosnik
167ed88f7a
locale_facets.h (ctype): Remove _Ctype_nois and _Ctype and replace with common __ctype_abstract_base.
...
2000-12-06 Benjamin Kosnik <bkoz@kredhat.com>
* include/bits/locale_facets.h (ctype): Remove _Ctype_nois and
_Ctype and replace with common __ctype_abstract_base.
(ctype<wchar_t>::_M_convert_to_wmask): Move to locale.cc.
* config/os/gnu-linux/bits/ctype_noninline.h (ctype<char>::ctype):
And here.
* config/os/solaris/solaris2.7/bits/ctype_noninline.h (ctype): Same.
* config/os/solaris/solaris2.6/bits/ctype_noninline.h (ctype): Same.
* config/os/solaris/solaris2.5/bits/ctype_noninline.h (ctype): Same.
* config/os/newlib/bits/ctype_noninline.h (ctype): Same.
* config/os/irix/bits/ctype_noninline.h (ctype): Same.
* config/os/hpux/bits/ctype_noninline.h (ctype): Same.
* config/os/generic/bits/ctype_noninline.h (ctype): Same.
* config/os/aix/bits/ctype_noninline.h (ctype): Same.
* config/os/bsd/netbsd/bits/ctype_noninline.h (ctype): Same.
* config/os/bsd/freebsd/bits/ctype_noninline.h (ctype): Same.
* src/locale-inst.cc: Clean instantiations.
* src/locale.cc (ctype<char>): Add definitions here.
(ctype<wchar_t>::_M_wmask): Move definitions here.
* config/os/generic/bits/ctype_inline.h (ctype<char>::is):
Implement in a generic way, with only "C" functionality and no
knowlege of the target os.
* config/os/generic/bits/os_defines.h: Change comments to C++ style.
* testsuite/22_locale/ctype_char_members.cc (test01): Add tests.
* include/bits/codecvt.h (ctype_byname): Remove specializations,
as not required.
* include/bits/localefwd.h (codecvt_byname): And here.
* src/codecvt.cc: Remove codecvt_byname specializations.
* include/c/bits/std_cstdio.h: Include c++config.h.
From-SVN: r38100
2000-12-07 06:44:49 +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
Richard Earnshaw
f0bffd9921
configure.target (*-*-freebsd, *-*-netbsd): Correct paths to os_include_dir.
...
* configure.target (*-*-freebsd, *-*-netbsd): Correct paths to
os_include_dir.
From-SVN: r38074
2000-12-06 21:04:19 +00:00