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
Phil Edwards
872865cf04
Dummy checking of footer.html to force web update.
...
From-SVN: r37240
2000-11-04 02:40:32 +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
19944601d6
* mkcheck.in: Fix echoing of -rpath option.
...
From-SVN: r37217
2000-11-03 02:29:28 +00:00
Mark Mitchell
ce881b7fe4
codecvt_unicode_char.cc: Don't run it if not _GLIBCPP_USE_WCHAR_T.
...
* testsuite/22_locale/codecvt_unicode_char.cc: Don't run it
if not _GLIBCPP_USE_WCHAR_T.
* testsuite/22_locale/codecvt_unicode_wchar_t.cc: Likewise.
* testsuite/22_locale/ctor_copy_dtor.cc: Likewise.
* testsuite/22_locale/ctype_wchar_t_members.cc: Likewise.
From-SVN: r37216
2000-11-03 02:28:07 +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
Benjamin Kosnik
bc359d3a5d
std_complex.h: Remove duplicate definition of conj.
...
2000-10-31 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
* include/bits/std_complex.h: Remove duplicate definition of conj.
* include/c/bits/std_cwctype.h: Consistent placement of undefs.
From-SVN: r37161
2000-10-31 18:11:31 +00:00
Gabriel Dos Reis
e541461a49
complex.cc (arg, polar): Comment out specializations.
...
* src/complex.cc (arg, polar): Comment out specializations.
* include/bits/std_complex.h (complex<>): Remove arg<> friend
declaration.
(arg): Define primary template.
(polar): Likewise.
(conj): Likewise.
From-SVN: r37159
2000-10-31 15:54:00 +00:00
Gabriel Dos Reis
89b7816993
std_cwctype.h: #undef possible function-like macro definitions of iswxxx functions...
...
* include/c/bits/std_cwctype.h: #undef possible function-like
macro definitions of iswxxx functions, which might be brought in
by <wctype.h>. Those macro definitions prevent build on some
linux-based systems.
* include/bits/std_complex.h (complex<>): Comment out friend
declarations of abs<> specializations.
(abs): Define primary template.
* src/complex.cc (abs): Comment out specialization definition.
From-SVN: r37157
2000-10-31 14:40:27 +00:00
Phil Edwards
34791641f6
acinclude.m4 (GLIBCPP_ENABLE_DEBUG): Raise debugging level from the default of 2 to 3.
...
2000-10-30 Phil Edwards <pme@sources.redhat.com>
* acinclude.m4 (GLIBCPP_ENABLE_DEBUG): Raise debugging level from
the default of 2 to 3.
* configure.in: Fix minor typos. SUBST the values of enable_shared
and enable_static so that mkcheck will be aware of them. Put the
test for gconv.h in with all the other header tests.
* aclocal.m4: Regenerate.
* configure: Ditto.
* Makefile.in: Ditto.
* libio/Makefile.in: Ditto.
* libmath/Makefile.in: Ditto.
* libsupc++/Makefile.in: Ditto.
* src/Makefile.in: Ditto.
* config/os/solaris/solaris2.7/bits/os_defines.h: Define
_G_USING_THUNKS to 0.
From-SVN: r37151
2000-10-31 01:56:19 +00:00
Benjamin Kosnik
4bc950092b
[multiple changes]
...
2000-10-30 Benjamin Kosnik <bkoz@redhat.com>
* src/complex_io.cc : Remove ancient defines.
* config/os/gnu-linux/bits/os_defines.h: Add defines.
* libsupc++/tinfo2.cc: Change to cstddef.
* include/bits/codecvt.h: Add include of c++config.h, so that
__USE_GNU gets defined. (Important for alpha.)
* include/c/bits/std_cwctype.h: Same.
* include/c/bits/std_ctime.h: And here.
* include/c/bits/std_cstdarg.h: Same.
* include/c/bits/std_csignal.h: Same.
* include/c/bits/std_csetjmp.h: Same.
* include/c/bits/std_clocale.h: Same.
* include/c/bits/std_climits.h: Touch.
* include/c/bits/std_cfloat.h: Same.
* include/c/bits/std_cerrno.h: Same.
* include/c/bits/std_cwchar.h: Same.
* include/c/bits/std_cassert.h: Same.
* include/c/bits/std_cctype.h: Same.
* include/c/bits/std_cstddef.h: And here.
* include/c/bits/std_cstdlib.h: And here.
* include/c/bits/std_cstdio.h: Same.
* include/c/bits/std_cstring.h: Add names to namespace std::.
* include/bits/c++config (_GNU_SOURCE): Move linux-specific macros
from here...
(_ISOC99_SOURCE): And this one....
* config/os/gnu-linux/bits/os_defines.h: ...to here.
* include/bits/codecvt.h (codecvt<_InternT, _ExternT,
__enc_traits>::do_in): Don't cast to const, this is a bug in glibc
prior to 2.2.
(codecvt<_InternT, _ExternT, __enc_traits>::do_out): Same.
* include/c/bits/std_cwchar.h: Add using declarations for mbstate_t.
2000-10-30 Steven King <sxking@uswest.net>
* include/bits/codecvt.h: Add cast.
* include/c_std/stdio.h: Re-add printf using declaration.
* include/c_std/bits/std_cstdio.h: Same
* testsuite/22_locale/codecvt_wchar_t_char.cc: Fixup testsuite.
* testsuite/22_locale/ctor_copy_dtor.cc: Same.
* testsuite/22_locale/facet.cc: Same.
* testsuite/22_locale/global_templates.cc: Same.
* testsuite/22_locale/operators.cc: Same.
* testsuite/22_locale/static_members.cc: Same.
* testsuite/26_numerics/c_math.cc: Same.
* testsuite/26_numerics/complex_inserters_extractors.cc: Same.
* testsuite/27_io/fpos.cc: Same.
* testsuite/27_io/istream_extractor_arith.cc: Same.
* testsuite/27_io/istream_unformatted.cc: Same.
* testsuite/27_io/ostream_inserter_arith.cc: Same.
* testsuite/27_io/streambuf.cc: Same.
From-SVN: r37149
2000-10-31 01:26:06 +00:00
Mark Mitchell
b4b2a48720
acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_SUPPORT): Check for cabs, cabsf, and cabsl, too.
...
* acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_SUPPORT): Check
for cabs, cabsf, and cabsl, too.
* aclocal.m4: Regenerated.
* config.h.in: Likewise.
* configure: Likewise.
* libmath/Makefile.am (libmath_la_SOURCES): Remove cabs.c and
cabsf.c.
* libmath/Makefile.in: Regenerated.
* libmath/complex-stub.h (cabs): Don't declare if the system
already provides this function.
(cabsf): Likewise.
(cabsl): Likewise.
* src/complex.cc (abs): Directly use `hypot' since we can't call
cabs on IRIX.
From-SVN: r37145
2000-10-30 21:30:30 +00:00