On Sun, Oct 17, 2004 at 01:50:46PM -0400, Tom Lane wrote:
> > -Wdeclaration-after-statement (Recent versions of GCC allow declarations
> > and statements to be intermixed in C; enabling this flag would enforce
> > the current convention of avoiding this style.)
>
> Ick. If the default is to allow that, then yes we need a warning.
> I'd be fairly annoyed if it's not an error, in fact.
IIRC it's a new feature in C99. If that is the case, you may want to
tell gcc simply to compile an older C dialect and get errors for all
such newfangled code.
Jeroen