Re: Fix compiler warnings on 64-bit Windows

From: Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Juan José Santamaría Flecha <juanjo(dot)santamaria(at)gmail(dot)com>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Fix compiler warnings on 64-bit Windows
Date: 2020-02-21 19:10:02
Message-ID: 285843f0-e670-ba88-10ea-4678ceb61b96@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 2020-02-20 17:24, Tom Lane wrote:
> =?UTF-8?Q?Juan_Jos=C3=A9_Santamar=C3=ADa_Flecha?= <juanjo(dot)santamaria(at)gmail(dot)com> writes:
>> On Mon, Feb 17, 2020 at 4:52 PM Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>>> Anyway, I'll have a go at updating gaur to use 4.5.x. There is a
>>> sane-looking stdint.h on my second-oldest dinosaur, prairiedog.
>>> Don't know about the situation on Windows, though. We might want
>>> to take a close look at NetBSD, too, based on the GCC notes.
>
>> As for Windows, stdint.h was included in VS2010, and currently Postgres
>> supports VS2013 to 2019.
>
> I've now updated gaur to gcc 4.5.4 (took a little more hair-pulling
> than I would have wished). I confirm that 0001-Require-stdint.h.patch
> works in that environment, so I think you can go ahead and push it.

Done, and also the appropriately reworked Windows warnings patch from
the beginning of the thread.

--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2020-02-21 19:40:13 Re: Removing obsolete configure checks
Previous Message Palamadai, Eka 2020-02-21 17:10:49 Re: [PATCH] Replica sends an incorrect epoch in its hot standby feedback to the Master