mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-12-20 17:44:53 +08:00
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.
This commit is contained in:
parent
b85fb3187e
commit
1a8d1f54de
@ -193,6 +193,8 @@
|
||||
#undef r
|
||||
#undef x
|
||||
#undef y
|
||||
// <sys/var.h> defines vario::v
|
||||
#undef v
|
||||
#endif
|
||||
|
||||
#ifdef __hpux__
|
||||
|
Loading…
Reference in New Issue
Block a user