[Top][All Lists]

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

Re: [bug-gnulib] stdint_.h update

From: Eric Blake
Subject: Re: [bug-gnulib] stdint_.h update
Date: Mon, 23 May 2005 05:58:38 -0600
User-agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)

Hash: SHA1

According to Bruno Haible on 5/23/2005 3:17 AM:
>>Shouldn't that typedef of int64_t be protected by "#ifdef
> NEED_SIGNED_INT_TYPES is only needed for Cygwin (so far). Let's correct this
> when we stumble acess a system that has the same problem and uses the MSVC
> compiler.

Which cygwin bug is this?  Let's get it fixed in cygwin, rather than
having to work around it.  Looking at /usr/include/stdint.h on cygwin, I
found one bug in cygwin 1.5.16 (and am proposing a patch there to get it
fixed in 1.5.17):

INTMAX_C(x) is defined as appending just L, but intmax_t is typedef'd to
long long and INTMAX_MIN and friends are definitely 64-bit, so it should
be appending LL.

But there are definitions for int64_t, uint64_t, int_least64_t,
uint_least64_t, int_fast64_t, and uint_fast64_t; all six with the
appropriate MIN and MAX macros.  And if the bug was in an earlier version
of cygwin, I think gnulib can safely ignore that; there are a number of
bugs in older cygwin versions that are simply not worth working around.

- --
Life is short - so eat dessert first!

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


reply via email to

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