|
From: Ethan A M. <merritt@u.washington.edu> - 2007-02-11 18:24:45
|
On Sunday 11 February 2007 03:06, Timoth=E9e Lecomte wrote: > > Is there a gcc flag that will cause it to emit warnings for this, > > without flooding the output with more useless warnings? > > > -pedantic will warn about that, among other things ;) Yes. It was exactly the "among other things" that I wanted to avoid. I've added -Wdeclaration-after-statement to the CFLAGS in my normal test-build script, so this particular issue should be caught more quickly in the future. =2D-=20 Ethan A Merritt Biomolecular Structure Center University of Washington, Seattle 98195-7742 |