[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: src/gl/parse-datetime.y: yylex declaration and defintion differ
From: |
Tim Rühsen |
Subject: |
Re: src/gl/parse-datetime.y: yylex declaration and defintion differ |
Date: |
Sun, 14 Dec 2014 18:06:28 +0100 |
User-agent: |
KMail/4.14.2 (Linux/3.16.0-4-amd64; KDE/4.14.2; x86_64; ; ) |
Am Sonntag, 14. Dezember 2014, 17:17:20 schrieb Nikos Mavrogiannopoulos:
> On Sun, 2014-12-14 at 15:17 +0100, Tim Rühsen wrote:
> > Hi Nikos,
> >
> > a while ago I mentioned a byacc problem and you said your are using bison
> > yacc. Now I found some time and changed to bison. But I still get the same
> > error (now using branch 3.3.x).
> >
> > The declaration and definition of yylex() function differ (and maybe I get
> > an error because of -Wstrict-prototypes, but did not verify it).
> >
> > This patch fixes it for me:
> > static int
> >
> > -yylex (YYSTYPE *lvalp, parser_control *pc)
> > +yylex (union YYSTYPE *lvalp, parser_control *pc)
> >
> > {
>
> Thank you Tim. Would you mind sending the issue and the patch to
> address@hidden I could apply it locally, but it would then be
> overwritten on the next gnulib update.
Just done (hope one does not need to be subscribed).
Sorry that I did not take the time to even realize that src/gl holds gnulib
sources ;-)
Tim
signature.asc
Description: This is a digitally signed message part.