]> git.ipfire.org Git - thirdparty/postgresql.git/commit
MSVC: Turn missing function declaration into an error
authorPeter Eisentraut <peter@eisentraut.org>
Thu, 16 Apr 2026 07:53:03 +0000 (09:53 +0200)
committerPeter Eisentraut <peter@eisentraut.org>
Thu, 16 Apr 2026 07:53:03 +0000 (09:53 +0200)
commit1a51ec16db7aa1688d0083911db78e17ff7f26ba
treeeda10fdad3cb4cfe316e83bc1f709527c6933128
parentc86d2ccdb35544590531f5431606db46b57730a8
MSVC: Turn missing function declaration into an error

Calling an undeclared function should be an error as of C99, and GCC
and Clang do that, but MSVC doesn't even warn about it in the default
warning level.  (Commit c86d2ccdb35 fixed an instance of this
problem.)  This turns on this warning and makes it an error by
default, to match other compilers.

Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>
Discussion: https://www.postgresql.org/message-id/flat/1142ad86-e475-41b3-aeee-c6ad913064fa%40eisentraut.org
meson.build