pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Thomas Munro <tmunro@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Disable clang 16's -Wcast-function-type-strict.
Date: Fri, 12 Jul 2024 00:56:33 +0000
Message-ID: <E1sS4aP-001JfU-QX@gemulon.postgresql.org> (raw)

Disable clang 16's -Wcast-function-type-strict.

This is a back-patch of commit 101c37cd into REL_14_STABLE and
REL_15_STABLE.  Those branches had commit de8feb1f3, which turned on
-Wcast-function-type, but did not disable -Wcast-function-type-strict.
This silences warnings about function pointer types without prototypes
based on new C23 rules, that we want to suppress for now.

Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>
Discussion: https://postgr.es/m/CA%2BhUKGKnBvdrbH2LW%2B7-Lv599t9JFOHjx%3Dxw-VQmdoj%3D9585CQ%40mail.gmail.com
Discussion: https://postgr.es/m/CA%2BhUKGJvX%2BL3aMN84ksT-cGy08VHErRNip3nV-WmTx7f6Pqhyw%40mail.gmail.com

Branch
------
REL_15_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/6e2552d180a0a3a694c2f91ec01bec51d9fed671

Modified Files
--------------
configure    | 44 ++++++++++++++++++++++++++++++++++++++++++++
configure.ac |  6 ++++++
2 files changed, 50 insertions(+)



view thread (4+ messages)  latest in thread

Message-ID: <E1sS4aP-001JfU-QX@gemulon.postgresql.org>
Permalink:  ../E1sS4aP-001JfU-QX@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1sS4aP-001JfU-QX@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: tmunro@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Disable clang 16's -Wcast-function-type-strict.
  In-Reply-To: <E1sS4aP-001JfU-QX@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