Skip site navigation (1) Skip section navigation (2)

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: (view raw, whole thread or download thread mbox)
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 ./preproc.c
> mv -f ./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                        |
  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

pgsql-committers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2018 The PostgreSQL Global Development Group