Abolish 'static' functions in local scope

Alexandre Oliva aoliva@redhat.com
Fri Sep 17 16:51:00 GMT 2004


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}



More information about the Gcc-patches mailing list