Status: New
Owner: ----

New issue 3196 by ghla...@gmail.com: v8::HandleScope::CreateHandle' : cannot access protected member declared in class 'v8::HandleScope
http://code.google.com/p/v8/issues/detail?id=3196

2>d:\trsdependencies\v8trunk\include\v8.h(5555): error C2248: 'v8::HandleScope::CreateHandle' : cannot access protected member declared in class 'v8::HandleScope' 2> d:\trsdependencies\v8trunk\include\v8.h(837) : see declaration of 'v8::HandleScope::CreateHandle' 2> d:\trsdependencies\v8trunk\include\v8.h(817) : see declaration of 'v8::HandleScope' 2> d:\trsdependencies\v8trunk\include\v8.h(5550) : while compiling class template member function 'v8::Handle<v8::FunctionTemplate> v8::Handle<v8::FunctionTemplate>::New(v8::Isolate *,T *)'
2>          with
2>          [
2>              T=v8::FunctionTemplate
2>          ]
2> d:\trsdependencies\v8trunk\include\v8.h(311) : see reference to function template instantiation 'v8::Handle<v8::FunctionTemplate> v8::Handle<v8::FunctionTemplate>::New(v8::Isolate *,T *)' being compiled
2>          with
2>          [
2>              T=v8::FunctionTemplate
2>          ]
2> d:\trsdependencies\v8trunk\include\v8.h(354) : see reference to class template instantiation 'v8::Handle<v8::FunctionTemplate>' being compiled 2> d:\trsdependencies\v8trunk\include\v8.h(3061) : see reference to class template instantiation 'v8::Local<v8::FunctionTemplate>' being compiled 2> d:\trsdependencies\v8trunk\include\v8.h(837) : see declaration of 'v8::HandleScope::CreateHandle' 2> d:\trsdependencies\v8trunk\include\v8.h(817) : see declaration of 'v8::HandleScope'


Happens here.
Local<FunctionTemplate> ctorTemplate = FunctionTemplate::New(iso, ConstructHandle);

Worked in a previous version.. And also seems to work on the shell doing things like

global->Set(String::NewFromUtf8(isolate, "print"), FunctionTemplate::New(isolate, Print));

so I am not exactly sure whats going on here.

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
--
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.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to