pgsql/src/interfaces/ecpg/preproc Makefile

Поиск
Список
Период
Сортировка
Искать

pgsql/src/interfaces/ecpg/preproc Makefile

От:
petere@postgresql.org (Peter Eisentraut - PostgreSQL)
Дата:
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

От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
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

От:
Peter Eisentraut <peter_e@gmx.net>
Дата:
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

FAQ