bjoern icon indicating copy to clipboard operation
bjoern copied to clipboard

cl : Command line error D8021 : invalid numeric argument '/Wextra'

Open tonysepia opened this issue 6 years ago • 5 comments

When running 'pip install bjoern' on Windows 10:

"cl : Command line error D8021 : invalid numeric argument '/Wextra' error: command 'C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.13.26128\bin\HostX86\x64\cl.exe' failed with exit status 2"

Apparently the compile flag -Wextra is meant for GCC and we are trying to use that on cl (the Microsoft compiler) too

tonysepia avatar Jun 06 '18 13:06 tonysepia

PR welcome

jonashaag avatar Jun 06 '18 13:06 jonashaag

#136 added a PR

tonysepia avatar Jun 06 '18 14:06 tonysepia

@jonashaag hi there. Do you have time to check this PR?

vforvoid avatar Aug 16 '18 01:08 vforvoid

@vforvoid I don't know the product too well, but even after fixing this on my side I suspect that it will be very difficult to compile the code on Windows. Basically, I have immediately encountered another error after resolving one with 'unfamiliar' compiler flags. Let's see if @jonashaag has originally written this with Windows in mind

tonysepia avatar Aug 16 '18 06:08 tonysepia

No, not written with Windows in mind. PR for complete Windows support welcome, but I'm not going to officially support Windows

jonashaag avatar Aug 16 '18 07:08 jonashaag