]> git.ipfire.org Git - thirdparty/gcc.git/commit
Fix failing tests for use of non-reserved names
authorJonathan Wakely <jwakely@redhat.com>
Mon, 20 May 2019 14:38:21 +0000 (15:38 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Mon, 20 May 2019 14:38:21 +0000 (15:38 +0100)
commit7f67becc9854ac159c6970951108e5d3e2afa6e8
tree0a59f2b3a3fe5ef34cd738ca5d343c92aa1411b5
parent6db76e48c18bae5432634a83643542dacf2273e9
Fix failing tests for use of non-reserved names

Defining 'ptr' fails on Solaris because it's used in <netdb.h>.

Including the Filesystem TS header fails if the TS support wasn't
enabled by configure.

* testsuite/17_intro/names.cc: Do not check 'ptr' on Solaris.
* testsuite/experimental/names.cc: Include <experimental/filesystem>
conditionally.

From-SVN: r271421
libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/17_intro/names.cc
libstdc++-v3/testsuite/experimental/names.cc