On Friday 15 February 2008 11:35:04 Will Coleda wrote: > According to http://gcc.gnu.org/onlinedocs/index.html#DIR, looks like > as of gcc 4.2.3 (but not 4.1.2), we can use the following option to > gcc: > > -Werror=declaration-after-statement > > To help enforce our C89 compliance by causing this particular style to > become an error instead of just a warning. This should be added as a > default to the build options if a recent enough version of gcc is > available.
Works for me with gcc 4.1.3; I think this is closeable. -- c