Status: Accepted Owner: sgje...@chromium.org Labels: Type-Bug Priority-Medium
New issue 482 by sgje...@chromium.org: Warning C4251 when using V8 in a DLL http://code.google.com/p/v8/issues/detail?id=482 Compiling this simple test.cc program #include <v8.h> int main(int argc, char ** argv) { } With MSVC using V8 in a DLL cl /nologo /O2 /W3 /DUSING_V8_SHARED /DWIN32 /I..\include test.cc generates the following C4251 warnings ..\include\v8.h(523) : warning C4251: 'v8::ScriptOrigin::resource_name_' : class 'v8::Handle<T>' needs to have dll-interface to be used by clients of class 'v8::ScriptOrigin' with [ T=v8::Value ] ..\include\v8.h(524) : warning C4251: 'v8::ScriptOrigin::resource_line_offset_' : class 'v8::Handle<T>' needs to have dll-interface to be used by clients of class 'v8::ScriptOrigin' with [ T=v8::Integer ] ..\include\v8.h(525) : warning C4251: 'v8::ScriptOrigin::resource_column_offset_' : class 'v8::Handle<T>' needs to have dll-interface to be used by clients of class 'v8::ScriptOrigin' with [ T=v8::Integer ] ..\include\v8.h(1426) : warning C4251: 'v8::Arguments::data_' : class 'v8::Local<T>' needs to have dll-interface to be used by clients of class 'v8::Arguments' with [ T=v8::Value ] ..\include\v8.h(1427) : warning C4251: 'v8::Arguments::holder_' : class 'v8::Local<T>' needs to have dll-interface to be used by clients of class 'v8::Arguments' with [ T=v8::Object ] ..\include\v8.h(1428) : warning C4251: 'v8::Arguments::callee_' : class 'v8::Local<T>' needs to have dll-interface to be used by clients of class 'v8::Arguments' with [ T=v8::Function ] ..\include\v8.h(2639) : warning C4251: 'v8::Context::Scope::context_' : class 'v8::Handle<T>' needs to have dll-interface to be used by clients of class 'v8::Context::Scope' with [ T=v8::Context ] -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings --~--~---------~--~----~------------~-------~--~----~ v8-dev mailing list v8-dev@googlegroups.com http://groups.google.com/group/v8-dev -~----------~----~----~----~------~----~------~--~---