# New Ticket Created by Will Coleda # Please include the string: [perl #50908] # in the subject line of all future correspondence about this issue. # <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=50908 >
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. In the meantime, anyone seeing a warning from this should eliminate the warning before commit as this breaks stricter compilers. -- Will "Coke" Coleda