Yacc output faulty ("current")

Поиск
Список
Период
Сортировка
От Rainer Klute
Тема Yacc output faulty ("current")
Дата
Msg-id 199909010735.JAA09138@kirk.nads.de
обсуждение исходный текст
Ответы Re: [HACKERS] Yacc output faulty ("current")  (Bruce Momjian <maillist@candle.pha.pa.us>)
Список 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
GmbHHildebrandtstr. 4e                <http://www.nads.de/>
 
D-40215 Düsseldorf                  <http://www.pixelboxx.de/>


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Oleg Bartunov
Дата:
Сообщение: Changes for 6.5.2 ?
Следующее
От: "Ansley, Michael"
Дата:
Сообщение: RE: [HACKERS] Postgres' lexer