diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2021-10-08 14:25:42 +0100 |
---|---|---|
committer | Jonathan Wakely <jwakely@redhat.com> | 2021-10-09 00:57:49 +0100 |
commit | 3c9fbc26af6739c7ddf8f0895ae68b530cf88bbe (patch) | |
tree | 1b3ee6fa612b088a3bed11e7f7d6b1975ee5e13e /gcc/c/c-parser.c | |
parent | 4bdb9d618d30fc33d7eaab374baf377fa4e9d955 (diff) | |
download | gcc-3c9fbc26af6739c7ddf8f0895ae68b530cf88bbe.zip gcc-3c9fbc26af6739c7ddf8f0895ae68b530cf88bbe.tar.gz gcc-3c9fbc26af6739c7ddf8f0895ae68b530cf88bbe.tar.bz2 |
libstdc++: Define std::wstring_convert unconditionally [PR 98725]
The wchar_t type is defined unconditionally for C++, so there is no
reason for std::wstring_convert and std::wbuffer_convert to be disabled
when <wchar.h> is not usable. It should be possible to use those class
templates with char16_t and char32_t even if wchar_t conversions don't
work.
libstdc++-v3/ChangeLog:
PR libstdc++/98725
* include/bits/locale_conv.h (wstring_convert, wbuffer_convert):
Define unconditionally. Do not check _GLIBCXX_USE_WCHAR_T.
Diffstat (limited to 'gcc/c/c-parser.c')
0 files changed, 0 insertions, 0 deletions