Matteo Bruni matteo.mystral@gmail.com writes:
+%option reentrant bison-bridge
These won't work on old flex versions, and will get you in trouble with the flex police (aka Michael Stefaniuc ;-)
2009/12/29 Alexandre Julliard julliard@winehq.org:
Matteo Bruni matteo.mystral@gmail.com writes:
+%option reentrant bison-bridge
These won't work on old flex versions, and will get you in trouble with the flex police (aka Michael Stefaniuc ;-)
Alexandre, now you have another person on your side against RHEL 5 and old flex versions :) Joking aside, that's not a big issue as wpp is not reentrant anyway and I'm using the mutex to allow a single call at a time to D3DXAssembleShader. Just a question: as now I have to keep the parser context in a global structure defined in asmshader.y, how should I give access to it from asmshader.l? Do you prefer to give visibility to the global struct from asmshader.l or to create a getter (like a struct asm_parser *asm_get_context(void) function)?
On 12/29/2009 04:54 PM, Matteo Bruni wrote:
2009/12/29 Alexandre Julliardjulliard@winehq.org:
Matteo Brunimatteo.mystral@gmail.com writes:
+%option reentrant bison-bridge
These won't work on old flex versions, and will get you in trouble with the flex police (aka Michael Stefaniuc ;-)
All that because the Wine maintainer puts a lot of emphasis on portability ...
Alexandre, now you have another person on your side against RHEL 5 and old flex versions :)
I have just submitted a patch for configure.ac to require a newer flex version to build Wine. People on RHEL5 can just rebuild a SRPM from Fedora (those from F7 to F10 are just a "rpmbuild --rebuild"). Now the Wine maintainer needs to just accept that patch ;)
bye michael