re PR libstdc++/64883 (FAIL: 17_intro/headers/c++*/all_attributes.cc (test for excess...
authorIain Sandoe <iain@codesourcery.com>
Tue, 3 Mar 2015 18:14:20 +0000 (18:14 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Tue, 3 Mar 2015 18:14:20 +0000 (18:14 +0000)
2015-03-03  Iain Sandoe  <iain@codesourcery.com>

PR libstdc++/64883
* testsuite/17_intro/headers/c++1998/all_attributes.cc: Don't check
visibility for Darwin.
* testsuite/17_intro/headers/c++200x/all_attributes.cc: Likewise, and
also deprecated.
* testsuite/17_intro/headers/c++2014/all_attributes.cc: Likewise.

From-SVN: r221160

libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/17_intro/headers/c++1998/all_attributes.cc
libstdc++-v3/testsuite/17_intro/headers/c++200x/all_attributes.cc
libstdc++-v3/testsuite/17_intro/headers/c++2014/all_attributes.cc

index 33a90dc..265fc7a 100644 (file)
@@ -1,3 +1,12 @@
+2015-03-03  Iain Sandoe  <iain@codesourcery.com>
+
+       PR libstdc++/64883
+       * testsuite/17_intro/headers/c++1998/all_attributes.cc: Don't check
+       visibility for Darwin.
+       * testsuite/17_intro/headers/c++200x/all_attributes.cc: Likewise, and
+       also deprecated.
+       * testsuite/17_intro/headers/c++2014/all_attributes.cc: Likewise.
+
 2015-03-02  Jonathan Wakely  <jwakely@redhat.com>
 
        PR libstdc++/65279
index 76a935e..6fc362a 100644 (file)
 // 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>
index c7ec27a..0726e3f 100644 (file)
 // 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>
index 533a6f1..06bcb8e 100644 (file)
 // 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>