On 27 Jun 2020, at 17:56, Mike Clarke <jmc-freeb...@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 '=' > yyin = 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/336a1deaa57975f34cd732d656d1c0cbe3d5233a 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
signature.asc
Description: Message signed with OpenPGP