venden/pyv8

Compilation error

GoogleCodeExporter opened this issue · 7 comments


I got this error while compiling PyV8 -r572 (V8 -r18771)

In file included from src/Engine.cpp:12:0:
src/AST.h: In constructor 
'CAstVisitor::CAstVisitor(boost::python::api::object)':
src/AST.h:744:49: error: no matching function for call to 
'CAstVisitor::InitializeAstVisitor(v8::internal::Isolate*)'
src/AST.h:744:49: note: candidate is:
src/AST.h:756:3: note: void 
CAstVisitor::InitializeAstVisitor(v8::internal::Zone*)
src/AST.h:756:3: note:   no known conversion for argument 1 from 
'v8::internal::Isolate*' to 'v8::internal::Zone*'
src/AST.h: In constructor 'CAstObjectCollector::CAstObjectCollector()':
src/AST.h:764:49: error: no matching function for call to 
'CAstObjectCollector::InitializeAstVisitor(v8::internal::Isolate*)'
src/AST.h:764:49: note: candidate is:
src/AST.h:771:3: note: void 
CAstObjectCollector::InitializeAstVisitor(v8::internal::Zone*)
src/AST.h:771:3: note:   no known conversion for argument 1 from 
'v8::internal::Isolate*' to 'v8::internal::Zone*'
src/AST.h: In constructor 'CAstListCollector::CAstListCollector()':
src/AST.h:791:49: error: no matching function for call to 
'CAstListCollector::InitializeAstVisitor(v8::internal::Isolate*)'
src/AST.h:791:49: note: candidate is:
src/AST.h:798:3: note: void 
CAstListCollector::InitializeAstVisitor(v8::internal::Zone*)
src/AST.h:798:3: note:   no known conversion for argument 1 from 
'v8::internal::Isolate*' to 'v8::internal::Zone*'
error: command 'x86_64-pc-linux-gnu-g++' failed with exit status 1


Additional info

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: 572
Node Kind: directory
Schedule: normal
Last Changed Author: flier.lu@gmail.com
Last Changed Rev: 572
Last Changed Date: 2014-01-10 04:34:13 +0100 (Fri, 10 Jan 2014)

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: 18771
Node Kind: directory
Schedule: normal
Last Changed Author: machenbach@chromium.org
Last Changed Rev: 18767
Last Changed Date: 2014-01-23 10:38:20 +0100 (Thu, 23 Jan 2014)


Original issue reported on code.google.com by angelo.d...@gmail.com on 23 Jan 2014 at 11:27

I have same problem.

Original comment by siansia...@gmail.com on 25 Jan 2014 at 11:04

I have same problem.

Original comment by Hang.Gao...@gmail.com on 27 Jan 2014 at 5:38

Original comment by flier...@gmail.com on 29 Jan 2014 at 6:37

  • Changed state: Accepted
  • Added labels: OpSys-All
Issue 226 has been merged into this issue.

Original comment by flier...@gmail.com on 29 Jan 2014 at 6:37

Please verify the patch with SVN trunk code after r573, thanks

Original comment by flier...@gmail.com on 29 Jan 2014 at 7:10

  • Changed state: Fixed
I confirm -r573 solves the issue

Original comment by angelo.d...@gmail.com on 29 Jan 2014 at 8:23

Thanks your patience :)

Original comment by flier...@gmail.com on 29 Jan 2014 at 10:06

  • Changed state: Verified