Menu

win_flex not working for parallel invocations

2012-11-22
2012-11-26
  • Jörg Bornemann

    Jörg Bornemann - 2012-11-22

    Hi there!

    We (Qt project) are using win_flex in our Windows build. We noticed that
    it doesn't work well when multiple win_flex instances are running in
    parallel. This is because every instance uses the same names for
    temporary files. We've patched win_flex to fix the issue for us.

    The fix can be viewed here:
    https://codereview.qt-project.org/#change,40348

    Any chance to get this change upstream?

    Cheers,

    Jörg Bornemann

     

    Last edit: Alex Zhondin 2012-11-26
    • Alex Zhondin

      Alex Zhondin - 2012-11-26

      Hi Jörg!

      Thank you for using win_flex_bison tools and fixing it. I've merged your patch to win_flex_bison code. By the way you don't need to investigate and fix problems there, just let me know and I will do the job with pleasure.
      Next day I will update download binaries.

      P.S. I also added option to set temporary files directory - FLEX_TMP_DIR environment variable. May be helpful sometimes.

       

Log in to post a comment.