This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Abolish 'static' functions in local scope
- From: Alexandre Oliva <aoliva at redhat dot com>
- To: Geoffrey Keating <geoffk at apple dot com>
- Cc: Gerald Pfeifer <gerald at pfeifer dot com>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: 17 Sep 2004 12:53:15 -0300
- Subject: Re: Abolish 'static' functions in local scope
- Organization: Red Hat Global Engineering Services Compiler Team
- References: <20040830221341.991ABCD180A@geoffk5.apple.com><Pine.BSF.4.61.0408311051370.81851@acrux.dbai.tuwien.ac.at><D47DEC08-FB8A-11D8-85DC-0030657EA24A@apple.com>
On Aug 31, 2004, Geoffrey Keating <geoffk@apple.com> wrote:
> + <li>The extension, or bug, where the C compiler would try to
> + give a meaning to a 'static' declaration at block scope, like
^ function
> + <pre>foo() {
> + static int bar();
> + }</pre> has been removed; the compiler will now always give an error
--
Alexandre Oliva http://www.ic.unicamp.br/~oliva/
Red Hat Compiler Engineer aoliva@{redhat.com, gcc.gnu.org}
Free Software Evangelist oliva@{lsd.ic.unicamp.br, gnu.org}