IIRC darwin is the last user of NO_IMPLICIT_EXTERN_C. This PR is just for the progress of the getting rid of the use.
Confirmed.
*** Bug 7327 has been marked as a duplicate of this bug. ***
*** Bug 11390 has been marked as a duplicate of this bug. ***
Subject: Re: New: NO_IMPLICIT_EXTERN_C should be gotten rid of Note that NO_IMPLICIT_EXTERN_C is an inverted flag - that is, we want to get rid of it by turning it *on* universally. zw
Note I was wrong NetBSD also does not define NO_IMPLICIT_EXTERN_C but I think it is a mistake.
I believe AIX needs this behavior for assert.h, ctype.h and possibly other headers.
Just to mention that arm-elf has the same oversight; missing NO_IMPLICIT_EXTERN_C. (The only define of it in config/arm, is in config/arm/linux-elf.h.)
Fixed with <http://gcc.gnu.org/ml/gcc-patches/2006-05/msg01398.html>, queued for 4.3.
Subject: Bug 15834 Author: geoffk Date: Wed Nov 1 04:53:33 2006 New Revision: 118358 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=118358 Log: PR 15834 * config/darwin.h (NO_IMPLICIT_EXTERN_C): Define. Modified: trunk/gcc/ChangeLog trunk/gcc/config/darwin.h
I can't tell if this bug is fixed. However, Darwin now has NO_IMPLICIT_EXTERN_C set.
Whatever. Reporter please re-open if not fixed.