Re: backend/parser compile prob - Mailing list pgsql-hackers

From Tom Lane
Subject Re: backend/parser compile prob
Date
Msg-id 23331.1058287365@sss.pgh.pa.us
Whole thread Raw
In response to Re: backend/parser compile prob  (Patrick Welche <prlw1@newn.cam.ac.uk>)
Responses Re: backend/parser compile prob  (Patrick Welche <prlw1@newn.cam.ac.uk>)
List pgsql-hackers
Patrick Welche <prlw1@newn.cam.ac.uk> writes:
> /usr/bin/flex -CF -o'scan.c' scan.l
> gcc -O2 -pipe -g -Wall -Wmissing-prototypes -Wmissing-declarations -I. -I../../../src/include   -c -o gram.o gram.c
> In file included from gram.y:7990:
> scan.c:121: parse error before string constant
> scan.c:247: parse error before string constant
> scan.c:250: parse error before string constant
> scan.c:251: parse error before string constant
> ...

> What string constant?! Will try again later...

Which flex version are you using?  You need 2.5.4 --- the most recent
versions have broken backwards compatibility :-(.  I'm not sure what the
symptom looks like, though.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [ADMIN] problems with pg_restore
Next
From: Tom Lane
Date:
Subject: Re: CVS compile on AIX 4.3.2