-
Notifications
You must be signed in to change notification settings - Fork 30.2k
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
deps,v8: silence V8 self-deprecation warnings #25394
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.
Harsh but fair. It's not really up to contributors to core to fix those anyway.
@refack just to clarify, these are warnings only for V8 code itself, not Node.js using V8 deprecated functions right? |
@refack As I understand it, this would disable deprecation warnings for addons as well, unless they explicitly enable it? How are addon authors going to know that their code will be broken? |
These settings are just for the the compilation of the V8 code itself (I should not have turned them on in the first place when we migrated them from the GN setup). For all other code (the files in Lines 300 to 305 in fe7ce8c
Resume CI: https://ci.nodejs.org/job/node-test-pull-request/20077/ ✅ |
Landed in d1b7193 |
PR-URL: #25394 Reviewed-By: Ujjwal Sharma <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Yang Guo <[email protected]>
I’m labelling this |
With current config we get C++ deprecation warning while building V8 from it's own code for use of methods that the V8 team deprecated. IMO this is not directly informative for node's build process, so this PR silences these warnings, unless explicitly configured to show them.
CI: https://ci.nodejs.org/job/node-test-pull-request/19994/
/CC @nodejs/v8 @nodejs/build-files
Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passes