Yacc output faulty ("current")

From: Rainer Klute <klute(at)nads(dot)de>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Yacc output faulty ("current")
Date: 1999-09-01 07:35:32
Message-ID: 199909010735.JAA09138@kirk.nads.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

when trying to compile the "current" sources under Solaris 2.5.1,
the yacc-generated C source in interfaces/ecpg/preproc/preproc.c
seems to be faulty:

gcc -I../../../include -I../../../backend -I/usr/local/tcltk-8.0p2/include -Wall -Wmissing-prototypes -I../include -DMAJOR_VERSION=2 -DMINOR_VERSION=6 -DPATCHLEVEL=2 -DINCLUDE_PATH=\"/usr/local/pgsql-develop/include\" -c preproc.c
/usr/ccs/bin/yaccpar: In function `yyparse':
/usr/ccs/bin/yaccpar:275: warning: implicit declaration of function `yylex'
preproc.y:3822: parse error before `}'
/usr/ccs/bin/yaccpar:375: warning: label `yyerrlab' defined but not used
/usr/ccs/bin/yaccpar:165: warning: label `yynewstate' defined but not used
gmake[3]: *** [preproc.o] Error 1
gmake[3]: Leaving directory `/share/syswork2/sw/PostgreSQL/CURRENT/pgsql/src/interfaces/ecpg/preproc'

Running preproc.y through Bison (under Linux) helped, but this is
of course no adequate solution.

Best regards
Rainer Klute

Dipl.-Inform. Tel.: +49 211 9330260
Rainer Klute Fax: +49 211 9330293
NADS GmbH
Hildebrandtstr. 4e <http://www.nads.de/>
D-40215 Düsseldorf <http://www.pixelboxx.de/>

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Ansley, Michael 1999-09-01 08:18:14 RE: [HACKERS] Postgres' lexer
Previous Message Oleg Bartunov 1999-09-01 06:09:19 Changes for 6.5.2 ?