Re: headerscheck warnings with late-model gcc
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Peter Eisentraut <peter@eisentraut.org>
Cc: pgsql-hackers@lists.postgresql.org
Date: 2025-08-06T19:11:36Z
Lists: pgsql-hackers
Peter Eisentraut <peter@eisentraut.org> writes: > On 05.08.25 20:09, Tom Lane wrote: >> Curiously, no such complaints appear with cpluspluscheck (which is >> using g++ 15.1.1). I don't really understand why not ... > -Wmissing-variable-declarations is added by us as of PG18 (commit > 66188912566). It's available since gcc 14 and doesn't exist for C++. Oh! Okay, that explains the lack of messages, but it still seems like an odd omission. regards, tom lane
Commits
-
Silence -Wmissing-variable-declarations in headerscheck.
- 8722e7965fd2 19 (unreleased) landed
-
headerscheck: Document that --with-llvm is required
- f5d07085822a 19 (unreleased) landed
-
headerscheck: Ignore Windows-specific header
- da0413373c09 19 (unreleased) landed
-
headerscheck: Use ICU_CFLAGS
- 664e0d678965 19 (unreleased) landed
-
Add -Wmissing-variable-declarations to the standard compilation flags
- 66188912566b 18.0 cited