> On 15 Sep 2018, at 18:34, Akim Demaille <a...@lrde.epita.fr> wrote: > >> Le 15 sept. 2018 à 14:51, Hans Åberg <haber...@telia.com> a écrit : >> >> >>> On 15 Sep 2018, at 07:07, Akim Demaille <a...@lrde.epita.fr> wrote: >>> >>> So, while I totally understand Frank’s point, I’m less worried than >>> he is, and use Flex’s C++ backend. >> >> Which Flex version? It only works before 2.6.0. See: >> >> https://stackoverflow.com/questions/34438023/openfoam-flex-yyin-rdbufstdcin-rdbuf-error > > I’ve been using all the versions of Flex for a while now. See: > > https://gitlab.lrde.epita.fr/vcsn/vcsn/commit/dcdf2b3cae7353d99520448a7b22a4334a72bc5d
You patch up the Flex header and then use it locally? — I used that approach, but then I got it working without patching in 2.5.37 by adding a class in .yy, but then it broke in 2.6. Another method I used in the past was my own skeleton file, but then must be maintained.