pgsql: MSVC: Turn missing function declaration into an error
Started by Peter Eisentraut2 months ago1 messagescomitters
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: /messages/by-id/1142ad86-e475-41b3-aeee-c6ad913064fa@eisentraut.org
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/1a51ec16db7aa1688d0083911db78e17ff7f26ba
Modified Files
--------------
meson.build | 3 +++
1 file changed, 3 insertions(+)