From: Jason Merrill Date: Tue, 2 Sep 2003 21:45:19 +0000 (-0400) Subject: re PR target/7327 (-isystem and template linkage) X-Git-Tag: releases/gcc-3.4.0~3946 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5220823f534e9aa003b9fdccba45628d1db0ba08;p=thirdparty%2Fgcc.git re PR target/7327 (-isystem and template linkage) PR c++/7327 * config/sparc/sol2.h (NO_IMPLICIT_EXTERN_C): Define. From-SVN: r71005 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 28e64ef1153d..59bfe131cea2 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2003-09-02 Jason Merrill + + PR c++/7327 + * config/sparc/sol2.h (NO_IMPLICIT_EXTERN_C): Define. + 2003-09-02 Jeff Sturm * cgraphunit.c (record_call_1): Use walk_tree_without_duplicates. diff --git a/gcc/config/sparc/sol2.h b/gcc/config/sparc/sol2.h index efb49c8adde2..97370dd306fa 100644 --- a/gcc/config/sparc/sol2.h +++ b/gcc/config/sparc/sol2.h @@ -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