Re: pgsql: Added just another test case.

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Michael Meskes <meskes(at)postgresql(dot)org>, pgsql-committers(at)postgresql(dot)org
Subject: Re: pgsql: Added just another test case.
Date: 2006-02-08 15:45:58
Message-ID: 200602081545.k18FjwQ18496@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers


Yes, it is the yydebug check. I am thinking we should just comment out
the check until we get it fixed.

---------------------------------------------------------------------------

Tom Lane wrote:
> meskes(at)postgresql(dot)org (Michael Meskes) writes:
> > Log Message:
> > -----------
> > Added just another test case.
> > Fixed missing continuation line character.
> > Do not translate $-quoting.
> > Bit field notation belongs to a variable not a variable list.
> > Output of line number only done by one function.
>
> This commit seems to have broken HEAD:
>
> bison -y -d preproc.y
> mv -f y.tab.c ./preproc.c
> mv -f y.tab.h ./preproc.h
> /usr/bin/flex -o'pgc.c' pgc.l
> ccache gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -g -Wno-error -pthread -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -I./../include -I. -I../../../../src/include -D_GNU_SOURCE -I/usr/include/et -DMAJOR_VERSION=4 -DMINOR_VERSION=2 -DPATCHLEVEL=1 -c -o preproc.o preproc.c
> In file included from preproc.y:6614:
> pgc.c: In function `yylex':
> pgc.c:1522: warning: label `find_rule' defined but not used
> preproc.y: At top level:
> pgc.c:3678: warning: 'yy_flex_realloc' defined but not used
> ccache gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -g -Wno-error -pthread -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -I./../include -I. -I../../../../src/include -D_GNU_SOURCE -I/usr/include/et -DMAJOR_VERSION=4 -DMINOR_VERSION=2 -DPATCHLEVEL=1 -c -o type.o type.c
> ccache gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -g -Wno-error -pthread -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -I./../include -I. -I../../../../src/include -D_GNU_SOURCE -I/usr/include/et -DMAJOR_VERSION=4 -DMINOR_VERSION=2 -DPATCHLEVEL=1 -c -o ecpg.o ecpg.c
> ccache gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -g -Wno-error -pthread -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -I./../include -I. -I../../../../src/include -D_GNU_SOURCE -I/usr/include/et -DMAJOR_VERSION=4 -DMINOR_VERSION=2 -DPATCHLEVEL=1 -c -o ecpg_keywords.o ecpg_keywords.c
> ccache gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -g -Wno-error -pthread -D_REENTRANT -D_THREAD_SAFE -D_POSIX_PTHREAD_SEMANTICS -I./../include -I. -I../../../../src/include -D_GNU_SOURCE -I/usr/include/et -DMAJOR_VERSION=4 -DMINOR_VERSION=2 -DPATCHLEVEL=1 -c -o output.o output.c
> output.c: In function `hashline_number':
> output.c:90: error: `yydebug' undeclared (first use in this function)
> output.c:90: error: (Each undeclared identifier is reported only once
> output.c:90: error: for each function it appears in.)
> make[4]: *** [output.o] Error 1
>
> regards, tom lane
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: don't forget to increase your free space map settings
>

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2006-02-09 00:56:58 pgsql: Fix broken non-YYDEBUG case.
Previous Message Tom Lane 2006-02-08 15:45:03 Re: pgsql: Added just another test case.