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

Wed, 01 Sep 1999 09:35:32 +0200
Rainer Klute <klute@nads.de>
Yacc output faulty ("current")
[Charset ISO-8859-1 unsupported, filtering to ASCII...]
> 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.
> 

Yes, we know.  Will work in next release.

-- 
  Bruce Momjian                        |  http://www.op.net/~candle
  maillist@candle.pha.pa.us            |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

Wed, 1 Sep 1999 20:04:54 -0400 (EDT)
Bruce Momjian <maillist@candle.pha.pa.us>
Re: [HACKERS] Yacc output faulty ("current")