bug-gnulib
[Top][All Lists]
Advanced

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

Re: stdint and cygwin bug


From: Eric Blake
Subject: Re: stdint and cygwin bug
Date: Wed, 04 Apr 2007 07:08:54 -0600
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.10) Gecko/20070221 Thunderbird/1.5.0.10 Mnenhy/0.7.4.666

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Paul Eggert on 4/3/2007 5:24 PM:
> Eric Blake <address@hidden> writes:
> 
>> cygwin currently defines wint_t as unsigned int (legal per POSIX), but then 
>> tries to use INT_MIN and INT_MAX for WINT_MIN and WINT_MAX.  I've reported 
>> this 
>> as a bug to the cygwin list.  In the meantime, is it worth fixing the stdint 
>> module to detect this brokenness, and redefine WINT_MIN and MAX to their 
>> correct values in this case?
> 
> If Cygwin fixes it quickly (and why wouldn't they?) then I wouldn't
> bother, but I don't use Cygwin so I'm probably not the best person to
> ask.

As of today, it is fixed in CVS (the eventual cygwin 1.7.0), but
tests/test-stdint will fail on the current cygwin 1.5.24.  If cygwin is
the only platform with this bug, then I'm okay with waiting for the next
version of cygwin rather than trying to add a gnulib workaround.

- --
Don't work too hard, make some time for fun as well!

Eric Blake             address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD4DBQFGE6Nl84KuGfSFAYARAm/pAJij2HP/zdNcVa3/RDxl2AqRBHvRAKDTIH1H
nMKkDMrj3KeSvtvkL3EFDw==
=T89P
-----END PGP SIGNATURE-----




reply via email to

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