Jeffrey A Law
598730fe6e
configure.target (hpux): Set os_include_dir.
...
* configure.target (hpux): Set os_include_dir.
* config/os/hpux/bits/ctype_base.h: New file
* config/os/hpux/bits/ctype_inline.h: New file
* config/os/hpux/bits/ctype_noinline.h: New file
* config/os/hpux/bits/os_defines.h: New file
Forgot to commit last week...
From-SVN: r38061
2000-12-05 20:23:34 -07:00
Alexandre Petit-Bianco
239a3da093
Makefile.am (libstdc++.INC): Revert for libjava builds.
...
2000-12-05 Alexandre Petit-Bianco <apbianco@redhat.com>
* src/Makefile.am (libstdc++.INC): Revert for libjava builds.
* src/Makefile.in: Regenerate.
From-SVN: r38059
2000-12-06 03:05:12 +00:00
Benjamin Kosnik
a767e3837f
acinclude.m4 (EXTRA_CXX_FLAGS): And here.
...
2000-12-05 Benjamin Kosnik <bkoz@haight.redhat.com>
* acinclude.m4 (EXTRA_CXX_FLAGS): And here.
* include/c/bits/std_cstdlib.h (std ): Change macro to
_GLIBCPP_NEED_LLDIV_T.
* acconfig.h: Remove unused MBSTATE_T bits.
* configure.in: Same.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* config.h.in: Regenerate.
From-SVN: r38058
2000-12-06 02:35:27 +00:00
Benjamin Kosnik
d53c4221af
acinclude.m4: Change up to reflect new directory organization.
...
2000-12-05 Benjamin Kosnik <bkoz@fillmore.redhat.com>
* acinclude.m4: Change up to reflect new directory organization.
Add in bits for NetBSD.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* config/os/bsd: New directory.
* config/os/netbsd: Move to...
* config/os/bsd/netbsd: ...here.
* config/os/freebsd: Move to...
* config/os/bsd/freebsd: ...here.
From-SVN: r38056
2000-12-05 23:30:12 +00:00
Benjamin Kosnik
f4c79fef19
acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Check for lldiv_t.
...
2000-12-05 Benjamin Kosnik <bkoz@haight.redhat.com>
* acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Check for
lldiv_t. Allow the use of os-specific defines while checking for
long-long functions by the inclusion of os_defines.h.
* aclocal.m4: Regenerate.
* configure.in: Add comments.
* configure: Regenerate.
* acconfig.h: Add _GLIBCPP_HAVE_LLDIV_T.
* config.h.in: Regenerate.
* config/os/gnu-linux/bits/os_defines.h: Fix typos and
duplications in comments.
From-SVN: r38051
2000-12-05 22:03:19 +00:00
Richard Earnshaw
c87e46884b
ctype_base.h: Update comments about other BSD variants.
...
* config/os/freebsd/bits/ctype_base.h: Update comments about other
BSD variants.
From-SVN: r38037
2000-12-05 14:09:53 +00:00
Richard Earnshaw
0b971613de
*.h: Move here from config/os/bsd/bits.
...
* config/os/freebsd/bits/*.h: Move here from config/os/bsd/bits.
* aclocal.m4: Adjust accordingly.
* configure.target: Likewise.
* configure: Regenerate.
From-SVN: r38036
2000-12-05 14:05:34 +00:00
Richard Earnshaw
529dec15d8
atomicity.h: Add support for compiling Thumb code.
...
* config/cpu/arm/bits/atomicity.h: Add support for compiling Thumb
code.
From-SVN: r38033
2000-12-05 10:36:33 +00:00
Richard Earnshaw
11b176c156
Support for NetBSD.
...
* aclocal.m4: Add test for NetBSD's ctype support.
* configure: Regenerate.
* configure.target: Support NetBSD.
* config/os/netbsd/bits/ctype_base.h: New file.
* config/os/netbsd/bits/ctype_inline.h: New file.
* config/os/netbsd/bits/ctype_noinline.h: New file.
* config/os/netbsd/bits/os_defines.h: New file.
From-SVN: r38032
2000-12-05 10:29:47 +00:00
Gabriel Dos Reis
fad3e66e8e
complex.cc (pow): Remove definitions for explicit specializations.
...
* src/complex.cc (pow): Remove definitions for explicit
specializations.
* libmath/mathconf.h: Remove declarations for c_log, c_logf,
c_logl.
* libmath/complex-stub.h: Remove declarations for cpow, cpowf,
cpowl.
* libmath/cpow.c: Remove.
* libmath/cpowf.c: Remove.
* libmath/cpowl.c: Remove.
* libmath/Makefile.am (EXTRA_LONG_DOUBLE_yes): Remove c_logl,
cpowl,
(EXTRA_DIST): Remove c_log, c_logf, carg, cargf.
* libmath/Makefile.in: Regenarate.
* libmath/c_log.c: Remove
* libmath/c_logf.c: Likewise.
* libmath/c_logl.c: Likewise.
* libmath/carg.c: Likewise.
* libmath/cargf.c: Likewise.
* libmath/cargl.c: Likewise.
* include/bits/std_complex.h (pow): Define primary templates.
(complex<>): Remove friend declarations for pow<>().
* acinclude.m4: Remove check for c_log, c_logf, c_logl, carg,
cargf.
* aclocal.m4: Regenarate.
* configure: Regenarate.
From-SVN: r38025
2000-12-05 04:01:46 +00:00
Joseph Myers
2702080f01
configopts.html, [...]: Sync with wwwdocs.
...
* docs/configopts.html, docs/documentation.html,
docs/install.html, docs/17_intro/BADNAMES,
docs/17_intro/contribute.html, docs/17_intro/howto.html,
docs/18_support/howto.html, docs/19_diagnostics/howto.html,
docs/20_util/howto.html, docs/21_strings/howto.html,
docs/22_locale/howto.html, docs/23_containers/howto.html,
docs/24_iterators/howto.html, docs/25_algorithms/howto.html,
docs/26_numerics/howto.html, docs/27_io/howto.html,
docs/ext/howto.html, docs/faq/index.html, docs/faq/index.txt: Sync
with wwwdocs.
From-SVN: r37981
2000-12-03 23:47:49 +00:00
Phil Edwards
538f0be650
download.html: Remove.
...
2000-12-01 Phil Edwards <pme@sources.redhat.com>
* docs/download.html: Remove.
* docs/footer.ihtml: Remove.
* docs/header.ihtml: Remove.
* docs/index.html: Remove.
* docs/links.html: Remove.
* docs/mail.html: Remove.
* docs/status.html: Remove.
* docs/thanks.html: Remove.
From-SVN: r37943
2000-12-02 02:12:15 +00:00
Phil Edwards
c1428b5362
[multiple changes]
...
2000-12-01 Phil Edwards <pme@sources.redhat.com>
* mkcheck.in: Count static and shared results separately.
2000-12-01 Loren J. Rittle <ljrittle@acm.org>
* mkcheck.in: Correct typo.
From-SVN: r37924
2000-12-01 20:55:44 +00:00
Gabriel Dos Reis
a30dbb3960
cmath.cc: Remove.
...
* src/cmath.cc: Remove.
* src/Makefile.am (c_base_headers): Add bits/cmath.tcc.
(sources): Remove cmath.cc
* src/Makefile.in: Regenerate.
* include/c/bits/std_cmath.h (__cmath_power<>): Declare.
(__cmath_abs<>): New function.
(abs, fabs): Use __cmath_abs when no direct support is available.
(__pow_helper<>): New function.
(pow): Define here. Use __pow_helper<>.
* include/c/bits/cmath.tcc: New file.
From-SVN: r37901
2000-11-30 23:44:32 +00:00
Benjamin Kosnik
fc81ccd3e5
Fixes for build directories with colons, AIX build problems.
...
2000-11-29 Benjamin Kosnik <bkoz@redhat.com>
Fixes for build directories with colons, AIX build problems.
* src/Makefile.am: Cleanups, add documentation.
(libstdc++.INC): Simplify rule.
(myinstallheaders): Consolidate install rules.
(myinstalldirs): New, make directores.
(base_headers): Subdivide based on install directory.
(ext_headers): New.
(backward_headers): New.
(headers): Remove.
(c_headers): Remove, unused.
(c_shadow_headers): Split up, deal with conditional usage in a
sane manner.
* src/Makefile.in: Regenerate.
From-SVN: r37858
2000-11-29 21:30:30 +00:00
Phil Edwards
58884590a0
Sync with the documentation from wwwdocs.
...
2000-11-29 Phil Edwards <pme@sources.redhat.com>
Sync with the documentation from wwwdocs.
* docs/Makefile: New file (rebuilds FAQ text version).
* docs/configopts.html: Update.
* docs/documentation.html: Update.
* docs/download.html: Update.
* docs/index.html: Update.
* docs/install.html: Update.
* docs/links.html: Update.
* docs/mail.html: Update.
* docs/status.html: Update.
* docs/thanks.html: Update.
* docs/27_io/howto.html: Update.
* docs/faq/index.html: Update for 2.91.
* docs/faq/index.txt: Update for 2.91.
* docs/footer.html: Removed.
* docs/footer.ihtml: New file.
* docs/gccrebuild.html: Removed.
* docs/header.html: Removed.
* docs/header.ihtml: New file.
From-SVN: r37855
2000-11-29 20:37:02 +00:00
Loren J. Rittle
56f8f4fb75
tests_flags.in: Correct typo.
...
2000-11-29 Loren J. Rittle <ljrittle@acm.org>
* tests_flags.in: Correct typo.
From-SVN: r37840
2000-11-29 03:57:35 +00:00
Gabriel Dos Reis
a45a172a36
tests_flags (SH_FLAGS, ST_FLAGS): Move them back to ...
...
* tests_flags (SH_FLAGS, ST_FLAGS): Move them back to ...
* mkcheck.in (SH_FLAGS, ST_FLAGS): ...here
From-SVN: r37839
2000-11-29 03:54:39 +00:00
Gabriel Dos Reis
abfadcb132
Makefile.am (sources): Add bitset.cc
...
* src/Makefile.am (sources): Add bitset.cc
* src/Makefile.in: Regenrate.
* include/bits/std_bitset.h (_GLIBCPP_BITSET_BITS_PER_WORD): New
macro. Replace __BITS_PER_WORDS throughout.
(__BITS_PER_WORDS): Remove.
(bitset<>::_M_do_find_first, bitset<>::_M_do_find_next): Move
definitions to src/bitset.cc.
* src/bitset.cc (bitset<>::_M_do_find_first,
bitset<>::_M_do_find_next): Define here.
(_Bit_count<>::_S_bit_count, _Find_one<>::_S_first_one): Define
here. Explicitly instantiate definitions.
From-SVN: r37837
2000-11-29 01:09:09 +00:00
Franz Sirl
79f41ea419
atomicity.h (__exchange_and_add): Silence preprocessor multi-line string warnings.
...
2000-11-28 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* config/cpu/powerpc/bits/atomicity.h (__exchange_and_add): Silence
preprocessor multi-line string warnings.
(__atomic_add): Likewise.
(__compare_and_swap): Likewise.
(__always_swap): Likewise.
(__test_and_set): Likewise.
* config/cpu/arm/bits/atomicity.h (__exchange_and_add): Likewise.
(__atomic_add): Likewise.
(__compare_and_swap): Likewise.
(__always_swap): Likewise.
(__test_and_set): Likewise.
From-SVN: r37831
2000-11-28 22:28:49 +00:00
Benjamin Kosnik
74d2f859d2
Update for 2.91 release.
...
2000-11-28 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
Update for 2.91 release.
* include/bits/c++config (__GLIBCPP__): Update.
* docs/17_intro/RELEASE-NOTES: Update.
* docs/status.html: Update, remove bogus autotools disinformation.
From-SVN: r37825
2000-11-28 20:33:39 +00:00
Benjamin Kosnik
8ce10512a9
tests_flags.in (LTCXX): Change CXX_FLAG to CXXFLAGS.
...
2000-11-27 Benjamin Kosnik <bkoz@redhat.com>
* tests_flags.in (LTCXX): Change CXX_FLAG to CXXFLAGS.
* testsuite/22_locale/ctor_copy_dtor.cc: Adjust formatting.
* testsuite/27_io/istream_extractor_arith.cc (test11): New
testcase, based on libstdc++/90.
From-SVN: r37813
2000-11-28 09:34:08 +00:00
Franz Sirl
079c384ce3
atomicity.h (__exchange_and_add): Add __volatile__ to asm.
...
2000-11-27 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* config/cpu/arm/bits/atomicity.h (__exchange_and_add): Add
__volatile__ to asm.
(__atomic_add): Likewise.
(__compare_and_swap): Likewise.
(__always_swap): Likewise.
(__test_and_set): Likewise.
From-SVN: r37805
2000-11-27 20:07:17 +00:00
Franz Sirl
6bd7b1bb37
atomicity.h: Replace '__ATOMICITY_INLINE' with 'inline'.
...
2000-11-27 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* config/cpu/powerpc/bits/atomicity.h: Replace '__ATOMICITY_INLINE'
with 'inline'.
(__ex__atomic_add): Add __volatile__ to asm.
(__atomic_add): Likewise.
(__compare_and_swap): Likewise.
(__always_swap): Likewise.
(__test_and_set): Likewise.
From-SVN: r37802
2000-11-27 18:17:40 +00:00
Gabriel Dos Reis
f6b60eb426
tests_flags.in: Update documentation to reflect the change below.
...
2000-11-27 Gabriel Dos Reis <gdr@codesourcery.com>
* tests_flags.in: Update documentation to reflect the change
below.
From-SVN: r37789
2000-11-27 10:01:52 +00:00
Benjamin Kosnik
c383aafd3a
[multiple changes]
...
2000-11-26 Benjamin Kosnik <bkoz@fillmore.constant.com>
* tests_flags.in: Export CXX, CXXFLAGS.
* mkcheck.in: Grab them.
2000-11-26 David Billinghurst <David.Billinghurst@riotinto.com>
Benjamin Kosnik <bkoz@redhat.com>
* mkcheck.in: Add exe extension to printnow executable, abstract
out call to this with TIMER_COMMAND.
* configure.target (l_glibcpp_cxxflags): Add cygwin support.
* acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Correct paths.
* aclocal.m4: Regenerate.
* configure: Regenerate.
From-SVN: r37780
2000-11-27 06:04:16 +00:00
Benjamin Kosnik
158227a66a
istream_unformatted.cc (test05): Fixup.
...
2000-11-26 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/27_io/istream_unformatted.cc (test05): Fixup.
From-SVN: r37769
2000-11-27 03:02:00 +00:00
Benjamin Kosnik
44382959be
acinclude.m4: Only sanity check for compiler version when configuring.
...
2000-11-26 Benjamin Kosnik <bkoz@redhat.com>
* acinclude.m4: Only sanity check for compiler version when
configuring. More fixes for 'make clean'.
* aclocal.m4: Regenerate.
* configure: Regenerate.
From-SVN: r37768
2000-11-27 00:05:39 +00:00
Gabriel Dos Reis
97c66a5018
Makefile.am (EXTRA_LONG_DOUBLE_yes): Remove cabsl.c
...
* libmath/Makefile.am (EXTRA_LONG_DOUBLE_yes): Remove cabsl.c
* libmath/Makefile.in: Regenerate.
* libmath/cabs.c: Remove.
* libmath/cabsf.c: Likewise.
* libmath/cabsl.c: Likewise.
* libmath/complex-stub.h: Remove declarations for cabs*.
* acinclude.m4: Remove check for cabs*.
* aclocal.m4: Regenerate.
* Makefile.in: Regenerate.
From-SVN: r37758
2000-11-26 15:16:32 +00:00
Gabriel Dos Reis
b21218ce2e
tests_flags.in: New file.
...
libstdc++-v3:
* tests_flags.in: New file. Split out of ...
* mkcheck.in: ... this. Move flags computation into
tests_flags.in.
* configure.in: Add support for tests_flags.
* confiigure: Regenerate.
gcc/testsuite:
* lib/g++.exp (g++_include_flags): Invoke 'tests_flags --compiler'
instead of 'mkcheck 2'.
From-SVN: r37756
2000-11-26 12:20:50 +00:00
Joseph Myers
7ee9826b89
acinclude.m4: Change C9X references to refer to C99.
...
* acinclude.m4: Change C9X references to refer to C99.
* aclocal.m4, configure: Regenerate.
* config/os/gnu-linux/bits/os_defines.h, src/complex.cc,
testsuite/22_locale/codecvt_wchar_t_char.cc,
include/bits/stl_config.h, include/c/bits/std_cwchar.h,
libmath/mathconf.h: Change C9X references to refer to C99.
From-SVN: r37743
2000-11-25 19:36:53 +00:00
Benjamin Kosnik
85fe381069
Makefile.am (INCLUDES): Remove unconditional use of _GNU_SOURCE and _ISOC99_SOURCE macros.
...
2000-11-25 Benjamin Kosnik <bkoz@redhat.com>
Richard Earnshaw <rearnsha@arm.com>
* src/Makefile.am (INCLUDES): Remove unconditional use of
_GNU_SOURCE and _ISOC99_SOURCE macros.
* src/Makefile.in: Regenerate.
Co-Authored-By: Richard Earnshaw <rearnsha@arm.com>
From-SVN: r37736
2000-11-25 09:11:15 +00:00
Benjamin Kosnik
35a63b9486
codecvt_wchar_t_char.cc (main): Add _GLIBCPP_USE_WCHAR_T guards.
...
2000-11-24 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
* testsuite/22_locale/codecvt_wchar_t_char.cc (main): Add
_GLIBCPP_USE_WCHAR_T guards.
* configure.in (AC_OUTPUT_COMMANDS): Remove, just run scripts as
is, so that checks for existence of generated files actually work.
* configure: Regenerate.
From-SVN: r37723
2000-11-24 23:48:45 +00:00
Hans-Peter Nilsson
d0c3e4f498
os_defines.h: Include <features.h>.
...
* config/os/gnu-linux/bits/os_defines.h: Include <features.h>.
If not glibc 2.1 or higher, include <gnu/types.h> and define
__off64_t as __loff_t and #define __THROW as empty.
* libio/libio.h [__P]: Move __THROW and __PMT into their own
ifndef:s.
From-SVN: r37695
2000-11-23 11:30:46 +00:00
Benjamin Kosnik
4ce69c7f61
Make deprecated strstream header consistent with new and new.h.
...
2000-11-22 Benjamin Kosnik <bkoz@redhat.com>
Make deprecated strstream header consistent with new and new.h.
* include/backward/strstream.h: Add. Use using declarations to
scope strstreambuf, istrstream, ostrstream, strstream to global
scope.
* include/backward/strstream: Remove using declarations.
* src/Makefile.am (base_headers): Add strstream.
* src/Makefile.in: Regenerate.
* include/backward/new.h (_CPP_BACKWARD_NEW_H): Change macro guard
to be consistent with other headers.
From-SVN: r37692
2000-11-23 06:46:31 +00:00
David Edelsohn
54214152bd
* porting.texi: Expand libtool information.
...
From-SVN: r37688
2000-11-23 00:51:07 -05:00
Gabriel Dos Reis
23a5b4448c
ios_base.h (ios_base::failure::~failure, [...]): Move defintion to ...
...
* include/bits/ios_base.h (ios_base::failure::~failure,
ios_base::failure::what): Move defintion to ...
* src/ios.cc (ios_base::failure::~failure): ... here.
src/ios.cc (ios::failure::what): Likewise.
From-SVN: r37684
2000-11-23 04:53:40 +00:00
Richard Henderson
ea88c0f77e
ctype_inline.h (is): Fix order of expressions.
...
2000-11-22 Richard Henderson <rth@redhat.com>
* config/os/bsd/bits/ctype_inline.h (is): Fix order of expressions.
From-SVN: r37681
2000-11-23 03:03:33 +00:00
Phil Edwards
c361fee040
porting.texi: Minor tweaks to vocabulary.
...
2000-11-22 Phil Edwards <pme@sources.redhat.com>
* porting.texi: Minor tweaks to vocabulary.
From-SVN: r37675
2000-11-22 23:23:53 +00:00
Loren J. Rittle
5789a524a6
strstream.h: Reinstate the `using' statements.
...
2000-11-22 Loren J. Rittle <ljrittle@acm.org>
* include/backward/strstream.h: Reinstate the `using'
statements.
From-SVN: r37660
2000-11-22 18:06:53 +00:00
Loren J. Rittle
eed86de8ac
Makefile.am (base_headers): Add missing backwards headers.
...
2000-11-22 Loren J. Rittle <ljrittle@acm.org>
* src/Makefile.am (base_headers): Add missing backwards headers.
* src/Makefile.in: Regenerate.
From-SVN: r37659
2000-11-22 17:55:06 +00:00
Scott Snyder
88628656c4
c_io_stdio.cc (seekoff): Fix return value.
...
2000-11-21 scott snyder <snyder@fnal.gov>
* config/c_io_stdio.cc (seekoff): Fix return value.
(seekpos): Likewise.
(sys_seek): Likewise.
From-SVN: r37658
2000-11-22 17:41:48 +00:00
Loren J. Rittle
5388a89aac
mkcheck.in (explanation): Retain output of all failing compiles.
...
2000-11-21 Loren J. Rittle <ljrittle@acm.org>
* mkcheck.in (explanation): Retain output of all failing
compiles. Don't add gratuitous space to the log file.
From-SVN: r37639
2000-11-22 02:15:49 +00:00
Benjamin Kosnik
5feb272b7a
strstream.cc: Adjust includes.
...
2000-11-21 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
* src/strstream.cc: Adjust includes.
* src/Makefile.am (base_headers): Remove std_strstream.h, add
backwards/strstream.h.
(std_headers): Remove strstream.
* src/Makefile.in: Regenerate.
* libsupc++/Makefile.am (headers): Remove new.h
* libsupc++/Makefile.in: Regenerate.
* include/std/strstream: Remove.
* include/backward/strstream.h: Replace with...
* include/bits/std_strstream.h: ...this. Move.
* include/backward/complex.h: Remove SGIisms.
* include/backward/streambuf.h: Same.
* include/backward/stream.h: Same.
* include/backward/ostream.h: Same.
* include/backward/istream.h: Same.
* include/backward/iostream.h: Same.
* include/backward/iomanip.h: Same.
* include/backward/fstream.h: Same.
* libsupc++/new.h: Add using declarations for bad_alloc,
nothrow_t, and nothrow, move to ...
* include/backward/new.h: ...here.
From-SVN: r37632
2000-11-22 00:05:16 +00:00
Benjamin Kosnik
63e749a813
strstream.h: Replace with...
...
2000-11-21 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
* include/backward/strstream.h: Replace with...
* include/bits/std_strstream.h: ...this. Move.
* include/backward/complex.h: Remove SGIisms.
* include/backward/streambuf.h: Same.
* include/backward/stream.h: Same.
* include/backward/ostream.h: Same.
* include/backward/istream.h: Same.
* include/backward/iostream.h: Same.
* include/backward/iomanip.h: Same.
* include/backward/fstream.h: Same.
* libsupc++/new.h: Add using declarations for bad_alloc,
nothrow_t, and nothrow, move to ...
* include/backward/new.h: ...here.
From-SVN: r37631
2000-11-21 23:44:50 +00:00
Mark Mitchell
f45d23308a
* porting.texi: New file.
...
From-SVN: r37630
2000-11-21 22:59:13 +00:00
Branko Cibej
b6bcb20e17
os_defines.h: Define _XOPEN_SOURCE...
...
2000-11-21 Branko Cibej <brankoe@xbc.nu>
* config/os/solaris/solaris2.6/bits/os_defines.h: Define
_XOPEN_SOURCE, _LARGEFILE64_SOURCE, __EXTENSIONS__, __off_t,
__off64_t and __ssize_t.
* config/os/solaris/solaris2.5/bits/os_defines.h: For now, use the
same configuration as above.
From-SVN: r37628
2000-11-21 21:58:28 +00:00
Benjamin Kosnik
819004bbd0
acinclude.m4 (AC_LC_MESSAGES): Check for locale.h.
...
2000-11-21 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
* acinclude.m4 (AC_LC_MESSAGES): Check for locale.h.
* aclocal.m4: Regenerate.
* configure: Renerate.
From-SVN: r37626
2000-11-21 20:53:36 +00:00
Benjamin Kosnik
66bc5940f1
mkcheck.in (explanation): Don't paste output of passing compiles into log file.
...
2000-11-20 Benjamin Kosnik <bkoz@redhat.com>
* mkcheck.in (explanation): Don't paste output of passing compiles
into log file. Use -static. Get version info.
* testsuite/23_containers/vector_ctor.cc (test02): Fix thinko.
From-SVN: r37606
2000-11-21 07:32:03 +00:00
Gabriel Dos Reis
b555ebaa9e
std_complex.h (complex<double>): Constructor complex<double>::complex(const complex<float>&) is not explicit...
...
2000-11-21 Gabriel Dos Reis <gdr@codesourcery.com>
* include/bits/std_complex.h (complex<double>): Constructor
complex<double>::complex(const complex<float>&) is not explicit;
since it is a promotion.
(complex<long double>): Constructors taking complex<float> and
complex<double> are not explicit.
From-SVN: r37599
2000-11-21 00:08:02 +00:00
Benjamin Kosnik
5e90dd7193
std_complex.h: Tweaks, include cmath for abs overloads.
...
2000-11-20 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/std_complex.h: Tweaks, include cmath for abs overloads.
* src/complex.cc: Remove cmath include, formatting tweaks, remove
dead code.
* include/c/bits/std_cmath.h: Formatting tweaks.
* testsuite/26_numerics/complex_value.cc: New file, for catching
bits gleaned from libstdc++/106.
* testsuite/23_containers/vector_ctor.cc (test02): Add test from
libstdc++/102.
From-SVN: r37591
2000-11-20 21:13:45 +00:00
Joseph Myers
78d58962af
c++config, [...]: Correct spelling of "deprecated".
...
* include/bits/c++config, include/bits/ios_base.h,
include/bits/std_streambuf.h: Correct spelling of "deprecated".
From-SVN: r37580
2000-11-20 08:25:18 +00:00
Mark Mitchell
2650255a57
decl.c (init_decl_processing): Correct name of pure virtual function under the new ABI.
...
* decl.c (init_decl_processing): Correct name of pure virtual
function under the new ABI.
* rtti.c (throw_bad_cast): Likewise, for bad cast function.
(throw_bad_typeid): Likewise for bad typeid function.
* libsupc++/exception_support.cc (__throw_bad_cast): Name it
__cxa_bad_cast under the new ABI.
(__throw_bad_typeid): Name it __cxa_bad_typeid under the new ABI.
* libsupc++/pure.cc (__pure_virtual): Name it __cxa_pure_virtual
under the new ABI.
From-SVN: r37575
2000-11-19 21:07:24 +00:00
Mark Mitchell
f1f0c5a2f7
exception_support.h: New header file.
...
* libsupc++/exception_support.h: New header file.
* libsupc++/vec.cc: Include it.
(__cxa_vec_new2): Recatch exceptions before rethrows.
(__cxa_vec_new3): Likewise.
(__cxa_vec_ctor): Likewise.
(__cxa_vec_cctor): Likewise.
(__cxa_vec_dtor): Likewise.
(__cxa_vec_delete2): Likewise.
(__cxa_vec_delete3): Likewise.
From-SVN: r37551
2000-11-19 02:22:53 +00:00
Theodore Papadopoulo
c55d267039
stl_tree.h: Overload operators == and != to be able to handle the case...
...
2000-11-17 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
* include/bits/stl_tree.h: Overload operators == and != to be able
to handle the case (const_iterator,iterator) and
(iterator,const_iterator), thus fixing libstdc++/737 and the like.
* testsuite/23_containers/map_operators.cc (test02): New tests.
From-SVN: r37532
2000-11-17 22:59:03 +00:00
Benjamin Kosnik
c9b6c28211
stl_tree.h: Overload operators == and != to be able to handle the case...
...
2000-11-17 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
* include/bits/stl_tree.h: Overload operators == and != to be able
to handle the case (const_iterator,iterator) and
(iterator,const_iterator), thus fixing libstdc++/737 and the like.
From-SVN: r37531
2000-11-17 22:58:19 +00:00
Loren J. Rittle
8e2d9424bf
acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Correct last patch to ``make --enable-cstdio=stdio the default''.
...
* acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Correct last patch
to ``make --enable-cstdio=stdio the default''.
* libstdc++-v3/aclocal.m4: Rebuilt.
* libstdc++-v3/configure: Rebuilt.
From-SVN: r37529
2000-11-17 22:38:49 +00:00
Phil Edwards
6414587c8b
acinclude.m4 (GLIBCPP_ENABLE_ATOMICITY): Move switch statement contents to...
...
2000-11-17 Phil Edwards <pme@sources.redhat.com>
* acinclude.m4 (GLIBCPP_ENABLE_ATOMICITY): Move switch statement
contents to...
* configure.target: ...here. Enable generic atomic ops, and warn.
* aclocal.m4: Regenerated.
* configure: Ditto.
* Makefile.in: Ditto.
* libio/Makefile.in: Ditto.
* libmath/Makefile.in: Ditto.
* libsupc++/Makefile.in: Ditto.
* src/Makefile.in: Ditto.
From-SVN: r37524
2000-11-17 20:35:06 +00:00
Loren J. Rittle
5af655ccee
locale_facets.tcc (num_get<_CharT, [...]): Add missing typename keyword.
...
* include/bits/locale_facets.tcc (num_get<_CharT,
_InIter>::do_get(...)): Add missing typename keyword.
From-SVN: r37513
2000-11-17 05:38:04 +00:00
Mark Mitchell
e26cb7aba1
acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Make --enable-cstdio=stdio the default.
...
* acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Make
--enable-cstdio=stdio the default. Disable wide character support
in that event.
* configure.in: Move GLIBCPP_ENABLE_C_MBCHAR after
(GLIBCPP_ENABLE_CSTDIO).
* config/c_io_stdio.h: Don't include <libio.h>, don't define
__c_wfile_type.
* aclocal.m4: Regenerated.
* configure: Likewise.
* Makefile.in: Likewise.
* libio/Makefile.in: Likewise.
* libmath/Makefile.in: Likewise.
* libsupc++/Makefile.in: Likewise.
* src/Makefile.in: Likewise.
From-SVN: r37509
2000-11-17 01:04:02 +00:00
Gerald Pfeifer
cdb3cf8546
* config/c_io_stdio.h: Include stddef.h.
...
From-SVN: r37502
2000-11-16 17:45:11 +00:00
Mark Mitchell
35ef21d256
c_io_stdio.h (streamsize): Make it a typedef for ptrdiff_t.
...
* config/c_io_stdio.h (streamsize): Make it a typedef for
ptrdiff_t.
(wstreamsize): Likewise.
From-SVN: r37496
2000-11-16 09:26:14 +00:00
Mark Mitchell
c135a22c31
* config/c_io_stdio.h: Include libio.h.
...
From-SVN: r37495
2000-11-16 09:20:48 +00:00
Mark Mitchell
c4d3f801a6
acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Substitute libio_la.
...
* acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Substitute libio_la.
* src/Makefile.am (libstdc___la_LIBADD): Use it.
* aclocal.m4: Regenerated.
* configure: Likewise.
* Makefile.in: Likewise.
* libio/Makefile.in: Likewise.
* libmath/Makefile.in: Likewise.
* libsupc++/Makefile.in: Likewise.
* src/Makfile.in: Likewise.
From-SVN: r37491
2000-11-16 01:44:03 +00:00
Mark Mitchell
4f12dd3c7d
mkcheckin.in: Move check for bash version 2 later in the file.
...
* mkcheckin.in: Move check for bash version 2 later in the file.
* include/bits/basic_string.h (basic_string::_Rep::_S_max_size):
Make it const.
(basic_string::_Rep::_S_terminal): Likewise.
* include/bits/string.tcc (basic_string::_Rep::_S_max_size):
Likewise.
(basic_string::_Rep::_S_terminal): Likewise.
From-SVN: r37490
2000-11-16 01:03:20 +00:00
David Billinghurst
74e1cd2546
mkcheck.in: Add function size_command() for irix.
...
2000-11-15 David Billinghurst <David.Billinghurst@riotinto.com>
* mkcheck.in: Add function size_command() for irix.
From-SVN: r37488
2000-11-15 20:08:59 +00:00
Benjamin Kosnik
9f9359795c
acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPOR): Set LIBS back to initial value.
...
2000-11-14 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
* acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPOR): Set LIBS back to
initial value.
(GLIBCPP_EXPORT_INCLUDES): Only export TOPLEVEL_INCLUDES if
building a canadian cross. This should fix the remaining java
build issues.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* include/bits/c++config (__GLIBCPP__): Set release version for 2.91.
From-SVN: r37469
2000-11-14 21:05:05 +00:00
Benjamin Kosnik
5b20f7a054
acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPOR): Set LIBS back to initial value.
...
2000-11-14 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
* acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPOR): Set LIBS back to
initial value.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* include/bits/c++config (__GLIBCPP__): Set release version for 2.91.
From-SVN: r37457
2000-11-14 17:23:49 +00:00
Phil Edwards
acfb0fc56d
mkcheck.in: On a platform where we don't know how to extract section sizes...
...
2000-11-14 Phil Edwards <pme@sources.redhat.com>
* mkcheck.in: On a platform where we don't know how to extract
section sizes, just set them to zero. Use old method of reading
file contents.
From-SVN: r37454
2000-11-14 16:38:02 +00:00
Loren J. Rittle
daa54c4b74
c_io_stdio.h: Don't define __c_wfile_type when _GLIBCPP_USE_WCHAR_T is not defined.
...
* config/c_io_stdio.h: Don't define __c_wfile_type
when _GLIBCPP_USE_WCHAR_T is not defined.
From-SVN: r37453
2000-11-14 13:49:27 +00:00
Phil Edwards
d0941a315e
acinclude.m4 (GLIBCPP_CHECK_TARGET): New macro...
...
2000-11-13 Phil Edwards <pme@sources.redhat.com>
* acinclude.m4 (GLIBCPP_CHECK_TARGET): New macro, replacing
GLIBCPP_CHECK_CPU and GLIBCPP_CHECK_OS, sourcing configure.target.
(GLIBCPP_CONFIGURE): Call new macro here.
* configure.host: Cleanup.
* configure.in: Remove those two macros.
* configure.target: New file.
* aclocal.m4: Regenerated.
* configure: Ditto.
* Makefile.in: Ditto.
* libio/Makefile.in: Ditto.
* libmath/Makefile.in: Ditto.
* libsupc++/Makefile.in: Ditto.
* src/Makefile.in: Ditto.
* mkcheck.in: Use libtool. Split things out into functions.
From-SVN: r37443
2000-11-13 23:49:41 +00:00
Alexandre Petit-Bianco
b72554f1df
Makefile.am (tmp-libstdsc++.INC:): Do not use -I$(top_builddir).
...
2000-11-12 Alexandre Petit-Bianco <apbianco@cygnus.com>
* Makefile.am (tmp-libstdsc++.INC:): Do not use -I$(top_builddir).
* Makefile.in: Regenerate.
From-SVN: r37442
2000-11-13 23:38:41 +00:00
David Edelsohn
fef53cdcf2
acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Add test for libiconv.a providing wchar_t support functions.
...
2000-11-12 David Edelsohn <edelsohn@gnu.org>
* acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Add test for
libiconv.a providing wchar_t support functions.
* aclocal.m4: Regenerate.
From-SVN: r37441
2000-11-13 22:32:05 +00:00
Loren J. Rittle
66dfa1436f
acinclude.m4 (GLIBCPP_ENABLE_ATOMICITY): Handle FreeBSD.
...
2000-11-12 Loren J. Rittle <ljrittle@acm.org>
* acinclude.m4 (GLIBCPP_ENABLE_ATOMICITY): Handle FreeBSD.
* aclocal.m4, configure: Rebuilt.
From-SVN: r37439
2000-11-13 22:14:18 +00:00
Brent Verner
51d61f8686
wrap_langinfo.h: New file.
...
2000-11-12 Brent Verner <brent@rcfile.org>
* include/c_std/bits/wrap_langinfo.h: New file.
* include/c_std/langinfo.h: New file.
* include/bits/codecvt.h (__enc_trants::__enc_traits()): Bring in
CODESET from _C_legacy::CODESET if using shadow headers.
* src/Makefile.am: Add new files.
* src/Makefile.in: Regenerate.
From-SVN: r37437
2000-11-13 21:04:54 +00:00
Benjamin Kosnik
84e0b551f1
wrap_langinfo.h: New file.
...
2000-11-12 Brent Verner <brent@rcfile.org>
* include/c_std/bits/wrap_langinfo.h: New file.
* include/c_std/langinfo.h: New file.
* include/bits/codecvt.h (__enc_trants::__enc_traits()): Bring in
CODESET from _C_legacy::CODESET if using shadow headers.
From-SVN: r37436
2000-11-13 20:58:46 +00:00
Mark Mitchell
81dfdc485e
std_cmath.h (abs): Change extern "C" declaration of `abs (double)' to ...
...
* include/c/bits/std_cmath.h (abs): Change extern "C" declaration
of `abs (double)' to ...
(fabs): this.
From-SVN: r37413
2000-11-13 00:43:39 +00:00
Mark Mitchell
b5430af63f
os_defines.h: Define __EXTENSIONS__.
...
* config/os/solaris/solaris2.7/bits/os_defines.h: Define
__EXTENSIONS__.
From-SVN: r37412
2000-11-13 00:25:40 +00:00
Mark Mitchell
8d8523fe52
basic_file.h (__basic_file): Don't use __c_wfile_type when _GLIBCPP_USE_WCHAR_T is not defined.
...
* include/bits/basic_file.h (__basic_file): Don't use __c_wfile_type
when _GLIBCPP_USE_WCHAR_T is not defined.
From-SVN: r37400
2000-11-12 03:27:10 +00:00
Phil Edwards
585ddf9c47
codecvt.h (__iconv_adaptor): New adaptor function...
...
2000-11-10 Phil Edwards <pme@sources.redhat.com>
* include/bits/codecvt.h (__iconv_adaptor): New adaptor function,
courtesy of Alexandre Oliva, to handle const/non-const signatures.
(codecvt::do_out): Use.
(codecvt::do_in): And here.
From-SVN: r37379
2000-11-11 00:37:45 +00:00
Gabriel Dos Reis
ca6c441841
* include/bits/cpp_type_traits.h: Fix typos. Adjust formatting.
...
From-SVN: r37373
2000-11-10 17:48:15 +00:00
Gabriel Dos Reis
982b8443e8
localefwd.h (_Count_ones<>::_S_halfcount, [...]): Turn into enumerators.
...
* include/bits/localefwd.h (_Count_ones<>::_S_halfcount,
_Count_ones<>::_S_count): Turn into enumerators.
From-SVN: r37372
2000-11-10 17:34:49 +00:00
Mark Mitchell
11977a4239
codecvt.h (codecvt::do_out): Make it const-correct.
...
* include/bits/codecvt.h (codecvt::do_out): Make it const-correct.
(codecvt::do_in): Likewise.
From-SVN: r37332
2000-11-09 02:57:23 +00:00
David Edelsohn
02a480f137
locale-inst.cc: Add explicit instantiations of _M_fill_insert and fill_n<..., unsigned long,...> .
...
* src/locale-inst.cc: Add explicit instantiations of
_M_fill_insert and fill_n<..., unsigned long,...> .
From-SVN: r37324
2000-11-08 15:00:36 -05:00
Gabriel Dos Reis
6e124e38ba
* include/bits/std_complex.h (conj): Undo double removal.
...
From-SVN: r37311
2000-11-08 03:01:39 +00:00
Alexandre Oliva
aa17a5f382
acinclude.m4 (LIB_AC_PROG_CXX): Remove CXX from the list of alternatives for CXX_libstdcxx, now that it is useless.
...
* acinclude.m4 (LIB_AC_PROG_CXX): Remove CXX from the list of
alternatives for CXX_libstdcxx, now that it is useless.
* aclocal.m4, configure: Rebuilt.
From-SVN: r37283
2000-11-07 02:00:22 +00:00
Mark Mitchell
bb4127f8c9
acinclude.m4 (LIB_AC_PROG_CXX): Set CXX_libstdcxx from CXX.
...
* acinclude.m4 (LIB_AC_PROG_CXX): Set CXX_libstdcxx from CXX.
* aclocal.m4: Regenerated.
* configure: Likewise.
From-SVN: r37263
2000-11-05 02:38:53 +00:00
Mark Mitchell
f73bbdca85
use of `test'.
...
* aclocal.m4: Regenerated.
* configure: Likewise.
From-SVN: r37262
2000-11-04 23:00:26 +00:00
Alexandre Oliva
de9aefe0ea
acinclude.m4 (CXX): Prevent it from being cached.
...
* acinclude.m4 (CXX): Prevent it from being cached.
* aclocal.m4, configure, */Makefile.in: Rebuilt.
From-SVN: r37245
2000-11-04 07:07:38 +00:00
Phil Edwards
626d8f0a2c
[multiple changes]
...
2000-11-03 David Edelsohn <dje@watson.ibm.com>
* acinclude.m4 (GLIBCPP_CHECK_OS): Add AIX target selecting threads
flag based on multilib definition of $CXX.
* mknumeric_limits (LDFLAGS): Add AIX target linking with pthreads
based on multilib definition of $CXX.
* config/os/aix/bits/os_defines.h (_G_USING_THUNKS): Define as 0.
2000-11-03 Phil Edwards <pme@sources.redhat.com>
* acinclude.m4: Cleanups.
* aclocal.m4: Regenerated.
* configure: Ditto.
* Makefile.in: Ditto.
* libio/Makefile.in: Ditto.
* libmath/Makefile.in: Ditto.
* libsupc++/Makefile.in: Ditto.
* src/Makefile.in: Ditto.
* docs/install.html: Removal of EGCS.
* docs/23_containers/wrappers_h.txt: Likewise.
* docs/faq/index.html: Likewise.
* docs/faq/index.txt: Regenerated.
* docs/thanks.html: More people.
From-SVN: r37241
2000-11-04 03:00:12 +00:00
David Edelsohn
50149aa9f9
std_cwchar.h: Undefine macro that conflicts with function name defined in this file.
...
* include/c/bits/std_cwchar.h: Undefine macro that conflicts
with function name defined in this file.
From-SVN: r37238
2000-11-03 18:01:19 -05:00
Mark Mitchell
11d6fb5451
std_cctype.h: Undefine macros that conflict with function names defined in this file.
...
* include/c/bits/std_cctype.h: Undefine macros that conflict
with function names defined in this file.
* include/c/bits/std_cstdio.h: Likewise.
From-SVN: r37221
2000-11-03 06:20:17 +00:00
Mark Mitchell
5a0b0c7abf
* acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Fix typo.
...
From-SVN: r37219
2000-11-03 05:15:35 +00:00
Mark Mitchell
dbf5ba31a8
acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Add support for IRIX.
...
* acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Add support for IRIX.
* aclocal.m4: Regenerated.
* Makefile.in: Regenerated.
* libio/Makefile.in: Likewise.
* libmath/Makefile.in: Likewise.
* libsupc++/Makefile.in: Likewise.
* src/Makefile.in: Likewise.
* configure: Likewise.
* config/os/irix/bits/ctype_base.h: Revise.
* config/os/irix/bits/ctype_inline.h: Likewise.
* config/os/irix/bits/ctype_noninline.h: Likewise.
From-SVN: r37215
2000-11-03 02:25:00 +00:00
Mark Mitchell
7d3b1e8d0e
atomicity.h (_Atomic_word): Make it a signed type.
...
* config/os/irix/bits/atomicity.h (_Atomic_word): Make it a
signed type.
(__exchange_aand_add): Adjust accordingly.
(__atomic_add): Likewise.
From-SVN: r37209
2000-11-02 20:31:59 +00:00
Benjamin Kosnik
d83c7eb40d
locale.cc: Match orderings for static members.
...
2000-11-02 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
* src/locale.cc: Match orderings for static members.
* include/bits/fstream.tcc: Fixes for cin.
From-SVN: r37200
2000-11-02 08:05:16 +00:00
Gabriel Dos Reis
c987141022
std_complex.h (complex<>): Remove (cos<>, cosh<>, exp<>, log<>, log<>, sin, sinh<>) friend declarations.
...
* include/bits/std_complex.h (complex<>): Remove (cos<>, cosh<>,
exp<>, log<>, log<>, sin, sinh<>) friend declarations.
(cos, cosh, sin, sinh): Define primary templates.
* src/complex.cc (cos<>, cosh<>, sin<>, sinh<>): Comment out
definitions.
From-SVN: r37197
2000-11-02 00:21:07 +00:00
Benjamin Kosnik
9717c75cf1
basic_file.h (_M_open_mode): Change signature, move specializations to..
...
2000-11-01 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
* bits/basic_file.h (_M_open_mode): Change signature, move
specializations to..
* config/c_io_libio.cc: ...here.
* acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Add sdtio option, remove wince.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* config/c_io_stdio.h: New file.
* config/c_io_stdio.cc: New file.
* docs/configopts.html: Modify documentation.
From-SVN: r37195
2000-11-01 21:38:32 +00:00
Benjamin Kosnik
49ba75d20e
*** empty log message ***
...
From-SVN: r37169
2000-10-31 22:33:26 +00:00
Gabriel Dos Reis
99fa3f5edd
std_complex.h (norm): Forward declare.
...
* include/bits/std_complex.h (norm): Forward declare.
(complex<>): Comment out friend declaration of conj<>.
(conj<>): Comment out specialization.
(exp, log, log10): Define primary templates.
* src/complex.cc (exp<>, log<>, log10<>): Comment out
specializations.
From-SVN: r37165
2000-10-31 20:49:01 +00:00