Re: Suppress compiler warnings on mingw - Mailing list pgsql-patches

From Andrew Dunstan
Subject Re: Suppress compiler warnings on mingw
Date
Msg-id 48068045.5090903@dunslane.net
Whole thread Raw
In response to Re: Suppress compiler warnings on mingw  (ITAGAKI Takahiro <itagaki.takahiro@oss.ntt.co.jp>)
List 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 by date:

Previous
From: Greg Smith
Date:
Subject: Re: Sorting writes during checkpoint
Next
From: "Alex Hunsaker"
Date:
Subject: Re: [HACKERS] Patch for Prevent pg_dump/pg_restore from being affected by statement_timeout