]> git.ipfire.org Git - thirdparty/gcc.git/commit
Allow Filesystem TS to compile without wchar_t
authorredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 2 Oct 2015 19:38:38 +0000 (19:38 +0000)
committerredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 2 Oct 2015 19:38:38 +0000 (19:38 +0000)
commitde74aa1822da6a22e7dc283bc9eee095971c5b3f
treeb5f3384755c093faaa1c510b9ac28d3738c27c76
parent6d7cad96bee935e540a276761a511fa72afda7b0
Allow Filesystem TS to compile without wchar_t

* include/bits/locale_conv.h [!_GLIBCXX_USE_WCHAR_T]
(__do_str_codecvt, __str_codecvt_in, __str_codecvt_out): Enable.
* include/experimental/fs_path.h [!_GLIBCXX_USE_WCHAR_T]
(path::wstring, path::generic_wstring): Disable.
* src/filesystem/path.cc (path::_S_convert_loc)
[!_GLIBCXX_USE_WCHAR_T]: Skip conversion.
* testsuite/experimental/filesystem/path/assign/assign.cc: Check for
wchar_t support.
* testsuite/experimental/filesystem/path/concat/strings.cc: Likewise.
* testsuite/experimental/filesystem/path/construct/range.cc: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@228417 138bc75d-0d04-0410-961f-82ee72b054a4
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/locale_conv.h
libstdc++-v3/include/experimental/fs_path.h
libstdc++-v3/src/filesystem/path.cc
libstdc++-v3/testsuite/experimental/filesystem/path/assign/assign.cc
libstdc++-v3/testsuite/experimental/filesystem/path/concat/strings.cc
libstdc++-v3/testsuite/experimental/filesystem/path/construct/range.cc