pgsql: MSVC: Turn missing function declaration into an error - Mailing list pgsql-committers

From Peter Eisentraut
Subject pgsql: MSVC: Turn missing function declaration into an error
Date
Msg-id E1wDHXF-001DYX-2Y@gemulon.postgresql.org
Whole thread
List pgsql-committers
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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/1a51ec16db7aa1688d0083911db78e17ff7f26ba

Modified Files
--------------
meson.build | 3 +++
1 file changed, 3 insertions(+)


pgsql-committers by date:

Previous
From: Peter Eisentraut
Date:
Subject: pgsql: Add missing include
Next
From: Daniel Gustafsson
Date:
Subject: pgsql: doc: Add missing GUCs to SSL SNI docs