On 2017-10-10 11:01:15 -0400, Tom Lane wrote:
> Дилян Палаузов <dpa-postgres@aegee.org> writes:
> > unless the patch below is applied ./configure prints:
>
> You can't run configure with -Werror; there are too many things it does
> that aren't clean according to bleeding-edge compilers. This particular
> issue is only the tip of the iceberg, and most of the problems are not
> ours but Autoconf's, so we can't fix them.
Right. It's to the point I wonder if we shouldn't error out in configure
and/or filter it out if Werror is specified. If the latter we could
still leave it enabled in the persisted cflags.
> The preferred method if you want to use -Werror is to include it in
> COPT, as mentioned near the bottom of
I think a ./configure --use-werror or something would make this less
painful.
Greetings,
Andres Freund
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs