diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2020-11-25 16:58:05 +0000 |
---|---|---|
committer | Jonathan Wakely <jwakely@redhat.com> | 2020-11-25 17:22:47 +0000 |
commit | 1a8d1f54de371de88b2604d8c0e4e01306be8870 (patch) | |
tree | f0f0435d72745557ce2dce351d1f41862578f52d | |
parent | b85fb3187e4fa591839b5292756bfadbed9761ba (diff) | |
download | gcc-1a8d1f54de371de88b2604d8c0e4e01306be8870.zip gcc-1a8d1f54de371de88b2604d8c0e4e01306be8870.tar.gz gcc-1a8d1f54de371de88b2604d8c0e4e01306be8870.tar.bz2 |
libstdc++: Fix test failure on AIX
This fixes a failure on AIX 7.2:
FAIL: 17_intro/names.cc (test for excess errors)
Excess errors:
/home/jwakely/src/gcc/libstdc++-v3/testsuite/17_intro/names.cc:99: error: expected identifier before '(' token
/usr/include/sys/var.h:187: error: expected unqualified-id before '{' token
/usr/include/sys/var.h:187: error: expected ')' before '{' token
/usr/include/sys/var.h:337: error: expected unqualified-id before ';' token
/usr/include/sys/var.h:337: error: expected ')' before ';' token
libstdc++-v3/ChangeLog:
* testsuite/17_intro/names.cc: Do not test 'v' on AIX.
-rw-r--r-- | libstdc++-v3/testsuite/17_intro/names.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libstdc++-v3/testsuite/17_intro/names.cc b/libstdc++-v3/testsuite/17_intro/names.cc index 5a61c97..2c8bfff 100644 --- a/libstdc++-v3/testsuite/17_intro/names.cc +++ b/libstdc++-v3/testsuite/17_intro/names.cc @@ -193,6 +193,8 @@ #undef r #undef x #undef y +// <sys/var.h> defines vario::v +#undef v #endif #ifdef __hpux__ |