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
fix: building node modules with Visual Studio 2017 #34109
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you upstream this whole patch please?
also, building node modules with MSVC sounds like a recipe for disaster unless you're using N-API 😬 |
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Patch fails to build
202a8fc
to
b19ab0c
Compare
@jkleinsc fixed |
Release Notes Persisted
|
I have automatically backported this PR to "19-x-y", please check out #34164 |
Description of Change
Build error occurs when
[[deprecated]]
is used in this context in Visual Studio 2017:https://developercommunity2.visualstudio.com/t/Adding-deprecated-to-a-templated-con/1232182
https://stackoverflow.com/questions/38499462/how-to-tell-clang-to-stop-pretending-to-be-other-compilers
Checklist
npm test
passesRelease Notes
Notes: Fixed building node modules with Visual Studio 2017