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/>