Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't override CFLAGS when building neon extension
If you override CFLAGS, you also override any flags that PostgreSQL configure script had picked. That includes many options that enable extra compiler warnings, like '-Wall', '-Wmissing-prototypes', and so forth. The override was added in commit 171385a, but the intention of that was to be *more* strict, by enabling '-Werror', not less strict. The proper way of setting '-Werror', as documented in the docs and mentioned in PR #2405, is to set COPT='-Werror', but leave CFLAGS alone. All the compiler warnings with the standard PostgreSQL flags have now been fixed, so we can do this without adding noise. Part of the cleanup issue #9217.
- Loading branch information
17c59ed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
5199 tests run: 4982 passed, 0 failed, 217 skipped (full report)
Flaky tests (3)
Postgres 17
test_subscriber_restart
: release-x86-64Postgres 16
test_gc_of_remote_layers
: release-x86-64Postgres 15
test_s3_wal_replay
: release-arm64Code coverage* (full report)
functions
:31.4% (7509 of 23933 functions)
lines
:49.6% (60283 of 121609 lines)
* collected from Rust tests only
17c59ed at 2024-10-08T11:56:36.697Z :recycle: