[Bug c/12738] Missing function with 'static' block-scope declaration; unit-at-a-time; and IMA.
geoffk at geoffk dot org
gcc-bugzilla@gcc.gnu.org
Thu Oct 30 19:46:00 GMT 2003
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.
More information about the Gcc-bugs
mailing list