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