chundiliu / pyv8

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

Compilation error due to V8 AST API changes #120

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago

The compilation error shown below seems due to changes introduced in V8 r10875.

buffer/v8/include -I/home/buffer/v8 -I/home/buffer/v8/src -I/usr/local/include 
-I/usr/include/python2.7 -c src/Engine.cpp -o 
build/temp.linux-x86_64-2.7/src/Engine.o -Wno-write-strings
In file included from src/Engine.cpp:12:0:
src/AST.h: In member function ‘boost::python::api::object 
CAstVariableDeclaration::GetFunction() const’:
src/AST.h:228:89: error: ‘class v8::internal::VariableDeclaration’ has no 
member named ‘fun’
src/AST.h: In member function ‘virtual void 
CAstVisitor::VisitFunctionDeclaration(v8::internal::FunctionDeclaration*)’:
src/AST.h:687:3: error: ‘CAstFunctionDeclaration’ was not declared in this 
scope
src/AST.h: In member function ‘virtual void 
CAstVisitor::VisitImportDeclaration(v8::internal::ImportDeclaration*)’:
src/AST.h:687:3: error: ‘CAstImportDeclaration’ was not declared in this 
scope
src/AST.h: In member function ‘virtual void 
CAstVisitor::VisitExportDeclaration(v8::internal::ExportDeclaration*)’:
src/AST.h:687:3: error: ‘CAstExportDeclaration’ was not declared in this 
scope
src/AST.h: In member function ‘virtual void 
CAstObjectCollector::VisitFunctionDeclaration(v8::internal::FunctionDeclaration*
)’:
src/AST.h:697:3: error: ‘CAstFunctionDeclaration’ was not declared in this 
scope
src/AST.h: In member function ‘virtual void 
CAstObjectCollector::VisitImportDeclaration(v8::internal::ImportDeclaration*)’
:
src/AST.h:697:3: error: ‘CAstImportDeclaration’ was not declared in this 
scope
src/AST.h: In member function ‘virtual void 
CAstObjectCollector::VisitExportDeclaration(v8::internal::ExportDeclaration*)’
:
src/AST.h:697:3: error: ‘CAstExportDeclaration’ was not declared in this 
scope
src/AST.h: In member function ‘virtual void 
CAstListCollector::VisitFunctionDeclaration(v8::internal::FunctionDeclaration*)�
��:
src/AST.h:718:3: error: ‘CAstFunctionDeclaration’ was not declared in this 
scope
src/AST.h: In member function ‘virtual void 
CAstListCollector::VisitImportDeclaration(v8::internal::ImportDeclaration*)’:
src/AST.h:718:3: error: ‘CAstImportDeclaration’ was not declared in this 
scope
src/AST.h: In member function ‘virtual void 
CAstListCollector::VisitExportDeclaration(v8::internal::ExportDeclaration*)’:
src/AST.h:718:3: error: ‘CAstExportDeclaration’ was not declared in this 
scope
error: command 'x86_64-pc-linux-gnu-g++' failed with exit status 1

Additional info 

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: 10880
Node Kind: directory
Schedule: normal
Last Changed Author: ulan@chromium.org
Last Changed Rev: 10875
Last Changed Date: 2012-02-29 16:58:45 +0100 (Wed, 29 Feb 2012)

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: 431
Node Kind: directory
Schedule: normal
Last Changed Author: flier.lu@gmail.com
Last Changed Rev: 431
Last Changed Date: 2012-02-25 17:21:00 +0100 (Sat, 25 Feb 2012)

Original issue reported on code.google.com by angelo.d...@gmail.com on 29 Feb 2012 at 10:23

GoogleCodeExporter commented 8 years ago

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

GoogleCodeExporter commented 8 years ago
Issue fixed. Thanks.

Original comment by angelo.d...@gmail.com on 5 Mar 2012 at 8:55