pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@postgresql.org
Subject: pgsql: Suppress compiler warnings in ecpg test on newer Windows toolcha
Date: Fri, 24 Feb 2017 21:45:38 +0000
Message-ID: <E1chNgI-0005vB-O1@gemulon.postgresql.org> (raw)
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>

Suppress compiler warnings in ecpg test on newer Windows toolchains.

nan_test.pgc supposed that it could unconditionally #define isnan()
and isinf() on WIN32.  This was evidently copied at some point from
src/include/port/win32.h, but nowadays there's a test on _MSC_VER
there.  Make nan_test.pgc look the same.

Per buildfarm warnings.  There's no evidence this produces anything
worse than a warning, and besides it's only a test case, so I don't
feel a need to back-patch.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/c5658a0764d5ac5ea8c2c11d27c62d5472234227

Modified Files
--------------
.../ecpg/test/expected/pgtypeslib-nan_test.c       | 102 +++---
.../ecpg/test/expected/pgtypeslib-nan_test.stderr  | 354 ++++++++++-----------
src/interfaces/ecpg/test/pgtypeslib/nan_test.pgc   |   2 +
3 files changed, 231 insertions(+), 227 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


view thread (3+ messages)  latest in thread

Message-ID: <E1chNgI-0005vB-O1@gemulon.postgresql.org>
Permalink:  ../E1chNgI-0005vB-O1@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1chNgI-0005vB-O1@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: tgl@sss.pgh.pa.us
  Subject: Re: pgsql: Suppress compiler warnings in ecpg test on newer Windows toolcha
  In-Reply-To: <E1chNgI-0005vB-O1@gemulon.postgresql.org>
  References: <E1chNgI-0005vB-O1@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox