[PATCH] Fix type inconsistencies in stdint.h
Dave Korn
dave.korn.cygwin@googlemail.com
Sat Apr 11 04:14:00 GMT 2009
Corinna Vinschen wrote:
> Good point, I guess. So, if we all agree on that, I'd suggest to
> change Dave's patch to the one below.
Two hunks went astray in the adjustment, the fixes for INTPTR_Mxx and
SIZE_MAX still apply because we didn't change their types.
Also, Joseph just introduced a new testcase in GCC SVN, and it shows up a
problem with our definition of WINT_MAX. With the attached patch, and the one
I'm about to submit to gcc to update the types we just changed, everything
matches up and is correct and all the gcc.dg/c99-stdint-*.c tests pass.
Ok?
winsup/cygwin/ChangeLog
* include/stdint.h (INTPTR_MIN, INTPTR_MAX): Add 'L' suffix.
(WINT_MAX): Add 'U' suffix.
cheers,
DaveK
-------------- next part --------------
A non-text attachment was scrubbed...
Name: stdint-patch.diff
Type: text/x-c
Size: 1108 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-patches/attachments/20090411/36a5f48c/attachment.bin>
More information about the Cygwin-patches
mailing list