nagyistge / pyv8

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

Compilation error #208

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
While compiling PyV8 -r549 I got the following error 

x86_64-pc-linux-gnu-g++ -pthread -fPIC -DBOOST_PYTHON_STATIC_LIB 
-DV8_NATIVE_REGEXP -DENABLE_DEBUGGER_SUPPORT -DV8_TARGET_ARCH_X64 
-I/home/buffer/v8/include -I/home/buffer/v8 -I/home/buffer/v8/src 
-I/usr/local/include -I/usr/include/python2.7 -c src/Locker.cpp -o 
build/temp.linux-x86_64-2.7/src/Locker.o -Wno-write-strings -g -O3
src/Locker.cpp: In static member function 'static void 
CLocker::StartPreemption(int)':
src/Locker.cpp:31:41: error: no matching function for call to 
'v8::Locker::StartPreemption(int&)'
src/Locker.cpp:31:41: note: candidate is:
/home/buffer/v8/include/v8.h:5185:15: note: static void 
v8::Locker::StartPreemption(v8::Isolate*, int)
/home/buffer/v8/include/v8.h:5185:15: note:   candidate expects 2 arguments, 1 
provided
src/Locker.cpp: In static member function 'static void 
CLocker::StopPreemption()':
src/Locker.cpp:37:30: error: no matching function for call to 
'v8::Locker::StopPreemption()'
src/Locker.cpp:37:30: note: candidate is:
/home/buffer/v8/include/v8.h:5190:15: note: static void 
v8::Locker::StopPreemption(v8::Isolate*)
/home/buffer/v8/include/v8.h:5190:15: 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: 549
Node Kind: directory
Schedule: normal
Last Changed Author: flier.lu@gmail.com
Last Changed Rev: 549
Last Changed Date: 2013-09-25 10:42:27 +0200 (Wed, 25 Sep 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: 17025
Node Kind: directory
Schedule: normal
Last Changed Author: jkummerow@chromium.org
Last Changed Rev: 17010
Last Changed Date: 2013-09-30 15:42:25 +0200 (Mon, 30 Sep 2013)

Original issue reported on code.google.com by angelo.d...@gmail.com on 1 Oct 2013 at 8:07

GoogleCodeExporter commented 8 years ago
Fixed, please verify with SVN trunk code after r550

Original comment by flier...@gmail.com on 4 Oct 2013 at 3:30

GoogleCodeExporter commented 8 years ago
I confirm that -r550 solves the issue.

Original comment by angelo.d...@gmail.com on 7 Oct 2013 at 6:58

GoogleCodeExporter commented 8 years ago
thanks

Original comment by flier...@gmail.com on 8 Oct 2013 at 2:01