File tree 1 file changed +10
-1
lines changed 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -290,10 +290,19 @@ goto exit
290
290
@ rem Visual Studio v17.10 has a bug that causes the build to fail.
291
291
@ rem Check if the version is v17.10 and exit if it is.
292
292
echo %VSCMD_VER% | findstr /b /c:" 17.10" > nul
293
- if %errorlevel% neq 1 (
293
+ if %errorlevel% neq 1 (
294
294
echo Node.js doesn't compile with Visual Studio 17.10 Please use a different version.
295
295
goto exit
296
296
)
297
+ @ rem Same applies to v17.12 for MSVC.
298
+ echo %VSCMD_VER% | findstr /b /c:" 17.12" > nul
299
+ if %errorlevel% neq 1 (
300
+ @ rem Clang 18.1.8 Provided with VS 17.12 works fine.
301
+ if not defined clang_cl (
302
+ echo Node.js doesn't compile with Visual Studio 17.12 Please use a different version.
303
+ goto exit
304
+ )
305
+ )
297
306
298
307
@ rem check if the clang-cl build is requested
299
308
if not defined clang_cl goto clang-skip
You can’t perform that action at this time.
0 commit comments