I have a quick question someone might be able to help with. This is a 
slightly different angle to my parent post, in this question I'm using the 
clang build (not the MSVC build), building the component build 
(successfully), and then importing the DLL into an MSVC project. I get five 
unresolved symbols detailed below. Why on earth would CLANG not export 
these symbols? Is there any way I might be able to fix this in V8?

__declspec(dllimport) public: void __cdecl 
v8::ObjectTemplate::SetIndexedPropertyHandler(void (__cdecl*)(unsigned 
int,class v8::PropertyCallbackInfo<class v8::Value> const &),void 
(__cdecl*)(unsigned int,class v8::Local<class v8::Value>,class 
v8::PropertyCallbackInfo<class v8::Value> const &),void (__cdecl*)(unsigned 
int,class v8::PropertyCallbackInfo<class v8::Integer> const &),void 
(__cdecl*)(unsigned int,class v8::PropertyCallbackInfo<class v8::Boolean> 
const &),void (__cdecl*)(class v8::PropertyCallbackInfo<class v8::Array> 
const &),class v8::Local<class v8::Value>)
__declspec(dllimport) public: __cdecl v8::Isolate::Scope::Scope(class 
v8::Isolate *)
__declspec(dllimport) public: __cdecl v8::Isolate::Scope::~Scope(void)
__declspec(dllimport) public: __cdecl 
v8::EscapableHandleScope::~EscapableHandleScope(void)
__declspec(dllimport) public: char * __cdecl 
v8::String::Utf8Value::operator*(void)


On Saturday, 16 November 2019 10:01:33 UTC+10:30, Ben Ernst wrote:
>
> Hey all,
>
> I intend to try my hand at contributing here, so I'm introducing myself in 
> accordance with the directions on the "contributing to V8" page. The MSVC 
> "component build" of V8 has been broken since v7.2. I will do my best to 
> get it working again. I thoroughly appreciate any guidance along the way. 
> Dan Elphick has been a huge help already 
> <https://groups.google.com/forum/#!topic/v8-users/wjRGE98lIGY>. This is 
> my first time contributing to a big project, I will do my best to work in 
> accordance with the documented processes. If you're wondering why the clang 
> build is not working for me, here's my linker errors 
> <https://groups.google.com/forum/#!topic/v8-users/QxdXGgMsgZY>. Speaking 
> from a position of a relative newbie, it looks like clang doesn't think it 
> needs to export certain symbols, but MSVC expects them to be exported.
>
> I do have a question someone might be able to help me with. If I manage to 
> get this build working, would it be possible/practical/desirable to add 
> this configuration to the CI build system long term? Dan did mention it's 
> "not officially supported".
>
> Any way, wish me luck.
> Cheers,
> Ben
>

-- 
-- 
v8-dev mailing list
v8-dev@googlegroups.com
http://groups.google.com/group/v8-dev
--- 
You received this message because you are subscribed to the Google Groups 
"v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to v8-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/v8-dev/ff6d54b0-c658-4e8c-bc4f-2fc73f5035c7%40googlegroups.com.

Reply via email to