Date: Sat, 27 Jun 2020 19:59:10 +0200 From: Dimitry Andric <dim@FreeBSD.org> To: Mike Clarke <jmc-freebsd2@milibyte.co.uk> Cc: ports@freebsd.org, Jung-uk Kim <jkim@FreeBSD.org> Subject: Re: mail/filtermail fails to build with 13.0-CURRENT Message-ID: <AD51C4C2-39ED-44C3-8360-F53014291F51@FreeBSD.org> In-Reply-To: <11067123.Fl8HKFhtjO@curlew> References: <11067123.Fl8HKFhtjO@curlew>
next in thread | previous in thread | raw e-mail | index | archive | help
--Apple-Mail=_9626E216-6C24-4A66-B752-F8EE8EECFB02 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On 27 Jun 2020, at 17:56, Mike Clarke <jmc-freebsd2@milibyte.co.uk> = wrote: > As someone with very little experience with C++ I'd welcome advice on = how to fix this for 13.0- > CURRENT. It builds without problem on 12.1-RELEASE ... > rcfile.ll:151:14: error: no viable overloaded '=3D' > yyin =3D new ifstream (sub_file.c_str ()); > ~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ This appears to be caused by a recent update to contrib/flex from 2.5.37 = (7 years old) to 2.6.4, in r362333, where upstream changed yyin and = yyout from pointers to references: = https://github.com/westes/flex/commit/336a1deaa57975f34cd732d656d1c0cbe3d5= 233a Unfortunately this can break existing .ll files. They will have to be = patched, but this is made more difficult by having the new version of = flex in 13-CURRENT. -Dimitry --Apple-Mail=_9626E216-6C24-4A66-B752-F8EE8EECFB02 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 iF0EARECAB0WIQR6tGLSzjX8bUI5T82wXqMKLiCWowUCXveI7wAKCRCwXqMKLiCW o7sJAKCgAOVzqTDy+fxBsV//3Gu2uI1NqQCg05IwzM+XwEVdGeE+l/QCTg2wktA= =V3yb -----END PGP SIGNATURE----- --Apple-Mail=_9626E216-6C24-4A66-B752-F8EE8EECFB02--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AD51C4C2-39ED-44C3-8360-F53014291F51>