Benjamin Kosnik
5ae55a2e04
[multiple changes]
...
2000-06-13 Steven King <sxking@uswest.net>
* acinclude.m4: Fixup some of the builtin math tests and add tests for
__builtin_fmod* and test libm for fmodf, fmodl or _fmodf, _fmodl.
* acconfig.h: Add entries for fmod*.
2000-06-13 Branko Cibej <branko.cibej@hermes.si>
* bits/std_cmath.h: Fix typos in tests (*_FMODFF -> *_FMODF).
Test *_MODFF not *_MODF for modf(float, float*).
(modf(float, float*)): Remove reference to _C_legacy.
From-SVN: r34539
2000-06-14 01:16:03 +00:00
Benjamin Kosnik
cc12edec9b
acinclude.m4 (enable_cshadow_headers): Change CSHADOWFLAGS to _GNU_SOURCE instead of _ISOC9X_SOURCE...
...
2000-06-13 Benjamin Kosnik <bkoz@redhat.com>
* acinclude.m4 (enable_cshadow_headers): Change CSHADOWFLAGS to
_GNU_SOURCE instead of _ISOC9X_SOURCE, as _GNU_SOURCE is the
superset, and already defined at top level.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* docs/17_intro/contribute.html: Plead with people to use -cp.
From-SVN: r34538
2000-06-14 00:12:42 +00:00
Benjamin Kosnik
8173b2d78a
stl_iterator.h: Added inline to operators == to >=.
...
2000-06-13 Thomas Holenstein <thomas@hex.ch>
* bits/stl_iterator.h: Added inline to operators == to >=.
From-SVN: r34534
2000-06-13 23:48:02 +00:00
Brent Verner
96cbf48b35
streambuf.tcc: repaired _S_copy_streambufs()
...
2000-06-13 Brent Verner <brent@rcfile.org>
* bits/streambuf.tcc: repaired _S_copy_streambufs()
* testsuite/27_io/ostream_inserter_other.cc (test03): Added testcase.
From-SVN: r34528
2000-06-13 22:20:56 +00:00
Benjamin Kosnik
088eb5a274
[multiple changes]
...
2000-06-12 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
* bits/locale_facets.h (ctype<wchar_t>): Remove unnecessary data
members.
* src/locale.cc: Add cwchar include here. Remove incorrect
definitions, and stub them out.
* config/generic/ctype.cc (ctype): Remove ctype<wchar_t> bits.
* config/solaris/solaris2.7/ctype.cc (ctype): Same.
* config/solaris/solaris2.5/ctype.cc (ctype): Same.
* config/newlib/ctype.cc: Same.
* config/gnu-linux/ctype.cc: Same.
* config/bsd/ctype.cc: Same.
* config/aix/ctype.cc: Same.
2000-06-12 Branko Cibej <branko.cibej@hermes.si>
* config/solaris/solaris2.6/ctype.cc (do_toupper, do_tolower): Use
towupper and towlower to convert wide characters.
From-SVN: r34511
2000-06-13 02:13:54 +00:00
Benjamin Kosnik
d54a528ae4
mkcheck.in: Clean up confusion regarding NAME, PRE_NAME.
...
2000-06-12 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
* mkcheck.in: Clean up confusion regarding NAME, PRE_NAME.
From-SVN: r34510
2000-06-12 23:56:56 +00:00
Branko Cibej
6c820cf2ec
acinclude.m4 (GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT): Check for sinf, cosf, fabsf, and sqrtf; add to LIBMATHOBJS if missing.
...
2000-06-08 Branko Cibej <branko.cibej@hermes.si>
* acinclude.m4 (GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT): Check for
sinf, cosf, fabsf, and sqrtf; add to LIBMATHOBJS if missing.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* math/cosf.c: New file.
* math/fabsf.c: Likewise.
* math/sinf.c: Likewise.
* math/sqrtf.c: Likewise.
* math/Makefile.am (EXTRA_DIST): Add those four files.
* math/Makefile.in: Regenerate.
From-SVN: r34461
2000-06-08 21:22:02 +00:00
Phil Edwards
5c61f0f2a8
complex_inserters_extractors.cc: Need cmath.
...
2000-06-08 Phil Edwards <pme@sourceware.cygnus.com>
* testsuite/26_numerics/complex_inserters_extractors.cc: Need cmath.
From-SVN: r34460
2000-06-08 18:05:39 +00:00
Steven King
54fa741538
acconfig.h: Added defines for HAVE_BUILTIN math functs for float, double and long double.
...
2000-06-06 Steven King <sxking@uswest.net>
* acconfig.h: Added defines for HAVE_BUILTIN math functs for float,
double and long double. Added defines for HAVE libm math functs for
float and long double.
* aclocal.m4: Added configure checks for builtin math funcs and libm
support for float and long double versions of the math functions.
* config.h.in: Added undefs for math functs.
* configure: Regenerate.
* math/mathconf: Changed the _GLIBCPP_HAS_BUILTIN_* to
_GLIBCPP_HAVE_BUILTIN_*.
* bits/std_cmath.h: Added long double support. Use builtins for
float, double and long if available, otherwise, use libm versions if
availible, otherwise, punt.
* shadow/bits/std_cmath.h: ditto
From-SVN: r34436
2000-06-06 20:26:13 +00:00
Benjamin Kosnik
cc4316b532
locale_facets.h: Tweak.
...
2000-06-02 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
* bits/locale_facets.h: Tweak.
* src/locale.cc (codecvt<wchar_t>): Tweak.
* bits/locale_facets.h (_Format_cache): _S_ecks -> _S_x.
* bits/locale_facets.tcc (num_get<char>::_M_extract): Fix for hex.
* bits/basic_string.h: Move data member up.
* src/string-inst.cc: Fix instantiations.
* bits/string.tcc: Fix types.
From-SVN: r34371
2000-06-03 01:52:32 +00:00
Benjamin Kosnik
c9b39473f3
locale_facets.h (_Format_cache): _S_ecks -> _S_x.
...
2000-06-02 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
* bits/locale_facets.h (_Format_cache): _S_ecks -> _S_x.
* bits/locale_facets.tcc (num_get<char>::_M_extract): Fix for hex.
From-SVN: r34365
2000-06-02 19:41:42 +00:00
Anthony Williams
3ce7458060
replace.cc (test01): Qualify find with std::.
...
2000-06-02 Anthony Williams <anthony@anthonyw.cjb.net>
* testsuite/21_strings/replace.cc (test01): Qualify find with std::.
From-SVN: r34363
2000-06-02 18:31:44 +00:00
Benjamin Kosnik
3840fa2a8f
std_cwctype.h: Clean.
...
2000-06-01 Benjamin Kosnik <bkoz@gnu.org>
* bits/std_cwctype.h: Clean.
* bits/std_cwchar.h: Clean, remove cruft.
* acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Re-work, add bits
for beginning iconv support.
Remove _GLIBCPP_HAS_WCHAR_MIN_MAX, roll into _GLIBCPP_USE_WCHAR_T
macro.
* acconfig.h: Remove _GLIBCPP_HAS_WCHAR_MIN_MAX.
* bits/limits_generic.h: Remove.
* src/gen-num-limits.cc: Same.
* src/locale.cc: Tweaks.
* bits/char_traits.h: Tweaks.
From-SVN: r34352
2000-06-02 07:24:15 +00:00
Benjamin Kosnik
64cdd351dd
locale_facets.tcc (num_get<char>::_M_extract): Fix signage, exponent, and scientific formatting issues.
...
2000-05-31 Russell Davidson <russell@ehess.cnrs-mrs.fr>
* bits/locale_facets.tcc (num_get<char>::_M_extract): Fix signage,
exponent, and scientific formatting issues.
* testsuite/27_io/istream_extractor_arith.cc (test09): Add tests.
From-SVN: r34328
2000-06-01 02:55:30 +00:00
Branko Cibej
b2c62b3c64
limits_generic.h (numeric_limits<wchar_t>): Use WCHAR_MIN and WCHAR_MAX instead of WCHART_MIN and WCHART_MAX.
...
2000-05-31 Branko Cibej <branko.cibej@hermes.si>
* bits/limits_generic.h (numeric_limits<wchar_t>): Use WCHAR_MIN
and WCHAR_MAX instead of WCHART_MIN and WCHART_MAX.
From-SVN: r34327
2000-06-01 01:36:14 +00:00
Nathan Myers
149a0abf24
thanks.html: edit own credits
...
2000-05-31 Nathan Myers <ncm@cantrip.org>
* docs/thanks.html: edit own credits
From-SVN: r34324
2000-06-01 01:06:56 +00:00
Benjamin Kosnik
83bcda1e41
generic_shadow.h: Remaining _C_Shadow -> _C_shadow fix.
...
2000-05-31 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
* bits/generic_shadow.h: Remaining _C_Shadow -> _C_shadow fix.
* acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Add strtoull checks...
From-SVN: r34323
2000-06-01 01:01:34 +00:00
Benjamin Kosnik
30ff6342d4
[multiple changes]
...
2000-05-31 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
* acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Add strtoull checks...
2000-05-31 Steven King <sxking@uswest.net>
* shadow/time.h: fix typo
* shadow/wchar.h: ifdef __USE_GNU for wcsdup
* shadow/bits/std_cwchar.h: ditto
* shadow/bits/std_cstdlib.h: add overloads of abs and div for long
and long long.
From-SVN: r34321
2000-06-01 00:52:26 +00:00
Phil Edwards
0137be2dca
acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): If strtoll isn't available, force --disable.
...
2000-05-26 Phil Edwards <pme@sourceware.cygnus.com>
* acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): If strtoll isn't
available, force --disable. Need to flesh this out; make smarter.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* mkcheck.in: Minor tweaks.
* docs/download.html: Fix typo.
From-SVN: r34197
2000-05-26 19:59:46 +00:00
Benjamin Kosnik
39e09fba96
inclosure: Change to...
...
2000-05-25 Benjamin Kosnik <bkoz@milou.soma.redhat.com>
* inclosure: Change to...
* mkinclosure: This.
Fix paths to bash.
* mkcshadow: Fix paths to bash.
* src/Makefile.am: Tweaks. Do cshadow header trickery at build time.
* src/Makefile.in: Regnerate.
* acinclude.m4 (GLIBCPP_COMPILER_VERSION): Fix typo.
(GLIBCPP_ENABLE_SHADOW): Do a less gross hack.
* aclocal.m4: Regenerate.
* mkcheck.in (INC_PATH): Tweak.
* configure.in: Enable long long by default.
* configure: Regenerate.
* mkcheck.in (LIB_PATH): Revert.
From-SVN: r34167
2000-05-25 13:19:15 +00:00
Benjamin Kosnik
5b80666b99
inclosure: Change to...
...
2000-05-25 Benjamin Kosnik <bkoz@milou.soma.redhat.com>
* inclosure: Change to...
* mkinclosure: This.
Fix paths to bash.
* mkcshadow: Fix paths to bash.
* src/Makefile.am: Tweaks. Do cshadow header trickery at build time.
* src/Makefile.in: Regnerate.
* acinclude.m4 (GLIBCPP_COMPILER_VERSION): Fix typo.
(GLIBCPP_ENABLE_SHADOW): Do a less gross hack.
* aclocal.m4: Regenerate.
* configure.in: Enable long long by default.
* configure: Regenerate.
* mkcheck.in (LIB_PATH): Revert.
From-SVN: r34166
2000-05-25 13:09:01 +00:00
Benjamin Kosnik
bf93f43bb4
[multiple changes]
...
2000-05-24 Nathan "I don't write ChangeLog Entries" Myers <ncm@cantrip.org>
* config/cpu/i486: New directory.
* config/cpu/i486/bits: New directory.
* config/cpu/i486/bits/atomicity.h: New file.
* config/cpu/i386/bits/atomicity.h (__compare_and_swap): Delete
'cmpxchgl' asm.
* acinclude.m4 (GLIBCPP_CHECK_CPU): Enable i386.
2000-05-24 Loren J. Rittle <ljrittle@acm.org>
* backward/alloc.h (__default_alloc_template): Only expose
implementation-specific symbol, if it exists in the
configuration.
* backward/iostream.h (ends): Expose symbol.
* backward/strstream.h: New file.
* backward/stream.h: New file.
* backward/ostream.h: New file.
* backward/istream.h: New file.
* backward/fstream.h: New file.
* backward/complex.h: New file.
* backward/iomanip.h: New file.
* mkcheck.in (LIB_PATH): Add -R bits.
* math/carg.c (carg): Replace __atan2 with atan2.
From-SVN: r34162
2000-05-25 10:14:26 +00:00
Benjamin Kosnik
d94611f158
Makefile.am (TAGS): Construct.
...
2000-05-24 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
* Makefile.am (TAGS): Construct.
* Makefile.in: Rengerate.
* src/Makefile.am: Tweak.
* src/Makefile.in: Tweak.
* configure.in: Tweak.
* bits/c++config.h: Rename to ...
* bits/c++config: This.
* mkc++config: Adjust.
From-SVN: r34157
2000-05-25 05:11:42 +00:00
Benjamin Kosnik
af9fe0d178
m4: Remove.
...
2000-05-24 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
* m4: Remove.
* m4/lc_message.m4: Merge into acinclude.m4.
* m4/mathfcts.m4: Same.
* m4/stringfcts.m4: Same.
* acinclude.m4: Add here.
* configure: Regnerate.
From-SVN: r34146
2000-05-24 22:48:03 +00:00
Benjamin Kosnik
d3a12960de
acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): Remove OPTLEVEL.
...
2000-05-24 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
* acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): Remove
OPTLEVEL. Add FMTFLAGS.
* aclocal.m4: Regenerate.
* src/Makefile.am (AC_CXXFLAGS): Take out OPTLEVEL, as this is has
been disabled due to higher-level makefiles running amuck over
this bit, and add in FMTFLAGS so that formatting is clear.
* src/Makefile.in: Regenerate.
* configure: Regenerate.
* src/ios.cc (ios_base::sync_with_stdio): Cleanup buffers from
initialization.
* docs/download.html: Remove references to Cygwin-specific bits,
as this can now be built natively.
Update with current information.
From-SVN: r34144
2000-05-24 22:36:40 +00:00
Phil Edwards
a4e990461d
acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): If we can use -fdiagnostics-show-location=once, do so.
...
2000-05-24 Phil Edwards <pme@sourceware.cygnus.com>
* acinclude.m4 (GLIBCPP_CHECK_COMPILER_VERSION): If we can use
-fdiagnostics-show-location=once, do so. Expand AC_LANG_* to
enclose other tests in this macro, including future ones.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* docs/faq/index.html: Update location of libg++ FAQ.
* docs/faq/index.txt: Regenerate.
From-SVN: r34137
2000-05-24 18:35:37 +00:00
Benjamin Kosnik
6f5ed7369f
libstdc++-assign.txt: Change Cygnus to FSF.
...
2000-05-22 Benjamin Kosnik <bkoz@purist.redhat.soma.com>
* docs/17_intro/libstdc++-assign.txt: Change Cygnus to FSF.
From-SVN: r34099
2000-05-23 04:24:31 +00:00
Phil Edwards
276c771bdf
mkcheck.in: Tweak for Solaris 8.
...
2000-05-22 Phil Edwards <pme@sourceware.cygnus.com>
* mkcheck.in: Tweak for Solaris 8. Additional minor output comment.
From-SVN: r34091
2000-05-22 21:50:47 +00:00
Phil Edwards
11a6e9a7dd
acinclude.m4: If the new pragma isn't supported, don't kill -Werror...
...
2000-05-22 Phil Edwards <pme@sourceware.cygnus.com>
* acinclude.m4: If the new pragma isn't supported, don't kill -Werror;
keep -Werror and add -Wno-unknown-pragma. -Werror Is Good.
* aclocal.m4: Regenerate.
* configure: Regenerate.
From-SVN: r34088
2000-05-22 20:56:51 +00:00
Nathan C. Myers
0d9a68e842
generic_shadow.h: s/swamp/legacy/
...
2000-05-19 Nathan C. Myers <ncm@cantrip.org>
* bits/generic_shadow.h: s/swamp/legacy/
From-SVN: r34080
2000-05-22 15:55:27 +00:00
Phil Edwards
8bd636c511
acinclude.m4: Clean up comments on newer checks.
...
2000-05-19 Phil Edwards <pme@sourceware.cygnus.com>
* acinclude.m4: Clean up comments on newer checks.
(GLIBCPP_CHECK_COMPILER_VERSION): Check for system_header
pragma support. Remove WERRORSUPPRESS variable, add WERROR.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* Makefile.in: Regenerate.
* libio/Makefile.in: Regenerate.
* math/Makefile.in: Regenerate.
* src/Makefile.am: Tell make's WERROR to depend on configure's WERROR.
* src/Makefile.in: Regenerate.
* docs/configopts.html: Document changes to --enable names.
From-SVN: r34034
2000-05-19 19:55:50 +00:00
Benjamin Kosnik
6dad70df54
[multiple changes]
...
2000-05-18 Chip Salzenberg <chip@valinux.com>
* bits/ostream.tcc (_S_pad_char): Function template should not be
static.
* bits/streambuf.tcc (_S_copy_streambufs): Likewise.
* src/string-inst.cc (__destroy_aux): Instantiate for string*.
2000-05-18 Nathan C. Myers <ncm@cantrip.org>
* mkcshadow: Change C_Swamp to C_legacy.
* shadow/*: Same.
* shadow/bits/*: Same.
s/C_Swamp/C_legacy/g
s/SWAMP/LEGACY/g
s/_Shadow/_shadow/g
2000-05-18 Anthony Williams <anthony@anthonyw.cjb.net>
* bits/locale_facets.tcc (num_get::_M_extract): Change char* to
const char*.
* src/string-inst.cc (string::_S_find): Same.
From-SVN: r34018
2000-05-19 09:33:23 +00:00
Benjamin Kosnik
d0d88ce35a
acinclude.m4 (GLIBCPP_ENABLE_SHADOW): Change to --enable-cshadow-headers.
...
2000-05-18 Benjamin Kosnik <bkoz@gnu.org>
* acinclude.m4 (GLIBCPP_ENABLE_SHADOW): Change to
--enable-cshadow-headers. Add output messages.
(GCC_ENABLE_LONG_LONG): Change to --enable-long-long, no
underscores (like the rest of the enable options.) Add output messages.
* aclocal.m4: Regenerate.
* configure: Regenerate.
From-SVN: r33980
2000-05-18 09:02:39 +00:00
Benjamin Kosnik
a51ef16068
mkcheck.in: Enable shared library testing.
...
2000-05-17 Benjamin Kosnik <bkoz@cygnus.com>
* mkcheck.in: Enable shared library testing.
From-SVN: r33975
2000-05-18 04:41:24 +00:00
Benjamin Kosnik
811e551b36
[multiple changes]
...
2000-05-17 Nathan C. Myers <ncm@cantrip.org>
* bits/std_cmath.h: fix sqrt(float)
2000-05-16 Loren J. Rittle <ljrittle@acm.org>
* bits/std_cassert.h: Use system_header pragma.
* bits/std_cctype.h: Likewise.
* bits/std_cerrno.h: Likewise.
* bits/std_cfloat.h: Likewise.
* bits/std_climits.h: Likewise.
* bits/std_clocale.h: Likewise.
* bits/std_cmath.h: Likewise.
* bits/std_csetjmp.h: Likewise.
* bits/std_csignal.h: Likewise.
* bits/std_cstdarg.h: Likewise.
* bits/std_cstddef.h: Likewise.
* bits/std_cstdio.h: Likewise.
* bits/std_cstdlib.h: Likewise.
* bits/std_cstring.h: Likewise.
* bits/std_ctime.h: Likewise.
* bits/std_cwchar.h: Likewise.
* bits/std_cwctype.h: Likewise.
* bits/std_exception.h: Likewise.
* bits/std_new.h: Likewise.
* bits/std_typeinfo.h: Likewise.
* shadow/bits/std_cassert.h: Likewise.
* shadow/bits/std_cctype.h: Likewise.
* shadow/bits/std_cerrno.h: Likewise.
* shadow/bits/std_cfloat.h: Likewise.
* shadow/bits/std_climits.h: Likewise.
* shadow/bits/std_clocale.h: Likewise.
* shadow/bits/std_cmath.h: Likewise.
* shadow/bits/std_csetjmp.h: Likewise.
* shadow/bits/std_csignal.h: Likewise.
* shadow/bits/std_cstdarg.h: Likewise.
* shadow/bits/std_cstddef.h: Likewise.
* shadow/bits/std_cstdio.h: Likewise.
* shadow/bits/std_cstdlib.h: Likewise.
* shadow/bits/std_cstring.h: Likewise.
* shadow/bits/std_ctime.h: Likewise.
* shadow/bits/std_cwchar.h: Likewise.
* shadow/bits/std_cwctype.h: Likewise.
* shadow/bits/wrap_libio.h: Likewise.
* shadow/bits/wrap_unistd.h: Likewise.
* shadow/sys/cdefs.h: Likewise.
2000-05-16 Nathan C. Myers <ncm@cantrip.org>
It appears that gcc-2.96 supports the keyword "and" now.
* bits/std_ciso646.h: remove.
* std/ciso646: gut.
* testsuite/17_intro/header_ciso646.c: enable testing.
* src/Makefile.am, src/Makefile.in: remove mention of
bits/std_ciso646.h
From-SVN: r33967
2000-05-17 21:46:40 +00:00
Nathan C. Myers
a5c0553d76
mkcshadow: fix typo s/_C_Swamp_/_C_Swamp/.
...
2000-05-16 Nathan C. Myers <ncm@cantrip.org>
* mkcshadow: fix typo s/_C_Swamp_/_C_Swamp/.
From-SVN: r33938
2000-05-16 17:42:23 +00:00
Phil Edwards
032cc9556e
acinclude.m4: Fix typo, switch to decaf...
...
2000-05-16 Phil Edwards <pme@sourceware.cygnus.com>
* acinclude.m4: Fix typo, switch to decaf...
* aclocal.m4: Regenerate.
* configure: Regenerate.
From-SVN: r33937
2000-05-16 17:13:55 +00:00
Phil Edwards
99246c9013
acinclude.m4 (GLIBCPP_ENABLE_SHADOW): New macro, stub.
...
2000-05-16 Phil Edwards <pme@sourceware.cygnus.com>
* acinclude.m4 (GLIBCPP_ENABLE_SHADOW): New macro, stub.
* aclocal.m4: Regenerate.
* configure.in: Call.
* configure: Regenerate.
* docs/configopts.html: Stub documentation.
From-SVN: r33936
2000-05-16 17:06:39 +00:00
Benjamin Kosnik
6ad50467e7
mkcshadow: build in more-correct directory...
...
* mkcshadow: build in more-correct directory, create cshadow/
directory if needed, report progress.
2000-05-14 LLeweLLyn Reese <llewelly@dbritsch.dsl.xmission.com>
* src/Makefile.am: Fix tr commands.
* src/Makefile.am: Remove references to [w]stringCTORDUPAL.[lo,cc]
* src/string-inst.cc: Remove extra instantiation of
S::basic_string(S::size_type, C, S::allocator_type const&);
* src/string-inst.cc: Remove extra template keyword.
2000-05-14 Loren J. Rittle <ljrittle@acm.org>
* config/bsd/bits/ctype_base.h: Add support for plain BSD4.4.
* acinclude.m4 (GLIBCPP_CHECK_CTYPE): Enhance bsd tests.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* */Makefile.in: Regenerate.
From-SVN: r33906
2000-05-15 06:38:55 +00:00
Phil Edwards
32a4595e1f
acinclude.m4: Fix minor typo with ctypes...
...
2000-05-11 Phil Edwards <pme@sourceware.cygnus.com>
* acinclude.m4: Fix minor typo with ctypes, add more sanity to
enable-cxx-flags, and remove GLIBCPP_ENABLE_NAMESPACES altogether.
* aclocal.m4: Regenerate.
* configure.in: Non-blank arguments break fewer Linuxes.
* configure: Regenerate.
* src/Makefile.am: Re-order AC_CXXFLAGS components.
* src/Makefile.in: Regenerate.
From-SVN: r33859
2000-05-11 19:52:00 +00:00
Benjamin Kosnik
991a40fcc2
std_cmath.h: Tweaks.
...
2000-05-10 Benjamin Kosnik <bkoz@redhat.com>
* bits/std_cmath.h: Tweaks.
* math/mathconf.h: Tweaks and fixes for HP-UX 11.
(sqrtf): Define away iff !builtin and !in <math.h>.
(sinf): Same.
(cosf): Same.
(fabsf): Same.
At some point this directory should be converted to c++, the
autoconf tests should be run by the c++ compiler (not c), and
<cmath> should be used instead of math.h.
Move declaration of nan() here.
* math/complex-stub.h (cabsl): Remove nan() declaration.
Finish up FreeBSD4.0 support.
* config/bsd/ctype.cc: Scope out toupper, tolower calls.
* config/generic/ctype.cc: And here.
* testsuite/21_strings/char_traits.cc (test02): Guard with
_GLIBCPP_USE_WCHAR_T.
via Phil Edwards <pme@sourceware.cygnus.com>
* bits/std_cctype.h: Remove _GLIBCPP_USE_NAMESPACES.
* acconfig.h: And here.
* acinclude.m4: Same.
* testsuite/27_io/istream.cc: And here.
* testsuite/27_io/ostream.cc: And here.
From-SVN: r33835
2000-05-11 02:40:34 +00:00
Benjamin Kosnik
f035fae1ed
Finish up FreeBSD4.0 support.
...
2000-05-10 Benjamin Kosnik <bkoz@redhat.com>
Finish up FreeBSD4.0 support.
* config/bsd/ctype.cc: Scope out toupper, tolower calls.
* config/generic/ctype.cc: And here.
* testsuite/21_strings/char_traits.cc (test02): Guard with
_GLIBCPP_USE_WCHAR_T.
From-SVN: r33831
2000-05-10 20:23:27 +00:00
Benjamin Kosnik
9e9ada4541
acinclude.m4 (GLIBCPP_CHECK_CPU): Change powerpc bits to -mcpu=powerpc.
...
2000-05-09 Benjamin Kosnik <bkoz@gnu.org>
* acinclude.m4 (GLIBCPP_CHECK_CPU): Change powerpc bits to
-mcpu=powerpc.
* src/Makefile.am: Disable ENABLE_CXX_FLAGS stuff for the moment.
* config/generic/bits/ctype_specializations.h (ctype<char>::is):
Make more generic.
* config/bsd: New directory.
* config/bsd/ctype.cc: New.
* config/bsd/bits/ctype_base.h (ctype_base): New.
* config/bsd/bits/ctype_specializations.h: New.
* acinclude.m4 (GLIBCPP_CHECK_CTYPE): Add bsd tests.
From-SVN: r33812
2000-05-10 02:15:15 +00:00
Benjamin Kosnik
7b267e3e92
acinclude.m4 (GLIBCPP_CHECK_CPU): Change powerpc bits to -mcpu=powerpc.
...
2000-05-09 Benjamin Kosnik <bkoz@gnu.org>
* acinclude.m4 (GLIBCPP_CHECK_CPU): Change powerpc bits to
-mcpu=powerpc.
* config/generic/bits/ctype_specializations.h (ctype<char>::is):
Make more generic.
* config/bsd: New directory.
* config/bsd/ctype.cc: New.
* config/bsd/bits/ctype_base.h (ctype_base): New.
* config/bsd/bits/ctype_specializations.h: New.
* acinclude.m4 (GLIBCPP_CHECK_CTYPE): Add bsd tests.
From-SVN: r33810
2000-05-10 00:23:47 +00:00
Phil Edwards
dcfa0bc8ce
acinclude.m4: New macro, GLIBCPP_ENABLE_CXX_FLAGS.
...
2000-05-09 Phil Edwards <pme@sourceware.cygnus.com>
* acinclude.m4: New macro, GLIBCPP_ENABLE_CXX_FLAGS.
* configure.in: Call.
* src/Makefile.am: Append results of macro to AC_CXXFLAGS.
* aclocal.m4: Regenerate.
* configure: Ditto.
* src/Makefile.in: Ditto.
* docs/configopts.html: Document.
* docs/download.html: Fix typo (close quote).
* docs/footer.html: Update.
From-SVN: r33805
2000-05-09 20:25:13 +00:00
Benjamin Kosnik
55718a0b09
iostream.h: Expose endl.
...
2000-05-09 Loren J. Rittle <ljrittle@acm.org>
* backward/iostream.h: Expose endl. Guard wide types.
* src/Makefile.am (headers): Update list to match files.
* src/Makefile.in: Regenerate.
From-SVN: r33795
2000-05-09 07:27:22 +00:00
Vadim Egorov
c0b84d79d2
streambuf.tcc (basic_streambuf::xsgetn): Fix uflow case.
...
2000-05-09 Vadim Egorov <egorovv@mailandnews.com>
Benjamin Kosnik <bkoz@gnu.org>
Nathan Myers <ncm@cantrip.org>
Dietmar Kuehl <dietmar_kuehl@yahoo.com>
* bits/streambuf.tcc (basic_streambuf::xsgetn): Fix uflow case.
(basic_streambuf::xsputn): Make consistent.
* testsuite/27_io/filebuf.cc: Add tests.
Co-Authored-By: Benjamin Kosnik <bkoz@gnu.org>
Co-Authored-By: Dietmar Kuehl <dietmar_kuehl@yahoo.com>
Co-Authored-By: Nathan Myers <ncm@cantrip.org>
From-SVN: r33794
2000-05-09 07:19:14 +00:00
Benjamin Kosnik
943ff2a00f
char_traits.h: use wchar_t utility functions for char_traits<wchar_t> methods.
...
2000-05-08 Steven King <sxking@uswest.net>
* bits/char_traits.h: use wchar_t utility functions for
char_traits<wchar_t> methods.
* testsuite/21_string/char_traits.cc: New (test02): test
char_traits<wchar_t>
From-SVN: r33784
2000-05-09 01:16:34 +00:00
Steven King
8445e42a24
2000-0508 Steven King <sxking@uswest.net>
...
* bits/char_traits.h: use wchar_t utility functions for
char_traits<wchar_t> methods.
* testsuite/21_string/char_traits.cc: New (test02): test
char_traits<wchar_t>
2000-05-08 Benjamin Kosnik <bkoz@cygnus.com>
* acinclude.m4 (GLIBCPP_CXXFLAGS): Add bits for solaris2.8.
From-SVN: r33783
2000-05-09 01:15:14 +00:00
Branko Cibej
bfe5c12158
complex_io.cc: Don't instantiate inserters and extractors for wide-character streams unless...
...
2000-05-04 Branko Cibej <branko.cibej@hermes.si>
* src/complex_io.cc: Don't instantiate inserters and extractors
for wide-character streams unless _GLIBCPP_USE_WCHAR_T is defined.
From-SVN: r33770
2000-05-08 18:32:58 +00:00