Re: FORMAT_INTEGER is wrong on (some) 64 bit platforms? - Mailing list pgsql-odbc

From Hiroshi Inoue
Subject Re: FORMAT_INTEGER is wrong on (some) 64 bit platforms?
Date
Msg-id 51EFEB66.8000603@tpf.co.jp
Whole thread Raw
In response to Re: FORMAT_INTEGER is wrong on (some) 64 bit platforms?  (Matt Lilley <matt.lilley@securitease.com>)
List pgsql-odbc
(2013/07/24 23:37), Matt Lilley wrote:
>
> On 24/07/13 3:22 PM, Inoue, Hiroshi wrote:
>> Hi Matt,
>>
>> (2013/07/24 3:32), Matt Lilley wrote:
>>> Hello,
>>>
>>> I'm trying to understand the logic in psqlodbc.h where if the size of a
>>> long int is not 8 that FORMAT_INTEGER is set to "%ld".
>>
>> Is the version 9.02.0100?
> Yes. Tip of master.
>> Does replacing SIZEOF_LONG_INT by SIZEOF_LONG work?
> Yes. Then I get the first branch, which has "%d" and "%u".

Hmm 9.02.0100 seems to have introduced the bug.
What configure is checking is SIZEOF_LONG not SIZEOF_LONG_INT.

regards,
Hiroshi Inoue



pgsql-odbc by date:

Previous
From: Matt Lilley
Date:
Subject: Re: FORMAT_INTEGER is wrong on (some) 64 bit platforms?
Next
From: "Frank A. U."
Date:
Subject: UNICODE again