[Qbs] lexyacc: flex on windows doesn't work with spaces between arguments keys and values

Christian Kandeler christian.kandeler at qt.io
Tue Feb 7 15:27:47 CET 2017


On 02/07/2017 11:33 AM, Алексей Скородумов wrote:
> Hi,
> 
> Flex on windows (version 2.5.4a, from GnuWin32 project
> <http://gnuwin32.sourceforge.net/packages/flex.htm>) doesn't accept
> arguments with spaces. For example:
> 
>  C:\GnuWin32\bin\flex.exe -P scanner -o
> E:/Project/default/compiler.MSVC2013-amd64.c9ce5223/lexyacc/scannerlex.yy.c
> E:/Project/scanner.l
> C:\GnuWin32\bin\flex.exe: can't open scanner
> 
> The same command works fine if there are no spaces between arguments keys
> and values.

How odd. Could you please test
https://codereview.qt-project.org/#/c/184853/
?


Thanks,
Christian



More information about the Qbs mailing list