Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
v11.10.0 proposal #26098
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
Uh oh!
There was an error while loading. Please reload this page.
v11.10.0 proposal #26098
Changes from 1 commit
696740799bc0dfcc22fd7d463181d9c269009490393f080d135454e0be499c3b9289f4454278acc253b5fd98d62accb8aef5db5090b014d5b779c0725c19eb57922085bffcf6f6c8820b1e0c43998cea57a1f16640398fd18b344cda46be2d683da755c2702411f6fe673e434704a4401007416cdf3e84882902c75569948a8c1789f1bcd49d2ea187cb9439f395728618f641699d161988c714c4e2bbb1f6acbbf02729084358b5d02ad407656d58059d30e00f8e86bd771d9025a7c3e28d8918b71464cc4ae202e80b91ee3165d3e010afbaa08656d39a54c959d6030a4e8970354962009f18e70aa300772ce3b5a83764d0b56fd4c4f775a66e3844655e9015ed0ba6c8e401c6fadee66cb585aaeb012c737a8c866b52197efb76c51ec3353de0f0b302e452d4b7ab7fb49ee81c6c88d14870e13c185c55d662baa10ae1f8991fc17a37dcc6b30f639dc07ace267b898cf781b542e850d2c8e1be8676c457d003b74cc6f516f682d57504c4d16e86ca8d26f5d50341b9a6088cedfb8620d4292b1f8817e9f5eaef9139eb06f2fa4dca3abde9f37d55a313b37d207c0b4055e7cf484cfb83f84de587bae6a2548c72c4b01b8d2cae0af20574432888494a613f40031c01bbc5afb2d172cbb7a8823fd5be3fd7520672c24d6f3b87469cdac508a2e7b280d9076687def4cfbf4a225f99eb4b5ea3f8c22b9420a73a5247cc237b5e6779a57785d5f678c9800c5d2e06429c195ed123f942b48a387565586d342707e6a4fb68db6b8a0a154ffb72ec23f63817f92ca5061d76ba1c8bf432fd6ce5301bb7b7d7ed125c47eb935de10348ade433f40e0fcc8ceece88019b0d7bf0709a7e883614bb9f24d9e9c3cd134c3eb6f616c6e67890c9f1dd7ae105d5d163d0899c8b7ab34ae1764aae6c1e928896962f4c22d6e03ffcf723868badfd47aaae21fca663b625731c27360c5099adaa2ae61330b26323a9f1c5fbeae629afabd932a385bc64ad5f4a1f8d3eb47b1a8927b2b37c68b5a2c49c9aefe51982978495a785f6a7109d6291a21e6d35ccf60bbf87352332e6bb364cc234cb86357f71d67644fc2f64a254a66e56771File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
Currently, there are a number of compiler warnings generated when building the addons on Linux, for example: make[1]: Entering directory '/node/test/addons/zlib-binding/build' CXX(target) Release/obj.target/binding/binding.o SOLINK_MODULE(target) Release/obj.target/binding.node COPY Release/binding.node make[1]: Leaving directory '/node/test/addons/zlib-binding/build' In file included from ../binding.cc:1: /node/src/node.h:515:51: warning: cast between incompatible function types from 'void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Context>)' to 'node::addon_context_register_func' {aka 'void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, v8::Local<v8::Context>, void*)'} [-Wcast-function-type] (node::addon_context_register_func) (regfunc), \ ^ /node/src/node.h:533:3: note: in expansion of macro 'NODE_MODULE_CONTEXT_AWARE_X' NODE_MODULE_CONTEXT_AWARE_X(modname, regfunc, NULL, 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../binding.cc:58:1: note: in expansion of macro 'NODE_MODULE_CONTEXT_AWARE' NODE_MODULE_CONTEXT_AWARE(NODE_GYP_MODULE_NAME, Initialize) ^~~~~~~~~~~~~~~~~~~~~~~~~ This commit adds the flag -Wno-cast-function-type to suppress these warnings. With this change the warnings are not displayed anymore and the output matches that of osx when running 'make -j8 test/addons/.buildstamp'. PR-URL: #25663 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com>Uh oh!
There was an error while loading. Please reload this page.
There are no files selected for viewing