Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compilation failed with v8 3.22.8 #636

Open
AlphaHeX opened this issue Oct 6, 2013 · 2 comments
Open

compilation failed with v8 3.22.8 #636

AlphaHeX opened this issue Oct 6, 2013 · 2 comments
Milestone

Comments

@AlphaHeX
Copy link

AlphaHeX commented Oct 6, 2013

[ 28%] Building CXX object src/static/scriptengine/CMakeFiles/scriptengine.dir/code/jsExtensions.cpp.o
In file included from /tmp/packerbuild-1000/desurium-git/desurium-git/src/Desurium/src/static/scriptengine/code/jsExtensions.cpp:21:0:
/usr/include/v8.h: In member function ‘virtual int JSObject::getArrayLength()’:
/usr/include/v8.h:767:13: error: ‘v8::HandleScope::HandleScope()’ is private
V8_INLINE HandleScope() {}
^
/tmp/packerbuild-1000/desurium-git/desurium-git/src/Desurium/src/static/scriptengine/code/jsExtensions.cpp:166:19: error: within this context
v8::HandleScope handle_scope;
^
In file included from /tmp/packerbuild-1000/desurium-git/desurium-git/src/Desurium/src/static/scriptengine/code/jsExtensions.cpp:21:0:
/usr/include/v8.h: In member function ‘virtual void* JSObject::getUserObject()’:
/usr/include/v8.h:767:13: error: ‘v8::HandleScope::HandleScope()’ is private
V8_INLINE HandleScope() {}
^
/tmp/packerbuild-1000/desurium-git/desurium-git/src/Desurium/src/static/scriptengine/code/jsExtensions.cpp:206:19: error: within this context
v8::HandleScope handle_scope;
^
In file included from /tmp/packerbuild-1000/desurium-git/desurium-git/src/Desurium/src/static/scriptengine/code/jsExtensions.cpp:21:0:
/usr/include/v8.h: In member function ‘virtual ChromiumDLL::JSObjHandle JSFactory::CreateUndefined()’:
/usr/include/v8.h:767:13: error: ‘v8::HandleScope::HandleScope()’ is private
V8_INLINE HandleScope() {}
^
/tmp/packerbuild-1000/desurium-git/desurium-git/src/Desurium/src/static/scriptengine/code/jsExtensions.cpp:245:19: error: within this context
v8::HandleScope handle_scope;
^
In file included from /tmp/packerbuild-1000/desurium-git/desurium-git/src/Desurium/src/static/scriptengine/code/jsExtensions.cpp:21:0:
/usr/include/v8.h: In member function ‘virtual ChromiumDLL::JSObjHandle JSFactory::CreateNull()’:
/usr/include/v8.h:767:13: error: ‘v8::HandleScope::HandleScope()’ is private
V8_INLINE HandleScope() {}
^
/tmp/packerbuild-1000/desurium-git/desurium-git/src/Desurium/src/static/scriptengine/code/jsExtensions.cpp:251:19: error: within this context
v8::HandleScope handle_scope;
^
In file included from /tmp/packerbuild-1000/desurium-git/desurium-git/src/Desurium/src/static/scriptengine/code/jsExtensions.cpp:21:0:
/usr/include/v8.h: In member function ‘virtual ChromiumDLL::JSObjHandle JSFactory::CreateBool(bool)’:
/usr/include/v8.h:767:13: error: ‘v8::HandleScope::HandleScope()’ is private
V8_INLINE HandleScope() {}
^
/tmp/packerbuild-1000/desurium-git/desurium-git/src/Desurium/src/static/scriptengine/code/jsExtensions.cpp:257:19: error: within this context
v8::HandleScope handle_scope;
^
In file included from /tmp/packerbuild-1000/desurium-git/desurium-git/src/Desurium/src/static/scriptengine/code/jsExtensions.cpp:21:0:
/usr/include/v8.h: In member function ‘virtual ChromiumDLL::JSObjHandle JSFactory::CreateInt(int)’:
/usr/include/v8.h:767:13: error: ‘v8::HandleScope::HandleScope()’ is private
V8_INLINE HandleScope() {}
^
/tmp/packerbuild-1000/desurium-git/desurium-git/src/Desurium/src/static/scriptengine/code/jsExtensions.cpp:263:19: error: within this context
v8::HandleScope handle_scope;
^
In file included from /tmp/packerbuild-1000/desurium-git/desurium-git/src/Desurium/src/static/scriptengine/code/jsExtensions.cpp:21:0:
/usr/include/v8.h: In member function ‘virtual ChromiumDLL::JSObjHandle JSFactory::CreateDouble(double)’:
/usr/include/v8.h:767:13: error: ‘v8::HandleScope::HandleScope()’ is private
V8_INLINE HandleScope() {}
^
/tmp/packerbuild-1000/desurium-git/desurium-git/src/Desurium/src/static/scriptengine/code/jsExtensions.cpp:269:19: error: within this context
v8::HandleScope handle_scope;
^
In file included from /tmp/packerbuild-1000/desurium-git/desurium-git/src/Desurium/src/static/scriptengine/code/jsExtensions.cpp:21:0:
/usr/include/v8.h: In member function ‘virtual ChromiumDLL::JSObjHandle JSFactory::CreateString(const char_)’:
/usr/include/v8.h:767:13: error: ‘v8::HandleScope::HandleScope()’ is private
V8_INLINE HandleScope() {}
^
/tmp/packerbuild-1000/desurium-git/desurium-git/src/Desurium/src/static/scriptengine/code/jsExtensions.cpp:275:19: error: within this context
v8::HandleScope handle_scope;
^
In file included from /tmp/packerbuild-1000/desurium-git/desurium-git/src/Desurium/src/static/scriptengine/code/jsExtensions.cpp:21:0:
/usr/include/v8.h: In member function ‘virtual ChromiumDLL::JSObjHandle JSFactory::CreateObject()’:
/usr/include/v8.h:767:13: error: ‘v8::HandleScope::HandleScope()’ is private
V8_INLINE HandleScope() {}
^
/tmp/packerbuild-1000/desurium-git/desurium-git/src/Desurium/src/static/scriptengine/code/jsExtensions.cpp:285:19: error: within this context
v8::HandleScope handle_scope;
^
In file included from /tmp/packerbuild-1000/desurium-git/desurium-git/src/Desurium/src/static/scriptengine/code/jsExtensions.cpp:21:0:
/usr/include/v8.h: In member function ‘virtual ChromiumDLL::JSObjHandle JSFactory::CreateObject(void_)’:
/usr/include/v8.h:767:13: error: ‘v8::HandleScope::HandleScope()’ is private
V8_INLINE HandleScope() {}
^
/tmp/packerbuild-1000/desurium-git/desurium-git/src/Desurium/src/static/scriptengine/code/jsExtensions.cpp:291:19: error: within this context
v8::HandleScope handle_scope;
^
In file included from /tmp/packerbuild-1000/desurium-git/desurium-git/src/Desurium/src/static/scriptengine/code/jsExtensions.cpp:21:0:
/usr/include/v8.h: In member function ‘virtual ChromiumDLL::JSObjHandle JSFactory::CreateArray()’:
/usr/include/v8.h:767:13: error: ‘v8::HandleScope::HandleScope()’ is private
V8_INLINE HandleScope() {}
^
/tmp/packerbuild-1000/desurium-git/desurium-git/src/Desurium/src/static/scriptengine/code/jsExtensions.cpp:302:19: error: within this context
v8::HandleScope handle_scope;
^
In file included from /tmp/packerbuild-1000/desurium-git/desurium-git/src/Desurium/src/static/scriptengine/code/jsExtensions.cpp:21:0:
/usr/include/v8.h: In member function ‘virtual ChromiumDLL::JSObjHandle JSFactory::CreateFunction(const char_, ChromiumDLL::JavaScriptExtenderI_)’:
/usr/include/v8.h:767:13: error: ‘v8::HandleScope::HandleScope()’ is private
V8_INLINE HandleScope() {}
^
/tmp/packerbuild-1000/desurium-git/desurium-git/src/Desurium/src/static/scriptengine/code/jsExtensions.cpp:308:19: error: within this context
v8::HandleScope handle_scope;
^
In file included from /tmp/packerbuild-1000/desurium-git/desurium-git/src/Desurium/src/static/scriptengine/code/jsExtensions.cpp:21:0:
/usr/include/v8.h: In member function ‘virtual ChromiumDLL::JSObjHandle JSFactory::CreateException(const char_)’:
/usr/include/v8.h:767:13: error: ‘v8::HandleScope::HandleScope()’ is private
V8_INLINE HandleScope() {}
^
/tmp/packerbuild-1000/desurium-git/desurium-git/src/Desurium/src/static/scriptengine/code/jsExtensions.cpp:314:19: error: within this context
v8::HandleScope handle_scope;
^
/tmp/packerbuild-1000/desurium-git/desurium-git/src/Desurium/src/static/scriptengine/code/jsExtensions.cpp: At global scope:
/tmp/packerbuild-1000/desurium-git/desurium-git/src/Desurium/src/static/scriptengine/code/jsExtensions.cpp:339:58: error: ‘Arguments’ in namespace ‘v8’ does not name a type
static v8::Handlev8::Value FunctionCallbackImpl(const v8::Arguments& args)
^
/tmp/packerbuild-1000/desurium-git/desurium-git/src/Desurium/src/static/scriptengine/code/jsExtensions.cpp:339:73: warning: ISO C++ forbids declaration of ‘args’ with no type [-fpermissive]
static v8::Handlev8::Value FunctionCallbackImpl(const v8::Arguments& args)
^
/tmp/packerbuild-1000/desurium-git/desurium-git/src/Desurium/src/static/scriptengine/code/jsExtensions.cpp: In member function ‘virtual v8::Handlev8::FunctionTemplate JSExtension::GetNativeFunction(v8::Handlev8::String)’:
/tmp/packerbuild-1000/desurium-git/desurium-git/src/Desurium/src/static/scriptengine/code/jsExtensions.cpp:336:81: warning: invalid conversion from ‘v8::Handlev8::Value ()(const int&)’ to ‘v8::FunctionCallback {aka void ()(const v8::FunctionCallbackInfov8::Value&)}’ [-fpermissive]
return v8::FunctionTemplate::New(FunctionCallbackImpl, v8::External::New(this));
^
In file included from /tmp/packerbuild-1000/desurium-git/desurium-git/src/Desurium/src/static/scriptengine/code/jsExtensions.cpp:21:0:
/usr/include/v8.h: In static member function ‘static v8::Handlev8::Value JSExtension::FunctionCallbackImpl(const int&)’:
/usr/include/v8.h:767:13: error: ‘v8::HandleScope::HandleScope()’ is private
V8_INLINE HandleScope() {}
^
/tmp/packerbuild-1000/desurium-git/desurium-git/src/Desurium/src/static/scriptengine/code/jsExtensions.cpp:341:19: error: within this context
v8::HandleScope handle_scope;
^
/tmp/packerbuild-1000/desurium-git/desurium-git/src/Desurium/src/static/scriptengine/code/jsExtensions.cpp:342:78: error: request for member ‘Data’ in ‘args’, which is of non-class type ‘const int’
JSExtension_ handler = static_cast<JSExtension*>(v8::External::Cast((args.Data()))->Value());
^
/tmp/packerbuild-1000/desurium-git/desurium-git/src/Desurium/src/static/scriptengine/code/jsExtensions.cpp:344:70: error: request for member ‘Length’ in ‘args’, which is of non-class type ‘const int’
ChromiumDLL::JSObjHandle
argv = new ChromiumDLL::JSObjHandle[args.Length()];
^
/tmp/packerbuild-1000/desurium-git/desurium-git/src/Desurium/src/static/scriptengine/code/jsExtensions.cpp:346:27: error: request for member ‘Length’ in ‘args’, which is of non-class type ‘const int’
for(int i = 0; i < args.Length(); i++)
^
/tmp/packerbuild-1000/desurium-git/desurium-git/src/Desurium/src/static/scriptengine/code/jsExtensions.cpp:347:33: error: invalid types ‘const int[int]’ for array subscript
argv[i] = new JSObject(args[i]);
^
/tmp/packerbuild-1000/desurium-git/desurium-git/src/Desurium/src/static/scriptengine/code/jsExtensions.cpp:349:51: error: request for member ‘This’ in ‘args’, which is of non-class type ‘const int’
ChromiumDLL::JSObjHandle obj(new JSObject(args.This()));
^
/tmp/packerbuild-1000/desurium-git/desurium-git/src/Desurium/src/static/scriptengine/code/jsExtensions.cpp:352:40: error: request for member ‘Callee’ in ‘args’, which is of non-class type ‘const int’
v8::Localv8::Function funct = args.Callee();
^
/tmp/packerbuild-1000/desurium-git/desurium-git/src/Desurium/src/static/scriptengine/code/jsExtensions.cpp:361:23: error: request for member ‘Length’ in ‘args’, which is of non-class type ‘const int’
jsargs.argc = args.Length();
^
make[2]: *** [src/static/scriptengine/CMakeFiles/scriptengine.dir/code/jsExtensions.cpp.o] Error 1
make[1]: *** [src/static/scriptengine/CMakeFiles/scriptengine.dir/all] Error 2

@karolherbst
Copy link
Contributor

thanks for reporting

@karolherbst
Copy link
Contributor

I have the same error with v8-3.20.17.13

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants