ironm73 / pyv8

Automatically exported from code.google.com/p/pyv8
0 stars 0 forks source link

class v8::internal::Isolate’ has no member named ‘zone’ #127

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. build pyv8

What is the expected output? What do you see instead?

/usr/include/features.h:160:1: warning: this is the location of the previous 
definition
In file included from src/Engine.cpp:12:
src/AST.h: In member function ‘void 
CAstBlock::AddStatement(CAstStatement&)’:
src/AST.h:206: error: ‘class v8::internal::Isolate’ has no member named 
‘zone’
src/Engine.cpp: In member function ‘void 
CScript::visit(boost::python::api::object, CScript::LanguageMode) const’:
src/Engine.cpp:521: error: no matching function for call to 
‘v8::internal::CompilationInfo::CompilationInfo(v8::internal::Handle<v8::inter
nal::Script>&)’
/home/jzhao/local/lib/python2.6/site-packages/v8-2/src/compiler.h:262: note: 
candidates are: v8::internal::CompilationInfo::CompilationInfo(const 
v8::internal::CompilationInfo&)
/home/jzhao/local/lib/python2.6/site-packages/v8-2/src/compiler.h:46: note:     

v8::internal::CompilationInfo::CompilationInfo(v8::internal::Handle<v8::internal
::JSFunction>, v8::internal::Zone*)
/home/jzhao/local/lib/python2.6/site-packages/v8-2/src/compiler.h:45: note:     

v8::internal::CompilationInfo::CompilationInfo(v8::internal::Handle<v8::internal
::SharedFunctionInfo>, v8::internal::Zone*)
/home/jzhao/local/lib/python2.6/site-packages/v8-2/src/compiler.h:44: note:     

v8::internal::CompilationInfo::CompilationInfo(v8::internal::Handle<v8::internal
::Script>, v8::internal::Zone*)
src/Engine.cpp:526: error: no matching function for call to 
‘v8::internal::ZoneScope::ZoneScope(v8::internal::Isolate*&, 
v8::internal::ZoneScopeMode)’
/home/jzhao/local/lib/python2.6/site-packages/v8-2/src/zone-inl.h:113: note: 
candidates are: v8::internal::ZoneScope::ZoneScope(v8::internal::Zone*, 
v8::internal::ZoneScopeMode)
/home/jzhao/local/lib/python2.6/site-packages/v8-2/src/zone.h:235: note:        
         v8::internal::ZoneScope::ZoneScope(const v8::internal::ZoneScope&)
error: command 'x86_64-pc-linux-gnu-g++' failed with exit status 1

What version of the product are you using? On what operating system?
linux ubuntu

Please provide any additional information below.

Original issue reported on code.google.com by zhaojx...@gmail.com on 28 Jun 2012 at 7:02

GoogleCodeExporter commented 8 years ago
Please update your PyV8 code to SVN trunk and try again, thanks

Original comment by flier...@gmail.com on 29 Jun 2012 at 6:08