public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [committed] hpux: Fix testsuite/17_intro/names.cc failure
@ 2017-08-21  2:23 John David Anglin
  0 siblings, 0 replies; only message in thread
From: John David Anglin @ 2017-08-21  2:23 UTC (permalink / raw)
  To: GCC Patches; +Cc: libstdc++

[-- Attachment #1: Type: text/plain, Size: 196 bytes --]

On hpux, the namespace for 'd' and 'r' is not clean, so we need to undef them in the test.  More
info is available in PR testsuite/81056.

Dave
--
John David Anglin	dave.anglin@bell.net



[-- Attachment #2: names.cc.d.txt --]
[-- Type: text/plain, Size: 450 bytes --]

2017-08-20  John David Anglin  <danglin@gcc.gnu.org>

	PR testsuite/81056
	* testsuite/17_intro/names.cc: Undef 'd' and 'r' on __hpux__

Index: testsuite/17_intro/names.cc
===================================================================
--- testsuite/17_intro/names.cc	(revision 248710)
+++ testsuite/17_intro/names.cc	(working copy)
@@ -107,4 +107,9 @@
 #undef y
 #endif
 
+#ifdef __hpux__
+#undef d
+#undef r
+#endif
+
 #include <bits/stdc++.h>

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-08-20 18:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-21  2:23 [committed] hpux: Fix testsuite/17_intro/names.cc failure John David Anglin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).