On 7 Aug 2023, at 04:50, Yoshihiro Ota <o...@j.email.ne.jp> wrote:
> 
> Am I the only one seeing this error?
> I'm on 12.4-RELEASE amd64 and building CURRENT as of now.
> 
> jaillex.c:2228:43: error: unused parameter 'yyscanner' 
> [-Werror,-Wunused-parameter]
> void *yyalloc (yy_size_t  size , yyscan_t yyscanner)
>                                          ^
> jaillex.c:2233:58: error: unused parameter 'yyscanner' 
> [-Werror,-Wunused-parameter]
> void *yyrealloc  (void * ptr, yy_size_t  size , yyscan_t yyscanner)
>                                                         ^
> jaillex.c:2245:36: error: unused parameter 'yyscanner' 
> [-Werror,-Wunused-parameter]
> void yyfree (void * ptr , yyscan_t yyscanner)
>                                   ^
> 6 errors generated.
> *** [jaillex.o] Error code 1
> 

It seems you are not crazy. :) I can reproduce the error, and I think it
might be caused by:

https://cgit.freebsd.org/src/commit/?id=086e0149ae56641af245ce472e787c2f67d3aea5

However, as to why this does not result in an error (or even a warning)
on -CURRENT, I have no clue. Maybe in the mean time flex in -CURRENT got
updated...

-Dimitry

Attachment: signature.asc
Description: Message signed with OpenPGP

Reply via email to