Disable clang 16's -Wcast-function-type-strict.
authorThomas Munro <tmunro@postgresql.org>
Mon, 12 Dec 2022 21:03:28 +0000 (10:03 +1300)
committerThomas Munro <tmunro@postgresql.org>
Fri, 12 Jul 2024 00:34:09 +0000 (12:34 +1200)
commit6e2552d180a0a3a694c2f91ec01bec51d9fed671
tree87d4f505640ef0cae4f9db51ef3354be66786c31
parentaee8c2b95492e1b0a228184cd9147b1c0749d673
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
configure
configure.ac