Josselin Mouette <[EMAIL PROTECTED]> writes:
> Le mardi 31 janvier 2006 à 06:21 +0100, Goswin Brederlow a écrit :
>> Package: libpng12-dev
>> Version: 1.2.8rel-1
>> Severity: wishlist
>>
>> Hi,
>>
>> /usr/include/pngconf.h defines among others:
>>
>> typedef unsigned long png_uint_32;
>>
>> Please consider using C99 by replacing those defines with
>>
>> #include <stdint.h>
>> typedef uint32_t png_uint_32;
>>
>> or at least use an int for 32bit values as that is 32bit across
>> basically all archs in use while long is 32bit or 64bit.
>>
>> MfG
>> Goswin
>>
>> PS: this is wishlist as the comment says "at least XX bits long" but
>> it also mentions using int on 64bit platforms.
>
> However, if this is changed, this will change the ABI on 64-bit
> platforms. You don't want a libpng ABI transition, do you?
Well, keep it around till something else causes a transition anyway.
The oversized types seem to make ogre fail among others. Arguably
their fault but I just found it odd to have a 32bit type with 64bit.
MfG
Goswin