RoamUniverse / pyv8

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

Compilation error due to V8 changes #117

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago

While compiling PyV8 against V8 r10665 I got the following errors:

In file included from src/Engine.cpp:12:0:
src/AST.h: In member function ‘virtual void 
CAstVisitor::VisitVariableDeclaration(v8::internal::VariableDeclaration*)’:
src/AST.h:632:3: error: ‘CAstVariableDeclaration’ was not declared in this 
scope
src/AST.h: In member function ‘virtual void 
CAstVisitor::VisitModuleDeclaration(v8::internal::ModuleDeclaration*)’:
src/AST.h:632:3: error: ‘CAstModuleDeclaration’ was not declared in this 
scope
src/AST.h: In member function ‘virtual void 
CAstVisitor::VisitModuleLiteral(v8::internal::ModuleLiteral*)’:
src/AST.h:632:3: error: ‘CAstModuleLiteral’ was not declared in this scope
src/AST.h: In member function ‘virtual void 
CAstVisitor::VisitModuleVariable(v8::internal::ModuleVariable*)’:
src/AST.h:632:3: error: ‘CAstModuleVariable’ was not declared in this scope
src/AST.h: In member function ‘virtual void 
CAstVisitor::VisitModulePath(v8::internal::ModulePath*)’:
src/AST.h:632:3: error: ‘CAstModulePath’ was not declared in this scope
src/AST.h: In member function ‘virtual void 
CAstVisitor::VisitModuleUrl(v8::internal::ModuleUrl*)’:
src/AST.h:632:3: error: ‘CAstModuleUrl’ was not declared in this scope
src/AST.h: In member function ‘virtual void 
CAstObjectCollector::VisitVariableDeclaration(v8::internal::VariableDeclaration*
)’:
src/AST.h:642:3: error: ‘CAstVariableDeclaration’ was not declared in this 
scope
src/AST.h: In member function ‘virtual void 
CAstObjectCollector::VisitModuleDeclaration(v8::internal::ModuleDeclaration*)’
:
src/AST.h:642:3: error: ‘CAstModuleDeclaration’ was not declared in this 
scope
src/AST.h: In member function ‘virtual void 
CAstObjectCollector::VisitModuleLiteral(v8::internal::ModuleLiteral*)’:
src/AST.h:642:3: error: ‘CAstModuleLiteral’ was not declared in this scope
src/AST.h: In member function ‘virtual void 
CAstObjectCollector::VisitModuleVariable(v8::internal::ModuleVariable*)’:
src/AST.h:642:3: error: ‘CAstModuleVariable’ was not declared in this scope
src/AST.h: In member function ‘virtual void 
CAstObjectCollector::VisitModulePath(v8::internal::ModulePath*)’:
src/AST.h:642:3: error: ‘CAstModulePath’ was not declared in this scope
src/AST.h: In member function ‘virtual void 
CAstObjectCollector::VisitModuleUrl(v8::internal::ModuleUrl*)’:
src/AST.h:642:3: error: ‘CAstModuleUrl’ was not declared in this scope
src/AST.h: In member function ‘virtual void 
CAstListCollector::VisitVariableDeclaration(v8::internal::VariableDeclaration*)�
��:
src/AST.h:663:3: error: ‘CAstVariableDeclaration’ was not declared in this 
scope
src/AST.h: In member function ‘virtual void 
CAstListCollector::VisitModuleDeclaration(v8::internal::ModuleDeclaration*)’:
src/AST.h:663:3: error: ‘CAstModuleDeclaration’ was not declared in this 
scope
src/AST.h: In member function ‘virtual void 
CAstListCollector::VisitModuleLiteral(v8::internal::ModuleLiteral*)’:
src/AST.h:663:3: error: ‘CAstModuleLiteral’ was not declared in this scope
src/AST.h: In member function ‘virtual void 
CAstListCollector::VisitModuleVariable(v8::internal::ModuleVariable*)’:
src/AST.h:663:3: error: ‘CAstModuleVariable’ was not declared in this scope
src/AST.h: In member function ‘virtual void 
CAstListCollector::VisitModulePath(v8::internal::ModulePath*)’:
src/AST.h:663:3: error: ‘CAstModulePath’ was not declared in this scope
src/AST.h: In member function ‘virtual void 
CAstListCollector::VisitModuleUrl(v8::internal::ModuleUrl*)’:
src/AST.h:663:3: error: ‘CAstModuleUrl’ was not declared in this scope
src/AST.h: In member function ‘boost::python::api::object 
CAstDeclaration::GetFunction() const’:
src/AST.h:741:31: error: ‘class v8::internal::Declaration’ has no member 
named ‘fun’
src/AST.h:743:54: error: ‘class v8::internal::Declaration’ has no member 
named ‘fun’
error: command 'x86_64-pc-linux-gnu-g++' failed with exit status 1

[*] Additional info

buffer@alnitak ~/pyv8 $ svn info
Path: .
URL: http://pyv8.googlecode.com/svn/trunk
Repository Root: http://pyv8.googlecode.com/svn
Repository UUID: 3b770cb8-f9e6-11dd-ac5b-dfceb64ead24
Revision: 430
Node Kind: directory
Schedule: normal
Last Changed Author: flier.lu@gmail.com
Last Changed Rev: 430
Last Changed Date: 2012-02-01 03:15:58 +0100 (Wed, 01 Feb 2012)

buffer@alnitak ~/v8 $ svn info
Path: .
URL: http://v8.googlecode.com/svn/trunk
Repository Root: http://v8.googlecode.com/svn
Repository UUID: ce2b1a6d-e550-0410-aec6-3dcde31c8c00
Revision: 10668
Node Kind: directory
Schedule: normal
Last Changed Author: yangguo@chromium.org
Last Changed Rev: 10665
Last Changed Date: 2012-02-09 14:53:47 +0100 (Thu, 09 Feb 2012)

Original issue reported on code.google.com by angelo.d...@gmail.com on 9 Feb 2012 at 5:02

GoogleCodeExporter commented 9 years ago

Original comment by flier...@gmail.com on 12 Feb 2012 at 4:37

GoogleCodeExporter commented 9 years ago
i had the same problem ...

Original comment by ahong200...@gmail.com on 13 Feb 2012 at 3:31

GoogleCodeExporter commented 9 years ago
Fixed, please verify it with SVN trunk code r431 or later.

Original comment by flier...@gmail.com on 25 Feb 2012 at 4:21

GoogleCodeExporter commented 9 years ago
Verified that r431 fixes the issue. Thanks.

Original comment by angelo.d...@gmail.com on 26 Feb 2012 at 1:35

GoogleCodeExporter commented 9 years ago
r431 fixed the issue? I have the same issue here with r431 

Original comment by lazzarol...@gmail.com on 4 Mar 2012 at 2:25

GoogleCodeExporter commented 9 years ago
same issue with 431

Original comment by en...@duben.st on 5 Mar 2012 at 3:12

GoogleCodeExporter commented 9 years ago
Hi enlil, the issue was fixed in r431, please follow the issue #120 for the 
other v8 API changes

Original comment by flier...@gmail.com on 5 Mar 2012 at 4:59