[PATCH] Fix type inconsistencies in stdint.h

Dave Korn dave.korn.cygwin@googlemail.com
Sat Apr 11 11:20:00 GMT 2009


Corinna Vinschen wrote:
> On Apr 11 04:51, Dave Korn wrote:
>> 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.
> 
> What problem exactly?  UINT_MAX not defined?

  Yep.  The other option would have been for stdint.h to #include limits.h,
but that starts to drag in a bunch of other stuff and I figured out best not
to add a bunch of unexpected dependencies.

    cheers,
      DaveK





More information about the Cygwin-patches mailing list