re PR target/7327 (-isystem and template linkage)
authorJason Merrill <jason@redhat.com>
Tue, 2 Sep 2003 21:45:19 +0000 (17:45 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 2 Sep 2003 21:45:19 +0000 (17:45 -0400)
        PR c++/7327
        * config/sparc/sol2.h (NO_IMPLICIT_EXTERN_C): Define.

From-SVN: r71005

gcc/ChangeLog
gcc/config/sparc/sol2.h

index 28e64ef1153ddd1f551f99ac0c75121388d70a91..59bfe131cea2d37de4c31d5a041178fe668afb85 100644 (file)
@@ -1,3 +1,8 @@
+2003-09-02  Jason Merrill  <jason@redhat.com>
+
+       PR c++/7327
+       * config/sparc/sol2.h (NO_IMPLICIT_EXTERN_C): Define.
+
 2003-09-02  Jeff Sturm  <jsturm@one-point.com>
 
        * cgraphunit.c (record_call_1): Use walk_tree_without_duplicates.
index efb49c8adde27ab2e1abd7784acb5717ac97f9c1..97370dd306fa5b2cf2a9dc1542aff9b6cee2bbd8 100644 (file)
@@ -135,3 +135,6 @@ Boston, MA 02111-1307, USA.  */
    sparc_override_options will disable V8+ if not generating V9 code.  */
 #undef TARGET_DEFAULT
 #define TARGET_DEFAULT (MASK_V8PLUS + MASK_FPU + MASK_LONG_DOUBLE_128)
+
+/* The system headers under Solaris (at least 2.5.1 and up) are C++-aware.  */
+#define NO_IMPLICIT_EXTERN_C