This is the mail archive of the gcc-patches@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]

Re: Abolish 'static' functions in local scope


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}


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