zxc111/pyv8

Compilation error

Closed this issue · 3 comments

While building PyV8 I got this compilation error

In file included from src/Engine.cpp:12:0:
src/AST.h: In constructor 
'CAstVisitor::CAstVisitor(boost::python::api::object)':
src/AST.h:761:26: error: no matching function for call to 
'CAstVisitor::InitializeAstVisitor()'
src/AST.h:761:26: note: candidate is:
src/AST.h:773:3: note: void 
CAstVisitor::InitializeAstVisitor(v8::internal::Isolate*)
src/AST.h:773:3: note:   candidate expects 1 argument, 0 provided
src/AST.h: In constructor 'CAstObjectCollector::CAstObjectCollector()':
src/AST.h:781:26: error: no matching function for call to 
'CAstObjectCollector::InitializeAstVisitor()'
src/AST.h:781:26: note: candidate is:
src/AST.h:788:3: note: void 
CAstObjectCollector::InitializeAstVisitor(v8::internal::Isolate*)
src/AST.h:788:3: note:   candidate expects 1 argument, 0 provided
src/AST.h: In constructor 'CAstListCollector::CAstListCollector()':
src/AST.h:808:26: error: no matching function for call to 
'CAstListCollector::InitializeAstVisitor()'
src/AST.h:808:26: note: candidate is:
src/AST.h:815:3: note: void 
CAstListCollector::InitializeAstVisitor(v8::internal::Isolate*)
src/AST.h:815:3: note:   candidate expects 1 argument, 0 provided
error: command 'x86_64-pc-linux-gnu-g++' failed with exit status 1

Additional information

buffer@rigel ~/pyv8 $ svn info
Path: .
Working Copy Root Path: /home/buffer/pyv8
URL: http://pyv8.googlecode.com/svn/trunk
Repository Root: http://pyv8.googlecode.com/svn
Repository UUID: 3b770cb8-f9e6-11dd-ac5b-dfceb64ead24
Revision: 530
Node Kind: directory
Schedule: normal
Last Changed Author: flier.lu@gmail.com
Last Changed Rev: 530
Last Changed Date: 2013-08-14 06:12:36 +0200 (Wed, 14 Aug 2013)

buffer@rigel ~/v8 $ svn info
Path: .
Working Copy Root Path: /home/buffer/v8
URL: http://v8.googlecode.com/svn/trunk
Repository Root: http://v8.googlecode.com/svn
Repository UUID: ce2b1a6d-e550-0410-aec6-3dcde31c8c00
Revision: 16470
Node Kind: directory
Schedule: normal
Last Changed Author: jkummerow@chromium.org
Last Changed Rev: 16469
Last Changed Date: 2013-09-02 13:45:09 +0200 (Mon, 02 Sep 2013)

Original issue reported on code.google.com by angelo.d...@gmail.com on 2 Sep 2013 at 12:30

fixed, please verify with SVN trunk code after r531

Original comment by flier...@gmail.com on 3 Sep 2013 at 2:42

  • Changed state: Fixed
  • Added labels: OpSys-All
I confirm the patch solved the issue. Thanks.

Original comment by angelo.d...@gmail.com on 3 Sep 2013 at 7:20

Original comment by flier...@gmail.com on 3 Sep 2013 at 9:16

  • Changed state: Verified