std_cctype.h: Remove isblank.
[gcc.git] / libstdc++-v3 / ChangeLog
index 1867270701467b3ab694ca3fbb4836aaee6d91f3..9ebecfa2d084c24a257369abd9e37f9cd63603f9 100644 (file)
@@ -1,3 +1,103 @@
+2001-06-09  Benjamin Kosnik  <bkoz@redhat.com>
+
+       * include/c_std/bits/std_cctype.h: Remove isblank.
+
+2001-06-09  Benjamin Kosnik  <bkoz@redhat.com>
+
+       * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for fgetwc,
+       fgetws.
+       * aclocal.m4: Regenerate.
+       * configure: Regenerate.
+       * include/c_std/bits/std_cwchar.h: Remove duplicate fgetwc
+       injection, guard fgetwc, fgetws.
+       * include/c_std/bits/std_cstdio.h: Remove superfluous includes.
+       * include/c_std/bits/std_clocale.h: And here.
+       * include/c_std/bits/std_cctype.h: And here.
+       * include/c_std/bits/std_cstdlib.h (strtof): Guard strtof injection.
+
+       * config/basic_file_stdio.h: Don't include unistd.h.
+       * config/c_io_stdio.h: Don't use compatibility headers.
+       * libsupc++/eh_terminate.cc: Qualify abort.
+       (__terminate): And here.
+       * libsupc++/eh_catch.cc (__cxa_end_catch): Qualify abort.
+       
+2001-06-08  Benjamin Kosnik  <bkoz@redhat.com>
+
+       * include/c_std/bits/std_cstdlib.h: Remove _Exit, strtof injections.
+
+2001-06-08  Benjamin Kosnik  <bkoz@redhat.com>
+
+       libstdc++/2767
+       libstdc++/2989
+       libstdc++/2992
+       * include/std/*: Add copyright notice.
+       * include/c_std/bits/*: Use using statements instead of extern "C".
+       * include/c_std/bits/std_cmath.h: Don't overload double versions
+       of math functions with __buitin versions, use global version to
+       prevent ambiguities. Remove define hacks.
+       * include/c_std/bits/std_cwchar.h: Using declarations for "C"
+       functions that have changed signatures and std::
+       declarations. Remove define hacks.
+       * include/c_std/bits/std_cwchar.h: Same, plus remove ambiguous
+       __builtins in std::. Remove define hacks.
+       * testsuite/17_intro/headers_c.cc: Add tests.
+       * testsuite/17_intro/headers_c++.cc: Add test.
+
+2001-06-07  Loren J. Rittle  <ljrittle@acm.org>
+           John David Anglin  <dave@hiauly1.hia.nrc.ca>
+
+       * libsupc++/eh_alloc.cc: Ensure that required macros are
+       defined before including gthr.h.  Ensure that we get the
+       version of gthr.h for which we know how to provide a
+       configuration.
+       * libsupc++/eh_globals.cc: Likewise.  And, bring the threading
+       code path into line with the current EH model.  Use std, where
+       appropriate.
+
+2001-06-07  Loren J. Rittle  <ljrittle@acm.org>
+           John David Anglin  <dave@hiauly1.hia.nrc.ca>
+
+       * config/threads-no.h: Remove file.
+       * config/threads-posix.h: Remove file.
+
+       * acconfig.h (_GLIBCPP_USE_THREADS): Remove.
+       (_GLIBCPP_SUPPORTS_WEAK): Add (required by namespace-clean gthr*.h).
+       (_GLIBCPP_HAVE_GTHR_DEFAULT): Likewise.
+       * config.h.in: Regenerate.
+
+       * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Completely rework to
+       setup and use gthr*.h files.  In particular, make gthr.h files
+       namespace-clean in the staging area (they don't have to be for
+       libgcc.a).
+       * aclocal.m4: Regenerate.
+       * configure: Regenerate.
+
+       * src/Makefile.am (build_headers): Remove bits/c++threads.h
+       and add bits/gthr.h bits/gthr-single.h bits/gthr-default.h.
+       * src/Makefile.in: Regenerate.
+
+       * include/bits/c++config: Cleanup threading configuration macros.
+       In particular, define __STL_GTHREADS macro which controls...
+       * include/bits/stl_threads.h: ...a brand new gthr.h-based
+        configuration here.
+
+       * config/c_io_stdio.h: Include staged gthr.h instead of local
+       thread configuration file.  Always use __gthread_mutex_t
+       instead of __mutext_type (or int).
+       * include/bits/std_fstream.h: Likewise.
+
+       * docs/html/17_intro/howto.html: Remove placeholder comment in
+       case this configuration patch didn't make it.  Add advice that
+       section only applies if configured with --enable-threads.
+       * docs/html/23_containers/howto.html: Reword to make clear
+       that _PTHREADS is no longer required for any port to be
+       correctly using STL with threads.  Add advice that section
+       only applies if configured with --enable-threads.
+
+2001-06-06  Benjamin Kosnik  <bkoz@redhat.com>
+
+       * src/string-inst.cc (_Rep::_S_max_size): Add instantiation.
+
 2001-06-05  Benjamin Kosnik  <bkoz@redhat.com>
 
        libstdc++/3045