Andy Fan writes:
> I relies on some compiler's check to reduce some simple coding issues, I
> use clang 18.1.6 for now. however "CFLAGS='-Wall -Werror ' ./configure"
> would fail,
Nope, you cannot do that: -Werror breaks many of configure's tests.
See
https://www.postgresql.org/docs/current/inst
Hi,
I relies on some compiler's check to reduce some simple coding issues, I
use clang 18.1.6 for now. however "CFLAGS='-Wall -Werror ' ./configure"
would fail, and if I run ' ./configure' directly, it is OK. I'm not sure
why it happens. More details is below:
(master)> echo $CC
clang
(master)>