[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: stdint and mingw
From: |
Eric Blake |
Subject: |
Re: stdint and mingw |
Date: |
Wed, 30 May 2007 21:20:19 -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.5.666 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
According to Bruno Haible on 5/29/2007 6:38 PM:
> Well, I prefer to avoid signed integer overflow, as in WINT_MAX + 1, since
> we know by now the trouble that it can cause. Can you try this patch instead?
>
> ! int check_WINT: WINT_MIN <= (wint_t) 0 && (wint_t) 0 < WINT_MAX
> ! && (WINT_MIN < (wint_t) 0 || (wint_t) -1 == (wint_t)
> WINT_MAX)
> ! ? 1 : -1;
That works.
> If your copy of mingw also fails to define uid_t and gid_t, don't
> hesitate to disable them as well, please.
Done:
2007-05-30 Eric Blake <address@hidden>
and Bruno Haible <address@hidden>
Work around mingw test failures exposed by m4-1.4.9b.
* m4/stdint.m4 (gl_STDINT_H): Detect mingw bug.
* tests/test-unistd.c: Disable uid_t and git_t tests for the
moment.
- --
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
iD8DBQFGXj7y84KuGfSFAYARAjxhAJ0dM8b7QA6tPXplmR36uvO0AKnruwCfRHLS
s9szIWKRMJ9GfJ9SmoF+7KI=
=x6bM
-----END PGP SIGNATURE-----