-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 According to peter on 6/9/2009 10:47 AM: > I run configure. It runs fine. I compile it, and every instance of > a variable not declared at the beginning of a block produces a compiler > error. I assume this is some recent modification to the C standard that > is certainly reasonable, that the compiler on this machine doesn't have.
Yes - this is a new requirement of C99 (a standard that is now 10 years old, although admittedly slow in the complete uptake by most vendors), but not present in C89 (20 years old). If your compiler can't handle declarations after statements, it is indeed quite old, and you may want to consider upgrading your compiler first. > But what I'm wondering is why doesn't the configure script catch it? This has been brought up in the past. The consensus was that it is a mechanical patch, but one that we don't want to maintain unless there is a high demand for it (so far, there hasn't been). http://lists.gnu.org/archive/html/bug-coreutils/2006-11/msg00197.html - -- Don't work too hard, make some time for fun as well! Eric Blake [email protected] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkovDwEACgkQ84KuGfSFAYCZPwCePIMyzflbDFwtVJWhfQ+ce0B6 NbkAniQSerSUlvVBr2ddtOQ+N1FO5pjc =5iNH -----END PGP SIGNATURE----- _______________________________________________ Bug-coreutils mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-coreutils
