Re: FORMAT_INTEGER is wrong on (some) 64 bit platforms?

Поиск
Список
Период
Сортировка
От Hiroshi Inoue
Тема Re: FORMAT_INTEGER is wrong on (some) 64 bit platforms?
Дата
Msg-id 51EFEB66.8000603@tpf.co.jp
обсуждение исходный текст
Ответ на Re: FORMAT_INTEGER is wrong on (some) 64 bit platforms?  (Matt Lilley <matt.lilley@securitease.com>)
Список 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 по дате отправления:

Предыдущее
От: Matt Lilley
Дата:
Сообщение: Re: FORMAT_INTEGER is wrong on (some) 64 bit platforms?
Следующее
От: "Frank A. U."
Дата:
Сообщение: UNICODE again