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: Silence -Wmissing-variable-declarations in headerscheck.
Date: Fri, 29 Aug 2025 14:46:19 +0000
Message-ID: <E1us0Ms-002EwI-2Q@gemulon.postgresql.org> (raw)

Silence -Wmissing-variable-declarations in headerscheck.

Newer gcc versions will emit warnings about missing extern
declarations if certain header files are compiled by themselves.
Add the "extern" declarations needed to quiet that.

Author: Tom Lane <tgl@sss.pgh.pa.us>
Reviewed-by: Peter Eisentraut <peter@eisentraut.org>
Discussion: https://postgr.es/m/1127775.1754417387@sss.pgh.pa.us

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/8722e7965fd24bf94c278fb86cab99d0c5360532

Modified Files
--------------
src/interfaces/ecpg/test/expected/preproc-strings.c | 15 ++++++++++++++-
src/interfaces/ecpg/test/preproc/strings.h          | 10 ++++++++++
src/tools/gen_keywordlist.pl                        | 11 ++++++++++-
3 files changed, 34 insertions(+), 2 deletions(-)



Message-ID: <E1us0Ms-002EwI-2Q@gemulon.postgresql.org>
Permalink:  ../E1us0Ms-002EwI-2Q@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1us0Ms-002EwI-2Q@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 using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Silence -Wmissing-variable-declarations in headerscheck.
  In-Reply-To: <E1us0Ms-002EwI-2Q@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