Re: Jail compile error on CURRENT?
- Reply: James Gritton : "Re: Jail compile error on CURRENT?"
- In reply to: Yoshihiro Ota : "Jail compile error on CURRENT?"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 07 Aug 2023 20:29:56 UTC
On 7 Aug 2023, at 04:50, Yoshihiro Ota <ota@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