This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Re: fix <ctype.h> bugs on 64-bit machine
- From: Eric Blake <ebb9 at byu dot net>
- To: Jon TURNEY <jon dot turney at dronecode dot org dot uk>
- Cc: newlib at sources dot redhat dot com
- Date: Thu, 05 Nov 2009 20:27:15 -0700
- Subject: Re: fix <ctype.h> bugs on 64-bit machine
- References: <4AE227BE.1030000@redhat.com> <4AF369AD.8050309@dronecode.org.uk>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
According to Jon TURNEY on 11/5/2009 5:11 PM:
> int main()
> {
> int c;
> int t = isspace(c = ' ');
> }
>
> after this ctype.h change, with the current cygwin gcc4, compilation
> fails 'error: lvalue required as left operand of assignment'.
Thanks for spotting this. Your patch is correct, so I applied it as obvious.
- --
Don't work too hard, make some time for fun as well!
Eric Blake ebb9@byu.net
-----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/
iEYEARECAAYFAkrzl5MACgkQ84KuGfSFAYCuagCg0uxzgTxt4Tl1Frdm4CfwHwo2
RAEAoMrS3s0iEa9OP67TUajMbw04+/uZ
=MTMl
-----END PGP SIGNATURE-----