Andy Fan <zhihuifan1...@163.com> 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/install-make.html#CONFIGURE-ENVVARS for the standard workaround. regards, tom lane