Commit da0ced6e by Jonathan Wakely Committed by Jonathan Wakely

Fix libstdc++ reserved names test to pass on AIX

	* testsuite/17_intro/names.cc: Undefine macros that clash with
	identifiers in AIX system headers.

From-SVN: r246037
parent 7dcc645c
2017-03-10 Jonathan Wakely <jwakely@redhat.com>
* testsuite/17_intro/names.cc: Undefine macros that clash with
identifiers in AIX system headers.
* include/bits/invoke.h (__invoke): Use __invoke_result instead of
result_of, and __is_nothrow_invocable instead of
__is_nothrow_callable.
......
......@@ -98,4 +98,13 @@
#define x (
#define y (
#define z (
#ifdef _AIX
// See https://gcc.gnu.org/ml/libstdc++/2017-03/msg00015.html
#undef f
#undef r
#undef x
#undef y
#endif
#include <bits/stdc++.h>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment