Re: Re: [COMMITTERS] pgsql: Don't need -Wno-error anymore, because flex is no longer

From: Kurt Roeckx <kurt(at)roeckx(dot)be>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Re: [COMMITTERS] pgsql: Don't need -Wno-error anymore, because flex is no longer
Date: 2008-03-19 21:55:34
Message-ID: 20080319215534.GA13268@roeckx.be
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

On Tue, Mar 18, 2008 at 07:23:40PM +0100, Peter Eisentraut wrote:
> Am Dienstag, 18. März 2008 schrieb Bruce Momjian:
> > Peter Eisentraut wrote:
> > > Log Message:
> > > -----------
> > > Don't need -Wno-error anymore, because flex is no longer producing
> > > warnings.
> >
> > I see this patch only affects ecpg? Is this related to Tom's report
> > from trying the new flex?
>
> Yes. There used to be a few -Wno-error uses throughout the source code, near
> the flex calls, to work around the well-known flex warnings issue in case
> someone wanted to use -Werror to check his builds. The fact that there was
> only one such use left in the ecpg subtree shows that this wasn't really
> maintained and could never have worked reliably.

There currently are a few warnings (with gcc 4.3.0):
bootscanner.c:1461: warning: 'input' defined but not used
scan.c:6670: warning: 'input' defined but not used
guc-file.c:1233: warning: 'input' defined but not used
tuplesort.c:2475: warning: inlining failed in call to 'myFunctionCall2': --param large-stack-frame-growth limit reached
tuplesort.c:2526: warning: called from here
tuplesort.c:2475: warning: inlining failed in call to 'myFunctionCall2': --param large-stack-frame-growth limit reached
tuplesort.c:2526: warning: called from here
[...]
tqual.c: In function 'HeapTupleSatisfiesVacuum':
tqual.c:115: warning: inlining failed in call to 'SetHintBits': call is
unlikely and code size would grow
tqual.c:1084: warning: called from here
tqual.c:115: warning: inlining failed in call to 'SetHintBits': call is
unlikely and code size would grow
tqual.c:1088: warning: called from here
[...]
pgc.c:3507: warning: 'input' defined but not used
psqlscan.c:3853: warning: 'input' defined but not used
pl_scan.c:2458: warning: 'input' defined but not used

Kurt

In response to

Browse pgsql-committers by date

  From Date Subject
Next Message Magnus Hagander 2008-03-19 22:38:03 Re: [COMMITTERS] pgsql: Enable probes to work with Mac OS X Leopard and other OSes that
Previous Message User Dim 2008-03-19 21:42:08 prefix - prefix: Implementation of operators & (intersection) and &&

Browse pgsql-hackers by date

  From Date Subject
Next Message Magnus Hagander 2008-03-19 22:38:03 Re: [COMMITTERS] pgsql: Enable probes to work with Mac OS X Leopard and other OSes that
Previous Message Stephen Denne 2008-03-19 21:54:31 Re: count(*) performance improvement ideas