GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||
GeezerVison is showing github.com — src: fix warning in node_messaging by ZYSzys · Pull Request #26682 · nodejs/node Conversation
Member
Got some warning when building So fixed by:
In file included from /Users/zyszys/Projects/node/out/Release/obj/gen/node_javascript.cc:3: In file included from ../src/node_internals.h:27: In file included from ../src/env-inl.h:35: In file included from ../src/node_worker.h:7: ../src/node_messaging.h:52:48: warning: 'WasmCompiledModule' is deprecated: Use WasmModuleObject [-Wdeprecated-declarations] uint32_t AddWASMModule(v8::WasmCompiledModule::TransferrableModule&& mod); ^ ../deps/v8/include/v8.h:4444:1: note: 'WasmCompiledModule' has been explicitly marked deprecated here V8_DEPRECATED("Use WasmModuleObject", ^ ../deps/v8/include/v8config.h:307:29: note: expanded from macro 'V8_DEPRECATED' declarator __attribute__((deprecated(message))) ^ In file included from /Users/zyszys/Projects/node/out/Release/obj/gen/node_javascript.cc:3: In file included from ../src/node_internals.h:27: In file included from ../src/env-inl.h:35: In file included from ../src/node_worker.h:7: ../src/node_messaging.h:71:37: warning: 'WasmCompiledModule' is deprecated: Use WasmModuleObject [-Wdeprecated-declarations] std::vector<v8::WasmCompiledModule::TransferrableModule> wasm_modules_; ^ ../deps/v8/include/v8.h:4444:1: note: 'WasmCompiledModule' has been explicitly marked deprecated here V8_DEPRECATED("Use WasmModuleObject", ^ ../deps/v8/include/v8config.h:307:29: note: expanded from macro 'V8_DEPRECATED' declarator __attribute__((deprecated(message))) ^ 2 warnings generated. ../src/node_messaging.cc:73:14: warning: 'WasmCompiledModule' is deprecated: Use WasmModuleObject [-Wdeprecated-declarations] MaybeLocal<WasmCompiledModule> GetWasmModuleFromId( ^ ../deps/v8/include/v8.h:4444:1: note: 'WasmCompiledModule' has been explicitly marked deprecated here V8_DEPRECATED("Use WasmModuleObject", ^ ../deps/v8/include/v8config.h:307:29: note: expanded from macro 'V8_DEPRECATED' declarator __attribute__((deprecated(message))) ^ ../src/node_messaging.cc:238:31: warning: 'WasmCompiledModule' is deprecated: Use WasmModuleObject [-Wdeprecated-declarations] Isolate* isolate, Local<WasmCompiledModule> module) override { ^ ../deps/v8/include/v8.h:4444:1: note: 'WasmCompiledModule' has been explicitly marked deprecated here V8_DEPRECATED("Use WasmModuleObject", ^ ../deps/v8/include/v8config.h:307:29: note: expanded from macro 'V8_DEPRECATED' declarator __attribute__((deprecated(message))) ^ ../src/node_messaging.cc:305:18: warning: 'IsNeuterable' is deprecated: Use IsDetachable() instead. [-Wdeprecated-declarations] if (!ab->IsNeuterable() || ab->IsExternal() || ^ ../deps/v8/include/v8.h:4723:3: note: 'IsNeuterable' has been explicitly marked deprecated here V8_DEPRECATE_SOON("Use IsDetachable() instead.", ^ ../deps/v8/include/v8config.h:322:29: note: expanded from macro 'V8_DEPRECATE_SOON' declarator __attribute__((deprecated(message))) ^ ../src/node_messaging.cc:371:9: warning: 'Neuter' is deprecated: Use Detach() instead. [-Wdeprecated-declarations] ab->Neuter(); ^ ../deps/v8/include/v8.h:4737:3: note: 'Neuter' has been explicitly marked deprecated here V8_DEPRECATE_SOON("Use Detach() instead.", inline void Neuter()) { Detach(); } ^ ../deps/v8/include/v8config.h:322:29: note: expanded from macro 'V8_DEPRECATE_SOON' declarator __attribute__((deprecated(message))) Checklist
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
addaleax
approved these changes
|
There was an error while loading. Please reload this page.
|
I’d be okay with fast-tracking this. (:+1: this comment if you agree.) |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Landed in 0752a18 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
PR-URL: #26682 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Michael Dawson <[email protected]> Reviewed-By: James M Snell <[email protected]>
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.