Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Aug 2023 22:29:56 +0200
From:      Dimitry Andric <dim@FreeBSD.org>
To:        Yoshihiro Ota <ota@j.email.ne.jp>
Cc:        FreeBSD Current <freebsd-current@freebsd.org>, Jamie Gritton <jamie@FreeBSD.org>
Subject:   Re: Jail compile error on CURRENT?
Message-ID:  <C4FC6C3D-73E2-4824-8D56-02B1FF60D5A6@FreeBSD.org>
In-Reply-To: <20230806225055.bbccc4fc13e41f50ec524621@j.email.ne.jp>
References:  <20230806225055.bbccc4fc13e41f50ec524621@j.email.ne.jp>

next in thread | previous in thread | raw e-mail | index | archive | help

--Apple-Mail=_0B45D251-3F23-40A4-BBA5-9912396AF176
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

On 7 Aug 2023, at 04:50, Yoshihiro Ota <ota@j.email.ne.jp> wrote:
>=20
> Am I the only one seeing this error?
> I'm on 12.4-RELEASE amd64 and building CURRENT as of now.
>=20
> 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
>=20

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=3D086e0149ae56641af245ce472e787c2f=
67d3aea5

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


--Apple-Mail=_0B45D251-3F23-40A4-BBA5-9912396AF176
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.2

iF0EARECAB0WIQR6tGLSzjX8bUI5T82wXqMKLiCWowUCZNFURAAKCRCwXqMKLiCW
oyq0AJ0aOStSbYDI0cNBOApjHzc58W/H/wCgupfAeWQ5ef7vmVd6T+TR+Ld7Nso=
=8WNl
-----END PGP SIGNATURE-----

--Apple-Mail=_0B45D251-3F23-40A4-BBA5-9912396AF176--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?C4FC6C3D-73E2-4824-8D56-02B1FF60D5A6>