This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/12738] Missing function with 'static' block-scope declaration; unit-at-a-time; and IMA.


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12738



------- Additional Comments From geoffk at geoffk dot org  2003-10-30 19:31 -------
Subject: Re:  Missing function with 'static' block-scope declaration; unit-at-a-time; and IMA.

> Date: 30 Oct 2003 01:20:05 -0000
> From: "rth at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>

> Can we agree that this is a Very Bad Extension and kill it?

Well, it turns out that it happens fairly often, mostly because GCC
didn't give any warnings by default, and as we all know "if the
compiler doesn't warn about it, it must be correct".  I've found
24 instances in Apple's source base.

However, I would suggest that we should deprecate this GCC extension.
At the very least, the warning should be on by default.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]