chipsalliance / fasm

FPGA Assembly (FASM) Parser and Generator
https://fasm.readthedocs.io
Apache License 2.0
90 stars 30 forks source link

Antlr build fails on Windows with error about MSBUILD not supporting -j #47

Closed mithro closed 3 years ago

mithro commented 3 years ago
-- Build files have been written to: D:/a/fasm/fasm/build/temp.win-amd64-3.5/Release
Microsoft (R) Build Engine version 16.8.3+39993bd9d for .NET Framework
Copyright (C) Microsoft Corporation. All rights reserved.

MSBUILD : error MSB1001: Unknown switch.
Switch: -j

For switch syntax, type "MSBuild -help"
Failed to build ANTLR parser, falling back on slower textX parser. Error:
 Command '['cmake', '--build', '.', '--config', 'Release', '--', '-j']' returned non-zero exit status 1
mithro commented 3 years ago
D:\a\fasm\fasm\src\ParseFasm.cpp(296,29): error C7555: use of designated initializers requires at least '/std:c++latest' [D:\a\fasm\fasm\build\temp.win-amd64-3.6\Release\parse_fasm_tests.vcxproj]
D:\a\fasm\fasm\src\ParseFasm.cpp(378,45): error C7555: use of designated initializers requires at least '/std:c++latest' [D:\a\fasm\fasm\build\temp.win-amd64-3.6\Release\parse_fasm_tests.vcxproj]