From 7eb0a43cd68d39e1a9f4708017360768bde3dff3 Mon Sep 17 00:00:00 2001 From: Geoffrey Keating Date: Wed, 1 Nov 2006 04:53:33 +0000 Subject: [PATCH] re PR target/15834 (NO_IMPLICIT_EXTERN_C should be gotten rid of) PR 15834 * config/darwin.h (NO_IMPLICIT_EXTERN_C): Define. From-SVN: r118358 --- gcc/ChangeLog | 5 +++++ gcc/config/darwin.h | 3 +++ 2 files changed, 8 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 0b9caa3..69d697d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,10 @@ 2006-10-31 Geoffrey Keating + PR 15834 + * config/darwin.h (NO_IMPLICIT_EXTERN_C): Define. + +2006-10-31 Geoffrey Keating + * c-decl.c (grokdeclarator): Don't set DECL_EXTERNAL on inline static functions in c99 mode. diff --git a/gcc/config/darwin.h b/gcc/config/darwin.h index 43288f7..05b3472 100644 --- a/gcc/config/darwin.h +++ b/gcc/config/darwin.h @@ -40,6 +40,9 @@ Boston, MA 02110-1301, USA. */ #define OBJECT_FORMAT_MACHO +/* Don't assume anything about the header files. */ +#define NO_IMPLICIT_EXTERN_C + /* Suppress g++ attempt to link in the math library automatically. */ #define MATH_LIBRARY "" -- 2.7.4