[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: xcvs compile problem (parse error in yacc)
In article <20090504193654.GA2172%bsoares.omnisys.int.com.br@localhost>,
Silas Silva <silasdb%gmail.com@localhost> wrote:
>On Sun, May 03, 2009 at 10:12:57AM -0400, Christos Zoulas wrote:
>> Now you probably have a stale getdate.c/getdate.o which is empty. Clean this
>Hi Christos and others.
>Sorry for my amateurism, but I didn't understand very well. getdate.o
>was empty, but when linking xcvs, it was asking for get_date().
>get_date() is implemented in xcvs/dist/src/subr.c (besides getdate.y,
>which does not generate getdate.c), but between pre-processor rules:
># ifndef __GNUC__
>Prepend "//" before "#" made everything work. I know this is not the
>right thing to do, but, as I was not understanding the details of it, I
>prefered to make it to have -current built.
>Thank you again ;-)
This is just a stub that does nothing. The real get_date() function
is in getdate.y which gets yacc'ed into getdate.c. Since our yacc
does not support %pure_parser yet, this fails and probably generates
an empty getdate.c file.
Main Index |
Thread Index |