From: Peter Eisentraut <peter@eisentraut.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Add warning option -Wold-style-declaration
Date: Mon, 30 Mar 2026 21:34:30 +0000
Message-ID: <E1w7KFi-002Cx8-08@gemulon.postgresql.org> (raw)
Add warning option -Wold-style-declaration
This warning has been triggered a few times via the buildfarm (see
commits 8212625e53f, 2b7259f8557, afe86a9e73b), so we might as well
add it so that everyone sees it.
(This is completely separate from the recently added
-Wold-style-definition.)
Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>
Reviewed-by: Bertrand Drouvot <bertranddrouvot.pg@gmail.com>
Discussion: https://www.postgresql.org/message-id/flat/aa73q1aT0A3/vke/%40ip-10-97-1-34.eu-west-3.compute.intern...
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/c73e8ee061adf26ed77ffa7e676f5de6d9f6da21
Modified Files
--------------
configure | 41 +++++++++++++++++++++++++++++++++++++++++
configure.ac | 2 ++
meson.build | 14 +++++++++-----
3 files changed, 52 insertions(+), 5 deletions(-)
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: peter@eisentraut.org, pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Add warning option -Wold-style-declaration
In-Reply-To: <E1w7KFi-002Cx8-08@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