-
Notifications
You must be signed in to change notification settings - Fork 30.4k
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
src: fix aliased buffer import warning in node_perf_common.h #35436
Conversation
139c82c
to
68520ff
Compare
src/node_perf_common.h
Outdated
@@ -1,6 +1,7 @@ | |||
#ifndef SRC_NODE_PERF_COMMON_H_ | |||
#define SRC_NODE_PERF_COMMON_H_ | |||
|
|||
#include "aliased_buffer.h" |
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 put this before the #include "node.h"
line below?
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.
Sure, but any particular reason for this changes? Is it because of the NODE_WANT_INTERNALS
?
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.
@yashLadha Yes in case anyone including this header accidentally include headers they don't want (there aren't any in aliased_buffer.h
for now, but it could be if we don't follow this pattern :) like what this PR used to do)
68520ff
to
48b73d7
Compare
Alliased buffer header is not imported in the `env.h` file due to which the language server is giving an error. Fixed it via importing the header file for "aliased_buffer.h" PR-URL: nodejs#35436 Reviewed-By: Gireesh Punathil <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Joyee Cheung <[email protected]> Reviewed-By: Rich Trott <[email protected]>
48b73d7
to
e4dc7f7
Compare
Landed in e4dc7f7 |
Alliased buffer header is not imported in the `env.h` file due to which the language server is giving an error. Fixed it via importing the header file for "aliased_buffer.h" PR-URL: #35436 Reviewed-By: Gireesh Punathil <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Joyee Cheung <[email protected]> Reviewed-By: Rich Trott <[email protected]>
Alliased buffer header is not imported in the `env.h` file due to which the language server is giving an error. Fixed it via importing the header file for "aliased_buffer.h" PR-URL: nodejs#35436 Reviewed-By: Gireesh Punathil <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Joyee Cheung <[email protected]> Reviewed-By: Rich Trott <[email protected]>
Alliased buffer header is not imported in the
node_perf_common.h
file due to whichthe language server is giving an error.
Fixed it via importing the header file for "aliased_buffer.h"
Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passes