OSDN Git Service

2005-03-23 Benjamin Kosnik <bkoz@redhat.com>
authorbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 24 Mar 2005 05:45:45 +0000 (05:45 +0000)
committerbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 24 Mar 2005 05:45:45 +0000 (05:45 +0000)
commitc586733cf4a83b317b94681d368cd3231021ab7e
tree15858b7da5b678b1ba495dd35826662b01a72d3a
parent044032382a9e679bbc40059f400b70a7b0630d78
2005-03-23  Benjamin Kosnik  <bkoz@redhat.com>

* acinclude.m4: Adjust so that _GLIBCXX_USE_C99 implies
using _GLIBCXX_USE_C99_COMPLEX, _GLIBCXX_USE_C99_MATH, and
_GLIBCXX_USE_C99_WCHAR.
Remove GLIBCXX_ENABLE_C_MBCHAR, consolidate in GLIBCXX_ENABLE_C99
and GLIBCXX_ENABLE_WCHAR_T.
Take C99 bits from GLIBCXX_CHECK_WCHAR_T_SUPPORT and put in
GLIBCXX_ENABLE_C99.
Change remaining parts of GLIBCXX_CHECK_WCHAR_T_SUPPORT to
GLIBCXX_CHECK_ICONV_SUPPORT.
* configure.ac: Remove GLIBCXX_ENABLE_C_MBCHAR, use
GLIBCXX_CHECK_ICONV_SUPPORT and GLIBCXX_ENABLE_WCHAR_T.
* crossconfig.m4: Same.
* acconfig.h: Same, adjust comments.
* config.h.in: Regenerate.
* configure: Regenerate.
* docs/html/configopts.html: Change --enable-c-mbchar to
--enable-wchar_t.

* config/locale/gnu/c++locale_internal.h: Guard wide functions
with _GLIBCXX_USE_WCHAR_T.
* include/c_std/std_cwctype.h: Alphabetize, remove duplicates.
* include/c_std/std_cstdio.h: Spacing.

* config/locale/gnu/c_locale.h: Tweaks for unused warnings.
* src/debug.cc: Same.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@96981 138bc75d-0d04-0410-961f-82ee72b054a4
13 files changed:
libstdc++-v3/ChangeLog
libstdc++-v3/acconfig.h
libstdc++-v3/acinclude.m4
libstdc++-v3/config.h.in
libstdc++-v3/config/locale/gnu/c++locale_internal.h
libstdc++-v3/config/locale/gnu/c_locale.h
libstdc++-v3/configure
libstdc++-v3/configure.ac
libstdc++-v3/crossconfig.m4
libstdc++-v3/docs/html/configopts.html
libstdc++-v3/include/c_std/std_cstdio.h
libstdc++-v3/include/c_std/std_cwctype.h
libstdc++-v3/src/debug.cc