bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: make fails


From: Eric Blake
Subject: Re: make fails
Date: Tue, 09 Jun 2009 19:40:18 -0600
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.21) Gecko/20090302 Thunderbird/2.0.0.21 Mnenhy/0.7.6.666

-----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             address@hidden
-----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-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]