Re: Shutting up flex output warnings

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: Shutting up flex output warnings
Date: 2002-10-18 01:30:11
Message-ID: 13310.1034904611@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

Peter Eisentraut <peter_e(at)gmx(dot)net> writes:
> Would it be appropriate to apply the following patch to eliminate the
> warnings generated by the flex output?

> diff -ru ../cvs-pgsql/src/interfaces/ecpg/preproc/Makefile ./src/interfaces/ecpg/preproc/Makefile

> ifeq ($(GCC), yes)
> -override CFLAGS += -Wno-error
> +override CFLAGS += -Wno-unused
> endif

Can you make it apply only to the flex output file, and not to all the
other C files in those directories? I'm not thrilled about losing this
error check on plpgsql and ecpg/preproc as a whole.

regards, tom lane

In response to

Browse pgsql-patches by date

  From Date Subject
Next Message Marc G. Fournier 2002-10-18 13:20:56 Re: contrib/dbmirror
Previous Message Tom Lane 2002-10-18 00:54:53 Re: contrib/dbmirror