Bug 15834

Summary: NO_IMPLICIT_EXTERN_C should be gotten rid of
Product: gcc Reporter: Drea Pinski <pinskia>
Component: targetAssignee: Not yet assigned to anyone <unassigned>
Status: RESOLVED FIXED    
Severity: enhancement CC: bhines, gcc-bugs, hoel, rcbilson, thomas
Priority: P2    
Version: 4.0.0   
Target Milestone: 4.3.0   
Host: Target: *-darwin
Build: Known to work:
Known to fail: Last reconfirmed: 2006-10-03 20:27:42
Bug Depends on:    
Bug Blocks: 16317    

Description Drea Pinski 2004-06-05 16:54:17 UTC
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.
Comment 1 Drea Pinski 2004-06-05 16:54:35 UTC
Confirmed.
Comment 2 Drea Pinski 2004-06-05 16:55:33 UTC
*** Bug 7327 has been marked as a duplicate of this bug. ***
Comment 3 Drea Pinski 2004-06-05 16:55:46 UTC
*** Bug 11390 has been marked as a duplicate of this bug. ***
Comment 4 Zack Weinberg 2004-06-10 18:05:16 UTC
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
Comment 5 Drea Pinski 2004-07-08 05:22:11 UTC
Note I was wrong NetBSD also does not define NO_IMPLICIT_EXTERN_C but I think it is a mistake.
Comment 6 John David Anglin 2004-10-02 20:15:58 UTC
I believe AIX needs this behavior for assert.h, ctype.h and possibly other
headers.
Comment 7 Hans-Peter Nilsson 2004-12-07 13:18:52 UTC
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.)
Comment 8 Geoff Keating 2006-10-03 20:27:42 UTC
Fixed with <http://gcc.gnu.org/ml/gcc-patches/2006-05/msg01398.html>, queued for 4.3.
Comment 9 Geoff Keating 2006-11-01 04:53:41 UTC
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

Comment 10 Geoff Keating 2006-11-01 05:37:53 UTC
I can't tell if this bug is fixed.  However, Darwin now has NO_IMPLICIT_EXTERN_C set.
Comment 11 Richard Biener 2008-03-14 16:35:57 UTC
Whatever.  Reporter please re-open if not fixed.