code-google-com / pyv8

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

PyV8 compilation error [patch included] #87

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
While compiling PyV8 with the latest V8 SVN version I got this compilation 
error.

src/Engine.cpp: In member function ‘void 
CScript::visit(boost::python::api::object) const’:
src/Engine.cpp:545: error: no matching function for call to 
‘v8::internal::CompilationZoneScope::CompilationZoneScope(v8::internal::ZoneSc
opeMode)’
/home/buffer/v8/src/compiler.h:297: note: candidates are: 
v8::internal::CompilationZoneScope::CompilationZoneScope(v8::internal::Isolate*,
 v8::internal::ZoneScopeMode)
/home/buffer/v8/src/compiler.h:295: note:                 
v8::internal::CompilationZoneScope::CompilationZoneScope(const 
v8::internal::CompilationZoneScope&)

A simple patch which solves the issue is attached.

Reference:
http://groups.google.com/group/v8-dev/msg/e230217c60da2293

Details:

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: 8088
Node Kind: directory
Schedule: normal
Last Changed Author: ricow@chromium.org
Last Changed Rev: 8083
Last Changed Date: 2011-05-26 16:14:54 +0200 (Thu, 26 May 2011)

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: 369
Node Kind: directory
Schedule: normal
Last Changed Author: flier.lu@gmail.com
Last Changed Rev: 369
Last Changed Date: 2011-04-24 18:08:16 +0200 (Sun, 24 Apr 2011)

Original issue reported on code.google.com by angelo.d...@gmail.com on 28 May 2011 at 6:53

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by flier...@gmail.com on 29 May 2011 at 2:22

GoogleCodeExporter commented 9 years ago
Please verify the fix with SVN trunk r370 or later, thanks for your patch :)

Original comment by flier...@gmail.com on 29 May 2011 at 2:44