]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Disable clang 16's -Wcast-function-type-strict.
authorThomas Munro <tmunro@postgresql.org>
Mon, 12 Dec 2022 21:03:28 +0000 (10:03 +1300)
committerAndrew Dunstan <andrew@dunslane.net>
Thu, 7 Nov 2024 23:14:01 +0000 (09:44 +1030)
commitb4363fc66e642b70f88455004e5bc6d67c65cf71
treebd0fc4e9c3c7cf417f630b9c576d4ff56b4c28d3
parenta5abacecb46358a7b771841e2ee0acbb1c353b79
Disable clang 16's -Wcast-function-type-strict.

Clang 16 is still in development, but seawasp reveals that it has
started warning about many of our casts of function pointers (those
introduced by commit 1c27d16e, and some older ones).  Disable the new
warning for now, since otherwise buildfarm animal seawasp fails, and we
have no current plans to change our strategy for these callback function
types.

May be back-patched with other Clang/LLVM 16 changes around release
time.

Discussion: https://postgr.es/m/CA%2BhUKGJvX%2BL3aMN84ksT-cGy08VHErRNip3nV-WmTx7f6Pqhyw%40mail.gmail.com
(cherry picked from commit 101c37cd342a3ae134bb3e5e0abb14ae46692b56)

Author: Thomas Munro <tmunro@postgresql.org>
Author: Alexandra Wang <alexandra.wang.oss@gmail.com>
configure
configure.in
meson.build [new file with mode: 0644]