public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "iains at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/64883] FAIL: 17_intro/headers/c++*/all_attributes.cc (test for excess errors) on x86_64-apple-darwin14
Date: Sun, 01 Feb 2015 17:53:00 -0000	[thread overview]
Message-ID: <bug-64883-4-MFHoYnZWDb@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-64883-4@http.gcc.gnu.org/bugzilla/>

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64883

--- Comment #19 from Iain Sandoe <iains at gcc dot gnu.org> ---
(In reply to Jonathan Wakely from comment #18)
> The test should pass on darwin now, please let me know if not.

I think we need (at least):
diff --git a/libstdc++-v3/testsuite/17_intro/headers/c++1998/all_attributes.cc
b/libstdc++-v3/testsuite/17_intro/headers/c++1998/all_attributes.cc
index 76a935e..6fc362a 100644
--- a/libstdc++-v3/testsuite/17_intro/headers/c++1998/all_attributes.cc
+++ b/libstdc++-v3/testsuite/17_intro/headers/c++1998/all_attributes.cc
@@ -26,11 +26,11 @@
 // darwin headers use these, see PR 64883
 # define deprecated 1
 # define noreturn 1
+# define visibility 1
 #endif
 #define packed 1
 #define pure 1
 #define unused 1
-#define visibility 1

 #include <bits/stdc++.h> // TODO: this is missing from <bits/extc++.h>
 #include <bits/extc++.h>
diff --git a/libstdc++-v3/testsuite/17_intro/headers/c++200x/all_attributes.cc
b/libstdc++-v3/testsuite/17_intro/headers/c++200x/all_attributes.cc
index c7ec27a..0726e3f 100644
--- a/libstdc++-v3/testsuite/17_intro/headers/c++200x/all_attributes.cc
+++ b/libstdc++-v3/testsuite/17_intro/headers/c++200x/all_attributes.cc
@@ -22,11 +22,14 @@
 // Don't test 'const' and 'noreturn' because they are reserved anyway.
 #define abi_tag 1
 #define always_inline 1
-#define deprecated 1
+#ifndef __APPLE__
+// darwin headers use these, see PR 64883
+# define visibility 1
+# define deprecated 1
+#endif
 #define packed 1
 #define pure 1
 #define unused 1
-#define visibility 1

 #include <bits/stdc++.h> // TODO: this is missing from <bits/extc++.h>
 #include <codecvt>       // TODO: this is missing from <bits/stdc++.h>
diff --git a/libstdc++-v3/testsuite/17_intro/headers/c++2014/all_attributes.cc
b/libstdc++-v3/testsuite/17_intro/headers/c++2014/all_attributes.cc
index 533a6f1..06bcb8e 100644
--- a/libstdc++-v3/testsuite/17_intro/headers/c++2014/all_attributes.cc
+++ b/libstdc++-v3/testsuite/17_intro/headers/c++2014/all_attributes.cc
@@ -22,11 +22,14 @@
 // Don't test 'const' and 'noreturn' because they are reserved anyway.
 #define abi_tag 1
 #define always_inline 1
-#define deprecated 1
+#ifndef __APPLE__
+// darwin headers use these, see PR 64883
+# define deprecated 1
+# define visibility 1
+#endif
 #define packed 1
 #define pure 1
 #define unused 1
-#define visibility 1

 #include <bits/stdc++.h> // TODO: this is missing from <bits/extc++.h>
 #include <shared_mutex>  // TODO: this is missing from <bits/stdc++.h>


  parent reply	other threads:[~2015-02-01 17:53 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <bug-64883-4@http.gcc.gnu.org/bugzilla/>
2015-01-31 13:26 ` dominiq at lps dot ens.fr
2015-01-31 13:27 ` dominiq at lps dot ens.fr
2015-01-31 15:50 ` dominiq at lps dot ens.fr
2015-01-31 16:03 ` redi at gcc dot gnu.org
2015-01-31 16:16 ` iains at gcc dot gnu.org
2015-01-31 19:28 ` redi at gcc dot gnu.org
2015-01-31 19:37 ` jakub at gcc dot gnu.org
2015-01-31 20:42 ` iains at gcc dot gnu.org
2015-01-31 21:01 ` howarth at bromo dot med.uc.edu
2015-01-31 21:07 ` redi at gcc dot gnu.org
2015-01-31 21:31 ` redi at gcc dot gnu.org
2015-01-31 22:28 ` howarth at bromo dot med.uc.edu
2015-02-01  2:07 ` howarth at bromo dot med.uc.edu
2015-02-01 12:34 ` iains at gcc dot gnu.org
2015-02-01 12:36 ` iains at gcc dot gnu.org
2015-02-01 14:09 ` iains at gcc dot gnu.org
2015-02-01 14:50 ` iains at gcc dot gnu.org
2015-02-01 15:11 ` redi at gcc dot gnu.org
2015-02-01 15:15 ` redi at gcc dot gnu.org
2015-02-01 17:53 ` iains at gcc dot gnu.org [this message]
2015-02-01 18:11 ` iains at gcc dot gnu.org
2015-02-02 11:10 ` dominiq at lps dot ens.fr
2015-02-02 11:12 ` iains at gcc dot gnu.org
2015-02-02 16:57 ` dominiq at lps dot ens.fr
2015-02-03  2:36 ` howarth at bromo dot med.uc.edu
2015-02-16 15:03 ` howarth at bromo dot med.uc.edu
2015-02-16 15:13 ` iains at gcc dot gnu.org
2015-02-16 16:00 ` howarth at bromo dot med.uc.edu
2015-02-16 16:15 ` dominiq at lps dot ens.fr
2015-03-06 12:51 ` dominiq at lps dot ens.fr
2015-03-06 13:24 ` redi at gcc dot gnu.org
2015-03-06 14:04 ` [Bug libstdc++/64883] FAIL: 17_intro/headers/c++*/all_attributes.cc (test for excess errors) on x86_64-apple-darwin10 dominiq at lps dot ens.fr
2015-03-06 16:47 ` iains at gcc dot gnu.org
2015-03-06 17:04 ` redi at gcc dot gnu.org
2015-09-11 11:07 ` redi at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-64883-4-MFHoYnZWDb@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).