nodejs / node

Node.js JavaScript runtime ✨🐢🚀✨

Home Page:https://nodejs.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`AttachCppHeap` and `DetachCppHeap` are deprecated in V8

targos opened this issue · comments

../../src/env.cc:569:14: warning: 'AttachCppHeap' is deprecated: Set the heap on Isolate creation using CreateParams instead. [-Wdeprecated-declarations]
    isolate->AttachCppHeap(cpp_heap_.get());
             ^
../../deps/v8/include/v8-isolate.h:1047:3: note: 'AttachCppHeap' has been explicitly marked deprecated here
  V8_DEPRECATE_SOON(
  ^

../../src/env.cc:600:15: warning: 'DetachCppHeap' is deprecated: Set the heap on Isolate creation using CreateParams instead. [-Wdeprecated-declarations]
    isolate_->DetachCppHeap();
              ^
../../deps/v8/include/v8-isolate.h:1056:3: note: 'DetachCppHeap' has been explicitly marked deprecated here
  V8_DEPRECATE_SOON(
  ^