Hi,

libgnutls fails to compile here due to an issue with gnulib.

The maintainer (Nikos Mavrogiannopoulos <n...@gnutls.org>) asked me to report 
it here.


The declaration and definition of yylex() function differ (and maybe I get an 
error because of gcc's -Wstrict-prototypes, but did not verify it).

This patch fixes it for me:

diff --git a/src/gl/parse-datetime.y b/src/gl/parse-datetime.y
index 52e6a0c..72d6c38 100644
--- a/src/gl/parse-datetime.y
+++ b/src/gl/parse-datetime.y
@@ -1031,7 +1031,7 @@ lookup_word (parser_control const *pc, char *word)
 }
 
 static int
-yylex (YYSTYPE *lvalp, parser_control *pc)
+yylex (union YYSTYPE *lvalp, parser_control *pc)
 {
   unsigned char c;
   size_t count;


Regards, Tim

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to