[gdal-dev] RFC 31 - OGR 64bit Support
dburken at comcast.net
Mon Nov 29 10:22:24 EST 2010
On 11/29/2010 10:09 AM, Mateusz Loskot wrote:
> On 29/11/10 14:57, Even Rouault wrote:
>> yes, on most 64bit platforms, sizeof(long long)=sizeof(long)=8.
>> Except on Win64,
>> where sizeof(long) still = 4 ( see
>> ). And of
>> course on 32bit platforms, sizeof(long)=4. So the need for an
>> explicit 64bit API
>> is needed.
> And, that's why name GBigInt is meaningless.
> In order to avoid any ambiguities, GDAL/OGR API should make
> use of exact size types *only*, it is [u]int32_t and [u]int64_t,
> in its public API.
> Best regards,
Not arguing, was just pointing out the obvious. I agree, all interfaces
that uses "int"s should use typedefs...
More information about the gdal-dev