backend/parser compile prob - Mailing list pgsql-hackers

From Patrick Welche
Subject backend/parser compile prob
Date
Msg-id 20030715134735.E13460@quartz.newn.cam.ac.uk
Whole thread Raw
Responses Re: backend/parser compile prob  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
I'm getting far too many errors while trying to compile gram.c in the
backend/parser, that I must be missing something.. Story so far
gmake distclean
cvs update
configure --enable-debug --enable-cassert
gmake

gmake[3]: Entering directory `/usr/src/local/pgsql/src/backend/parser'
gcc -O2 -pipe -g -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I../../../src/include   -c -o gram.o gram.c
gram.y:105: parse error before `Attr'
gram.y:105: warning: no semicolon at end of struct or union
gram.y:109: parse error before `*'
gram.y:109: warning: type defaults to `int' in declaration of `param'
gram.y:109: warning: data definition has no type or storage class
...

GNU Make version 3.79.1

% cvs diff src/backend/parser/gram.c
%

In other words, I'm not even regenerating gram.c with
bison (GNU Bison) 1.875
flex version 2.5.4

Thoughts?

Cheers,

Patrick


pgsql-hackers by date:

Previous
From: Gavin Sherry
Date:
Subject: Re: find_typedef on Linux
Next
From: "Wang Mike"
Date:
Subject: clock_timestamp() and transcation_timestamp() patch