This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: fix <ctype.h> bugs on 64-bit machine


-----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-----


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]