Thread: pgsql/src/interfaces/ecpg/preproc Makefile

pgsql/src/interfaces/ecpg/preproc Makefile

From
petere@postgresql.org (Peter Eisentraut - PostgreSQL)
Date:
CVSROOT:    /cvsroot
Module name:    pgsql
Changes by:    petere@postgresql.org    02/02/22 23:16:05

Modified files:
    src/interfaces/ecpg/preproc: Makefile

Log message:
    Add -Wno-error to CFLAGS, so the rest of the tree can compile with
    -Werror.


Re: pgsql/src/interfaces/ecpg/preproc Makefile

From
Tom Lane
Date:
petere@postgresql.org (Peter Eisentraut - PostgreSQL) writes:
>     Add -Wno-error to CFLAGS, so the rest of the tree can compile with
>     -Werror.

Hmm, are you planning to make -Werror part of the default CFLAGS?
I'm not sure that's a good idea --- there are platforms where gcc
reports warnings that don't appear elsewhere, so someone might get
burnt.

            regards, tom lane

Re: pgsql/src/interfaces/ecpg/preproc Makefile

From
Peter Eisentraut
Date:
Tom Lane writes:

> petere@postgresql.org (Peter Eisentraut - PostgreSQL) writes:
> >     Add -Wno-error to CFLAGS, so the rest of the tree can compile with
> >     -Werror.
>
> Hmm, are you planning to make -Werror part of the default CFLAGS?

No, but I like to use it on occasion.  We already add -Wno-error in other
suspect directories.

--
Peter Eisentraut   peter_e@gmx.net