From: | Thomas Munro <tmunro(at)postgresql(dot)org> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Disable clang 16's -Wcast-function-type-strict. |
Date: | 2024-07-12 00:56:23 |
Message-ID: | E1sS4aF-001Jes-UN@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
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(at)sss(dot)pgh(dot)pa(dot)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_14_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/27831127d641b3065bd238ed513def452baeea80
Modified Files
--------------
configure | 44 ++++++++++++++++++++++++++++++++++++++++++++
configure.ac | 6 ++++++
2 files changed, 50 insertions(+)
From | Date | Subject | |
---|---|---|---|
Next Message | Thomas Munro | 2024-07-12 00:56:33 | pgsql: Disable clang 16's -Wcast-function-type-strict. |
Previous Message | Michael Paquier | 2024-07-12 00:37:12 | pgsql: Improve comment of pgstat_read_statsfile() |