napajs
napajs copied to clipboard
Build warning in latest node version (MSVC2017 + Node8.3.0)
....cmake-js\node-x64\v8.3.0\include\node\v8.h(4150): warning C4251: 'v8::WasmModuleObjectBuilder::received_buffers_': class 'std::vector<v8::WasmModuleObjectBuilder::Buffer,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'v8::WasmModuleObjectBuilder'
It looks good in linux/MacOS. Seems a MSVC specific issue.
This is being discussed in https://github.com/nodejs/node/pull/15570.
It would be great if this could be fixed.