Add warning option -Wold-style-declaration
Peter Eisentraut <peter@eisentraut.org>
Author:
Peter Eisentraut <peter@eisentraut.org>
Date: 2026-03-30T21:34:13Z
Releases:
19 (unreleased)
Add warning option -Wold-style-declaration This warning has been triggered a few times via the buildfarm (see commits 8212625e53f, 2b7259f8557, afe86a9e73b), so we might as well add it so that everyone sees it. (This is completely separate from the recently added -Wold-style-definition.) Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us> Reviewed-by: Bertrand Drouvot <bertranddrouvot.pg@gmail.com> Discussion: https://www.postgresql.org/message-id/flat/aa73q1aT0A3/vke/%40ip-10-97-1-34.eu-west-3.compute.internal
Files
| Path | Change | +/− |
|---|---|---|
| configure | modified | +41 −0 |
| configure.ac | modified | +2 −0 |
| meson.build | modified | +9 −5 |
Discussion
- Enable -Wstrict-prototypes and -Wold-style-definition by default 22 messages · 2026-03-09 → 2026-04-08