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@lists.postgresql.org
Subject: pgsql: Un-break ecpg tests for Windows.
Date: Sun, 02 Jun 2019 15:13:39 +0000
Message-ID: <E1hXSB1-00005G-GP@gemulon.postgresql.org> (raw)

Un-break ecpg tests for Windows.

Declaring a function "inline" still doesn't work with Windows compilers
(C99? what's that?), unless the macro provided by pg_config.h is
in-scope, which it is not in our ECPG test programs.  So the workaround
I tried to use in commit 7640f9312 doesn't work for Windows.  Revert
the change in printf_hack.h, and instead just blacklist that file
in cpluspluscheck --- since it's a not-installed test file, we don't
really need to verify its C++ cleanliness anyway.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/10a53cae9993abae159abdc6a76e46f6aac120d1

Modified Files
--------------
src/interfaces/ecpg/test/expected/compat_informix-dec_test.c | 2 +-
src/interfaces/ecpg/test/expected/pgtypeslib-num_test.c      | 2 +-
src/interfaces/ecpg/test/expected/pgtypeslib-num_test2.c     | 2 +-
src/interfaces/ecpg/test/printf_hack.h                       | 2 +-
src/tools/pginclude/cpluspluscheck                           | 2 ++
5 files changed, 6 insertions(+), 4 deletions(-)



Message-ID: <E1hXSB1-00005G-GP@gemulon.postgresql.org>
Permalink:  ../E1hXSB1-00005G-GP@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1hXSB1-00005G-GP@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: Un-break ecpg tests for Windows.
  In-Reply-To: <E1hXSB1-00005G-GP@gemulon.postgresql.org>
  References: <E1hXSB1-00005G-GP@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