On 09/24/11 22:31, Gary V. Vaughan wrote: > $ cc -o hello hello.c > cc-1241 cc: ERROR File = hello.c, Line = 7 > A declaration cannot appear after an executable statement in a block.
You're supposed to use cc's -c99 flag, no? Or compile with c99? Then declarations after statements should work; see, for example <http://lists.gnu.org/archive/html/bug-gnulib/2009-02/msg00241.html>. Is 'configure' not doing this for you automatically? If so, then let's fix that.