Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: avoid compiling with VS v17.12 #55930

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

StefanStojanovic
Copy link
Contributor

Visual Studio v17.12 has a bug that produces a compilation error. Since ClangCL is now supported as a compiler for Node.js on Windows, and Clang 18.1.8, provided with VS 17.12, works fine, Only MSVC is disabled.

cc @nodejs/platform-windows @nodejs/build @huseyinacacak-janea

Refs: nodejs/build#3963
Refs: #53863

@StefanStojanovic StefanStojanovic added windows Issues and PRs related to the Windows platform. build Issues and PRs related to build files or the CI. labels Nov 20, 2024
@nodejs-github-bot nodejs-github-bot added the needs-ci PRs that need a full CI run. label Nov 20, 2024
if %errorlevel% neq 1 (
@rem Clang 18.1.8 Provided with VS 17.12 works fine.
if not defined clang_cl (
echo Node.js doesn't compile with Visual Studio 17.12 Please use a different version.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Including a link to an issue that describes the reason for this would be helpful.

@lpinca lpinca added the request-ci Add this label to start a Jenkins CI on a PR. label Nov 25, 2024
@github-actions github-actions bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Nov 25, 2024
@nodejs-github-bot
Copy link
Collaborator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Issues and PRs related to build files or the CI. needs-ci PRs that need a full CI run. windows Issues and PRs related to the Windows platform.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants