Commit 542f252 authored Nov 26, 2024 · 15 / 20 · Verified
1 parent 0ba264f commit 542f252 Copy full SHA for 542f252
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 @@ -292,10 +292,19 @@ goto exit
292
292
@ rem Visual Studio v17.10 has a bug that causes the build to fail.
293
293
@ rem Check if the version is v17.10 and exit if it is.
294
294
echo %VSCMD_VER% | findstr /b /c:" 17.10" > nul
295
- if %errorlevel% neq 1 (
295
+ if %errorlevel% neq 1 (
296
296
echo Node.js doesn't compile with Visual Studio 17.10 Please use a different version.
297
297
goto exit
298
298
)
299
+ @ rem Same applies to v17.12 for MSVC.
300
+ echo %VSCMD_VER% | findstr /b /c:" 17.12" > nul
301
+ if %errorlevel% neq 1 (
302
+ @ rem Clang 18.1.8 Provided with VS 17.12 works fine.
303
+ if not defined clang_cl (
304
+ echo Node.js doesn't compile with Visual Studio 17.12 Please use a different version.
305
+ goto exit
306
+ )
307
+ )
299
308
300
309
@ rem check if the clang-cl build is requested
301
310
if not defined clang_cl goto clang-skip
You can’t perform that action at this time.
0 commit comments