Bug 15834 - NO_IMPLICIT_EXTERN_C should be gotten rid of
Summary: NO_IMPLICIT_EXTERN_C should be gotten rid of
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: target (show other bugs)
Version: 4.0.0
: P2 enhancement
Target Milestone: 4.3.0
Assignee: Not yet assigned to anyone
URL:
Keywords:
: 7327 11390 (view as bug list)
Depends on:
Blocks: 16317
  Show dependency treegraph
 
Reported: 2004-06-05 16:54 UTC by Andrew Pinski
Modified: 2008-03-14 16:35 UTC (History)
5 users (show)

See Also:
Host:
Target: *-darwin
Build:
Known to work:
Known to fail:
Last reconfirmed: 2006-10-03 20:27:42


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew 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 Andrew Pinski 2004-06-05 16:54:35 UTC
Confirmed.
Comment 2 Andrew Pinski 2004-06-05 16:55:33 UTC
*** Bug 7327 has been marked as a duplicate of this bug. ***
Comment 3 Andrew 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 Andrew 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.