I'm building a node.js addon and VC++ is producing numerous compiler 
warnings similar to the following:

warning C4251: 'node::ObjectWrap::handle_' : class 'v8::Persistent<T>' 
needs to have dll-interface to be used by clients of class 
'node::ObjectWrap' 
c:\sandbox\hwilliams\nodejs_addons\lib\nodejs-0.6.7\src\node_object_wrap.h 
57

I can eliminate these warnings if I apply __declspec(dllexport) to the 
v8::Persistent<T> class in v8.h. It looks like that is already being done 
in many other places using the V8EXPORT macro.

Would this be an appropriate change to the v8 code? Thanks.

-- 
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to