diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2015-05-01 18:55:33 +0100 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2015-05-01 18:55:33 +0100 |
commit | d6e023f3a0d8baaf3d5468f63ca3f5c696e61569 (patch) | |
tree | ef858f320f00807ea48bc53749515f0cdd2af817 /libstdc++-v3/testsuite | |
parent | e9cd006414899e263a12f5afb971f8db817dce85 (diff) | |
download | gcc-d6e023f3a0d8baaf3d5468f63ca3f5c696e61569.zip gcc-d6e023f3a0d8baaf3d5468f63ca3f5c696e61569.tar.gz gcc-d6e023f3a0d8baaf3d5468f63ca3f5c696e61569.tar.bz2 |
fs_dir.h: Fix use of non-reserved names.
* include/experimental/fs_dir.h: Fix use of non-reserved names.
* include/experimental/fs_ops.h: Likewise.
* include/experimental/fs_path.h: Likewise.
* testsuite/lib/libstdc++.exp (check_v3_target_filesystem_ts): Use
C++11 when checking for support.
From-SVN: r222695
Diffstat (limited to 'libstdc++-v3/testsuite')
-rw-r--r-- | libstdc++-v3/testsuite/lib/libstdc++.exp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libstdc++-v3/testsuite/lib/libstdc++.exp b/libstdc++-v3/testsuite/lib/libstdc++.exp index 7ae4f3f..7d8f282 100644 --- a/libstdc++-v3/testsuite/lib/libstdc++.exp +++ b/libstdc++-v3/testsuite/lib/libstdc++.exp @@ -1896,6 +1896,8 @@ proc check_v3_target_little_endian { } { } proc check_v3_target_filesystem_ts { } { + global cxxflags + global DEFAULT_CXXFLAGS global et_filesystem_ts global tool @@ -1930,7 +1932,11 @@ proc check_v3_target_filesystem_ts { } { puts $f "#endif" close $f + set cxxflags_saved $cxxflags + set cxxflags "$cxxflags $DEFAULT_CXXFLAGS -Werror -std=gnu++11" + set lines [v3_target_compile $src /dev/null preprocess ""] + set cxxflags $cxxflags_saved file delete $src if [string match "" $lines] { |