| From: | Peter Eisentraut <peter(at)eisentraut(dot)org> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: MSVC: Turn missing function declaration into an error |
| Date: | 2026-04-16 07:53:14 |
| Message-ID: | E1wDHXF-001DYX-2Y@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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(at)sss(dot)pgh(dot)pa(dot)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(+)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Daniel Gustafsson | 2026-04-16 09:23:48 | pgsql: doc: Add missing GUCs to SSL SNI docs |
| Previous Message | Peter Eisentraut | 2026-04-16 07:42:13 | pgsql: Add missing include |