Re: Suppress compiler warnings on mingw

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: Suppress compiler warnings on mingw
Дата
Msg-id 48068045.5090903@dunslane.net
обсуждение исходный текст
Ответ на Re: Suppress compiler warnings on mingw  (ITAGAKI Takahiro <itagaki.takahiro@oss.ntt.co.jp>)
Список pgsql-patches

Applied, Thanks.

wiki updated.

cheers

andrew

ITAGAKI Takahiro wrote:
> Peter Eisentraut <peter_e@gmx.net> wrote:
>
>
>> Then try using %lu and no casts.  That should get rid of the warnings the
>> proper way.
>>
>
> Ok, I rewrote it to use %lu for format strings.
>
>
> Jeremy Drake <pgsql@jdrake.com> wrote:
>
>> sizeof(DWORD) is always 4, even on 64-bit windows.  sizeof(long) is also
>> always 4.
>>
>
> I got it. This change will work on 64-bit windows, because DWORD is
> defined as 'unsigned long' there, too. We need to support LLP64
> compliers in advance, though.
>
> Regards,
> ---
> ITAGAKI Takahiro
> NTT Open Source Software Center
>
>
>
> ------------------------------------------------------------------------
>
>
>

В списке pgsql-patches по дате отправления:

Предыдущее
От: Greg Smith
Дата:
Сообщение: Re: Sorting writes during checkpoint
Следующее
От: "Alex Hunsaker"
Дата:
Сообщение: Re: [HACKERS] Patch for Prevent pg_dump/pg_restore from being affected by statement_timeout