gnutls-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: src/gl/parse-datetime.y: yylex declaration and defintion differ


From: Nikos Mavrogiannopoulos
Subject: Re: src/gl/parse-datetime.y: yylex declaration and defintion differ
Date: Sun, 14 Dec 2014 17:17:20 +0100

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.

regards,
Nikos





reply via email to

[Prev in Thread] Current Thread [Next in Thread]