gurobokum / pyv8

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

Compilation error #146

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago

x86_64-pc-linux-gnu-g++ -pthread -fPIC -DBOOST_PYTHON_STATIC_LIB 
-DV8_NATIVE_REGEXP -DENABLE_LOGGING_AND_PROFILING -DENABLE_VMSTATE_TRACKING 
-DENABLE_DEBUGGER_SUPPORT -DV8_FAST_TLS -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/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 function 'T 
_to_string(v8::internal::Handle<v8::internal::String>)':
src/AST.h:54:45: error: 'class v8::internal::String::FlatContent' has no member 
named 'ToAsciiVector'
error: command 'x86_64-pc-linux-gnu-g++' failed with exit status 1

Additional information

~ /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: 461
Node Kind: directory
Schedule: normal
Last Changed Author: flier.lu@gmail.com
Last Changed Rev: 461
Last Changed Date: 2013-01-01 13:58:24 +0100 (Tue, 01 Jan 2013)

~/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: 13351
Node Kind: directory
Schedule: normal
Last Changed Author: jkummerow@chromium.org
Last Changed Rev: 13349
Last Changed Date: 2013-01-09 18:13:11 +0100 (Wed, 09 Jan 2013)

Original issue reported on code.google.com by angelo.d...@gmail.com on 10 Jan 2013 at 12:00

GoogleCodeExporter commented 9 years ago
The workaround for this is to use an earlier revision of v8.  The following one 
works for me.  Any after this one have the compile error:
svn checkout http://v8.googlecode.com/svn/trunk/@13283 v8

Original comment by rsimmo...@gmail.com on 12 Jan 2013 at 6:41

GoogleCodeExporter commented 9 years ago
Please verify the fix with SVN trunk code after r462, thanks

Original comment by flier...@gmail.com on 13 Jan 2013 at 3:13

GoogleCodeExporter commented 9 years ago
Issue 147 has been merged into this issue.

Original comment by flier...@gmail.com on 13 Jan 2013 at 3:14

GoogleCodeExporter commented 9 years ago
I confirm the patch solves the issue. Thanks.

Original comment by angelo.d...@gmail.com on 13 Jan 2013 at 12:58

GoogleCodeExporter commented 9 years ago

Original comment by flier...@gmail.com on 14 Jan 2013 at 2:23