gurobokum / pyv8

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

Fail to compile - v8.h:625:3: note: candidate expects 3 arguments, 2 provided #175

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. pip install PyV8

What is the expected output? What do you see instead?
I'm trying to install PyV8 in the most trivial way - via pip. I also tried 
getting the source and build myself, I always get the same compilation error in 
v8.h.

All output provided below.

What version of the product are you using? On what operating system?
Ubuntu 12.10 64 bit.

Please provide any additional information below.

Build output:

WARN: V8_HOME doesn't exists or point to a wrong folder, 
running build
INFO: we will try to checkout and build a private v8 build from 
<http://v8.googlecode.com/svn/trunk/>.
====================
INFO: Checking out or Updating Google V8 code from SVN...

INFO: we will try to use the system 'svn' command to checkout/update V8 code
--------------------
INFO: checkout or update Google V8 code from SVN ...
DEBUG: > svn up /home/ronen/PyV8_Source/NEW_ATTEMPT/pyv8/build/v8
Updating '.':
At revision 14628.
====================
INFO: Installing or updating GYP...
--------------------
INFO: Check out GYP from SVN ...
DEBUG: > make dependencies
svn checkout --force http://gyp.googlecode.com/svn/trunk build/gyp \
        --revision 1501
Checked out revision 1501.
====================
INFO: Patching the GYP scripts
INFO: skip to patch the Google v8 build/standalone.gypi file 
====================
INFO: building Google v8 with GYP for x64 platform with release mode
--------------------
INFO: build v8 from SVN ...
DEBUG: > make -j 8 verifyheap=off backtrace=on component=shared_library 
visibility=on gdbjit=off strictaliasing=on liveobjectlist=off regexp=native 
disassembler=off objectprint=off debuggersupport=on vtunejit=off 
extrachecks=off snapshot=on werror=no x64.release
make[1]: Entering directory 
`/home/ronen/PyV8_Source/NEW_ATTEMPT/pyv8/build/v8/out'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory 
`/home/ronen/PyV8_Source/NEW_ATTEMPT/pyv8/build/v8/out'
running build_py
running build_ext
building '_PyV8' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall 
-Wstrict-prototypes -fPIC -DBOOST_PYTHON_STATIC_LIB -DV8_NATIVE_REGEXP 
-DENABLE_DEBUGGER_SUPPORT -DV8_TARGET_ARCH_X64 
-I/home/ronen/PyV8_Source/NEW_ATTEMPT/pyv8/build/v8/include 
-I/home/ronen/PyV8_Source/NEW_ATTEMPT/pyv8/build/v8 
-I/home/ronen/PyV8_Source/NEW_ATTEMPT/pyv8/build/v8/src -I/usr/local/include 
-I/usr/include/python2.7 -c src/Utils.cpp -o 
build/temp.linux-x86_64-2.7/src/Utils.o -Wno-write-strings
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for 
C/ObjC but not for C++ [enabled by default]
In file included from src/Locker.h:3:0,
                 from src/Utils.cpp:11:
src/Exception.h: In constructor 
‘CJavascriptStackTrace::CJavascriptStackTrace(v8::Handle<v8::StackTrace>)’:
src/Exception.h:42:50: warning: ‘static v8::Persistent<S> 
v8::Persistent<T>::New(v8::Handle<T>) [with T = v8::StackTrace]’ is 
deprecated (declared at 
/home/ronen/PyV8_Source/NEW_ATTEMPT/pyv8/build/v8/include/v8.h:5212) 
[-Wdeprecated-declarations]
In file included from src/Locker.h:3:0,
                 from src/Utils.cpp:11:
src/Exception.h: In constructor 
‘CJavascriptStackFrame::CJavascriptStackFrame(v8::Handle<v8::StackFrame>)’:
src/Exception.h:82:56: warning: ‘static v8::Persistent<S> 
v8::Persistent<T>::New(v8::Handle<T>) [with T = v8::StackFrame]’ is 
deprecated (declared at 
/home/ronen/PyV8_Source/NEW_ATTEMPT/pyv8/build/v8/include/v8.h:5212) 
[-Wdeprecated-declarations]
src/Exception.h: In constructor 
‘CJavascriptException::CJavascriptException(v8::TryCatch&, PyObject*)’:
src/Exception.h:108:65: warning: ‘static v8::Persistent<S> 
v8::Persistent<T>::New(v8::Handle<T>) [with T = v8::Value]’ is deprecated 
(declared at 
/home/ronen/PyV8_Source/NEW_ATTEMPT/pyv8/build/v8/include/v8.h:5212) 
[-Wdeprecated-declarations]
src/Exception.h:109:68: warning: ‘static v8::Persistent<S> 
v8::Persistent<T>::New(v8::Handle<T>) [with T = v8::Value]’ is deprecated 
(declared at 
/home/ronen/PyV8_Source/NEW_ATTEMPT/pyv8/build/v8/include/v8.h:5212) 
[-Wdeprecated-declarations]
src/Exception.h:110:65: warning: ‘static v8::Persistent<S> 
v8::Persistent<T>::New(v8::Handle<T>) [with T = v8::Message]’ is deprecated 
(declared at 
/home/ronen/PyV8_Source/NEW_ATTEMPT/pyv8/build/v8/include/v8.h:5212) 
[-Wdeprecated-declarations]
In file included from src/Context.h:7:0,
                 from src/Locker.h:4,
                 from src/Utils.cpp:11:
src/Wrapper.h: In constructor 
‘CJavascriptObject::CJavascriptObject(v8::Handle<v8::Object>)’:
src/Wrapper.h:81:48: warning: ‘static v8::Persistent<S> 
v8::Persistent<T>::New(v8::Handle<T>) [with T = v8::Object]’ is deprecated 
(declared at 
/home/ronen/PyV8_Source/NEW_ATTEMPT/pyv8/build/v8/include/v8.h:5212) 
[-Wdeprecated-declarations]
src/Wrapper.h: In constructor 
‘CJavascriptFunction::CJavascriptFunction(v8::Handle<v8::Object>, 
v8::Handle<v8::Function>)’:
src/Wrapper.h:175:75: warning: ‘static v8::Persistent<S> 
v8::Persistent<T>::New(v8::Handle<T>) [with T = v8::Object]’ is deprecated 
(declared at 
/home/ronen/PyV8_Source/NEW_ATTEMPT/pyv8/build/v8/include/v8.h:5212) 
[-Wdeprecated-declarations]
In file included from src/Utils.cpp:11:0:
src/Locker.h: In member function ‘void CUnlocker::enter()’:
src/Locker.h:42:39: warning: ‘v8::Unlocker::Unlocker()’ is deprecated 
(declared at 
/home/ronen/PyV8_Source/NEW_ATTEMPT/pyv8/build/v8/include/v8.h:4842) 
[-Wdeprecated-declarations]
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall 
-Wstrict-prototypes -fPIC -DBOOST_PYTHON_STATIC_LIB -DV8_NATIVE_REGEXP 
-DENABLE_DEBUGGER_SUPPORT -DV8_TARGET_ARCH_X64 
-I/home/ronen/PyV8_Source/NEW_ATTEMPT/pyv8/build/v8/include 
-I/home/ronen/PyV8_Source/NEW_ATTEMPT/pyv8/build/v8 
-I/home/ronen/PyV8_Source/NEW_ATTEMPT/pyv8/build/v8/src -I/usr/local/include 
-I/usr/include/python2.7 -c src/Exception.cpp -o 
build/temp.linux-x86_64-2.7/src/Exception.o -Wno-write-strings
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for 
C/ObjC but not for C++ [enabled by default]
In file included from src/Exception.cpp:1:0:
src/Exception.h: In constructor 
‘CJavascriptStackTrace::CJavascriptStackTrace(v8::Handle<v8::StackTrace>)’:
src/Exception.h:42:50: warning: ‘static v8::Persistent<S> 
v8::Persistent<T>::New(v8::Handle<T>) [with T = v8::StackTrace]’ is 
deprecated (declared at 
/home/ronen/PyV8_Source/NEW_ATTEMPT/pyv8/build/v8/include/v8.h:5212) 
[-Wdeprecated-declarations]
In file included from src/Exception.cpp:1:0:
src/Exception.h: In constructor 
‘CJavascriptStackFrame::CJavascriptStackFrame(v8::Handle<v8::StackFrame>)’:
src/Exception.h:82:56: warning: ‘static v8::Persistent<S> 
v8::Persistent<T>::New(v8::Handle<T>) [with T = v8::StackFrame]’ is 
deprecated (declared at 
/home/ronen/PyV8_Source/NEW_ATTEMPT/pyv8/build/v8/include/v8.h:5212) 
[-Wdeprecated-declarations]
src/Exception.h: In constructor 
‘CJavascriptException::CJavascriptException(v8::TryCatch&, PyObject*)’:
src/Exception.h:108:65: warning: ‘static v8::Persistent<S> 
v8::Persistent<T>::New(v8::Handle<T>) [with T = v8::Value]’ is deprecated 
(declared at 
/home/ronen/PyV8_Source/NEW_ATTEMPT/pyv8/build/v8/include/v8.h:5212) 
[-Wdeprecated-declarations]
src/Exception.h:109:68: warning: ‘static v8::Persistent<S> 
v8::Persistent<T>::New(v8::Handle<T>) [with T = v8::Value]’ is deprecated 
(declared at 
/home/ronen/PyV8_Source/NEW_ATTEMPT/pyv8/build/v8/include/v8.h:5212) 
[-Wdeprecated-declarations]
src/Exception.h:110:65: warning: ‘static v8::Persistent<S> 
v8::Persistent<T>::New(v8::Handle<T>) [with T = v8::Message]’ is deprecated 
(declared at 
/home/ronen/PyV8_Source/NEW_ATTEMPT/pyv8/build/v8/include/v8.h:5212) 
[-Wdeprecated-declarations]
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall 
-Wstrict-prototypes -fPIC -DBOOST_PYTHON_STATIC_LIB -DV8_NATIVE_REGEXP 
-DENABLE_DEBUGGER_SUPPORT -DV8_TARGET_ARCH_X64 
-I/home/ronen/PyV8_Source/NEW_ATTEMPT/pyv8/build/v8/include 
-I/home/ronen/PyV8_Source/NEW_ATTEMPT/pyv8/build/v8 
-I/home/ronen/PyV8_Source/NEW_ATTEMPT/pyv8/build/v8/src -I/usr/local/include 
-I/usr/include/python2.7 -c src/Context.cpp -o 
build/temp.linux-x86_64-2.7/src/Context.o -Wno-write-strings
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for 
C/ObjC but not for C++ [enabled by default]
In file included from src/Wrapper.h:9:0,
                 from src/Context.h:7,
                 from src/Context.cpp:1:
src/Exception.h: In constructor 
‘CJavascriptStackTrace::CJavascriptStackTrace(v8::Handle<v8::StackTrace>)’:
src/Exception.h:42:50: warning: ‘static v8::Persistent<S> 
v8::Persistent<T>::New(v8::Handle<T>) [with T = v8::StackTrace]’ is 
deprecated (declared at 
/home/ronen/PyV8_Source/NEW_ATTEMPT/pyv8/build/v8/include/v8.h:5212) 
[-Wdeprecated-declarations]
In file included from src/Wrapper.h:9:0,
                 from src/Context.h:7,
                 from src/Context.cpp:1:
src/Exception.h: In constructor 
‘CJavascriptStackFrame::CJavascriptStackFrame(v8::Handle<v8::StackFrame>)’:
src/Exception.h:82:56: warning: ‘static v8::Persistent<S> 
v8::Persistent<T>::New(v8::Handle<T>) [with T = v8::StackFrame]’ is 
deprecated (declared at 
/home/ronen/PyV8_Source/NEW_ATTEMPT/pyv8/build/v8/include/v8.h:5212) 
[-Wdeprecated-declarations]
src/Exception.h: In constructor 
‘CJavascriptException::CJavascriptException(v8::TryCatch&, PyObject*)’:
src/Exception.h:108:65: warning: ‘static v8::Persistent<S> 
v8::Persistent<T>::New(v8::Handle<T>) [with T = v8::Value]’ is deprecated 
(declared at 
/home/ronen/PyV8_Source/NEW_ATTEMPT/pyv8/build/v8/include/v8.h:5212) 
[-Wdeprecated-declarations]
src/Exception.h:109:68: warning: ‘static v8::Persistent<S> 
v8::Persistent<T>::New(v8::Handle<T>) [with T = v8::Value]’ is deprecated 
(declared at 
/home/ronen/PyV8_Source/NEW_ATTEMPT/pyv8/build/v8/include/v8.h:5212) 
[-Wdeprecated-declarations]
src/Exception.h:110:65: warning: ‘static v8::Persistent<S> 
v8::Persistent<T>::New(v8::Handle<T>) [with T = v8::Message]’ is deprecated 
(declared at 
/home/ronen/PyV8_Source/NEW_ATTEMPT/pyv8/build/v8/include/v8.h:5212) 
[-Wdeprecated-declarations]
In file included from src/Context.h:7:0,
                 from src/Context.cpp:1:
src/Wrapper.h: In constructor 
‘CJavascriptObject::CJavascriptObject(v8::Handle<v8::Object>)’:
src/Wrapper.h:81:48: warning: ‘static v8::Persistent<S> 
v8::Persistent<T>::New(v8::Handle<T>) [with T = v8::Object]’ is deprecated 
(declared at 
/home/ronen/PyV8_Source/NEW_ATTEMPT/pyv8/build/v8/include/v8.h:5212) 
[-Wdeprecated-declarations]
src/Wrapper.h: In constructor 
‘CJavascriptFunction::CJavascriptFunction(v8::Handle<v8::Object>, 
v8::Handle<v8::Function>)’:
src/Wrapper.h:175:75: warning: ‘static v8::Persistent<S> 
v8::Persistent<T>::New(v8::Handle<T>) [with T = v8::Object]’ is deprecated 
(declared at 
/home/ronen/PyV8_Source/NEW_ATTEMPT/pyv8/build/v8/include/v8.h:5212) 
[-Wdeprecated-declarations]
In file included from src/Context.cpp:4:0:
src/Engine.h: In constructor ‘CScript::CScript(CEngine&, 
v8::Persistent<v8::String>, v8::Handle<v8::Script>)’:
src/Engine.h:93:90: warning: ‘static v8::Persistent<S> 
v8::Persistent<T>::New(v8::Handle<T>) [with T = v8::Script]’ is deprecated 
(declared at 
/home/ronen/PyV8_Source/NEW_ATTEMPT/pyv8/build/v8/include/v8.h:5212) 
[-Wdeprecated-declarations]
src/Context.cpp: In constructor 
‘CContext::CContext(v8::Handle<v8::Context>)’:
src/Context.cpp:90:55: warning: ‘static v8::Persistent<S> 
v8::Persistent<T>::New(v8::Handle<T>) [with T = v8::Context]’ is deprecated 
(declared at 
/home/ronen/PyV8_Source/NEW_ATTEMPT/pyv8/build/v8/include/v8.h:5212) 
[-Wdeprecated-declarations]
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall 
-Wstrict-prototypes -fPIC -DBOOST_PYTHON_STATIC_LIB -DV8_NATIVE_REGEXP 
-DENABLE_DEBUGGER_SUPPORT -DV8_TARGET_ARCH_X64 
-I/home/ronen/PyV8_Source/NEW_ATTEMPT/pyv8/build/v8/include 
-I/home/ronen/PyV8_Source/NEW_ATTEMPT/pyv8/build/v8 
-I/home/ronen/PyV8_Source/NEW_ATTEMPT/pyv8/build/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
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for 
C/ObjC but not for C++ [enabled by default]
In file included from src/Wrapper.h:9:0,
                 from src/Context.h:7,
                 from src/Engine.h:9,
                 from src/Engine.cpp:1:
src/Exception.h: In constructor 
‘CJavascriptStackTrace::CJavascriptStackTrace(v8::Handle<v8::StackTrace>)’:
src/Exception.h:42:50: warning: ‘static v8::Persistent<S> 
v8::Persistent<T>::New(v8::Handle<T>) [with T = v8::StackTrace]’ is 
deprecated (declared at 
/home/ronen/PyV8_Source/NEW_ATTEMPT/pyv8/build/v8/include/v8.h:5212) 
[-Wdeprecated-declarations]
In file included from src/Wrapper.h:9:0,
                 from src/Context.h:7,
                 from src/Engine.h:9,
                 from src/Engine.cpp:1:
src/Exception.h: In constructor 
‘CJavascriptStackFrame::CJavascriptStackFrame(v8::Handle<v8::StackFrame>)’:
src/Exception.h:82:56: warning: ‘static v8::Persistent<S> 
v8::Persistent<T>::New(v8::Handle<T>) [with T = v8::StackFrame]’ is 
deprecated (declared at 
/home/ronen/PyV8_Source/NEW_ATTEMPT/pyv8/build/v8/include/v8.h:5212) 
[-Wdeprecated-declarations]
src/Exception.h: In constructor 
‘CJavascriptException::CJavascriptException(v8::TryCatch&, PyObject*)’:
src/Exception.h:108:65: warning: ‘static v8::Persistent<S> 
v8::Persistent<T>::New(v8::Handle<T>) [with T = v8::Value]’ is deprecated 
(declared at 
/home/ronen/PyV8_Source/NEW_ATTEMPT/pyv8/build/v8/include/v8.h:5212) 
[-Wdeprecated-declarations]
src/Exception.h:109:68: warning: ‘static v8::Persistent<S> 
v8::Persistent<T>::New(v8::Handle<T>) [with T = v8::Value]’ is deprecated 
(declared at 
/home/ronen/PyV8_Source/NEW_ATTEMPT/pyv8/build/v8/include/v8.h:5212) 
[-Wdeprecated-declarations]
src/Exception.h:110:65: warning: ‘static v8::Persistent<S> 
v8::Persistent<T>::New(v8::Handle<T>) [with T = v8::Message]’ is deprecated 
(declared at 
/home/ronen/PyV8_Source/NEW_ATTEMPT/pyv8/build/v8/include/v8.h:5212) 
[-Wdeprecated-declarations]
In file included from src/Context.h:7:0,
                 from src/Engine.h:9,
                 from src/Engine.cpp:1:
src/Wrapper.h: In constructor 
‘CJavascriptObject::CJavascriptObject(v8::Handle<v8::Object>)’:
src/Wrapper.h:81:48: warning: ‘static v8::Persistent<S> 
v8::Persistent<T>::New(v8::Handle<T>) [with T = v8::Object]’ is deprecated 
(declared at 
/home/ronen/PyV8_Source/NEW_ATTEMPT/pyv8/build/v8/include/v8.h:5212) 
[-Wdeprecated-declarations]
src/Wrapper.h: In constructor 
‘CJavascriptFunction::CJavascriptFunction(v8::Handle<v8::Object>, 
v8::Handle<v8::Function>)’:
src/Wrapper.h:175:75: warning: ‘static v8::Persistent<S> 
v8::Persistent<T>::New(v8::Handle<T>) [with T = v8::Object]’ is deprecated 
(declared at 
/home/ronen/PyV8_Source/NEW_ATTEMPT/pyv8/build/v8/include/v8.h:5212) 
[-Wdeprecated-declarations]
In file included from src/Engine.cpp:1:0:
src/Engine.h: In constructor ‘CScript::CScript(CEngine&, 
v8::Persistent<v8::String>, v8::Handle<v8::Script>)’:
src/Engine.h:93:90: warning: ‘static v8::Persistent<S> 
v8::Persistent<T>::New(v8::Handle<T>) [with T = v8::Script]’ is deprecated 
(declared at 
/home/ronen/PyV8_Source/NEW_ATTEMPT/pyv8/build/v8/include/v8.h:5212) 
[-Wdeprecated-declarations]
src/Engine.cpp: In member function ‘boost::shared_ptr<CScript> 
CEngine::InternalCompile(v8::Handle<v8::String>, v8::Handle<v8::Value>, int, 
int, boost::python::api::object)’:
src/Engine.cpp:404:81: warning: ‘static v8::Persistent<S> 
v8::Persistent<T>::New(v8::Handle<T>) [with T = v8::String]’ is deprecated 
(declared at 
/home/ronen/PyV8_Source/NEW_ATTEMPT/pyv8/build/v8/include/v8.h:5212) 
[-Wdeprecated-declarations]
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall 
-Wstrict-prototypes -fPIC -DBOOST_PYTHON_STATIC_LIB -DV8_NATIVE_REGEXP 
-DENABLE_DEBUGGER_SUPPORT -DV8_TARGET_ARCH_X64 
-I/home/ronen/PyV8_Source/NEW_ATTEMPT/pyv8/build/v8/include 
-I/home/ronen/PyV8_Source/NEW_ATTEMPT/pyv8/build/v8 
-I/home/ronen/PyV8_Source/NEW_ATTEMPT/pyv8/build/v8/src -I/usr/local/include 
-I/usr/include/python2.7 -c src/Wrapper.cpp -o 
build/temp.linux-x86_64-2.7/src/Wrapper.o -Wno-write-strings
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for 
C/ObjC but not for C++ [enabled by default]
In file included from src/Wrapper.h:9:0,
                 from src/Wrapper.cpp:1:
src/Exception.h: In constructor 
‘CJavascriptStackTrace::CJavascriptStackTrace(v8::Handle<v8::StackTrace>)’:
src/Exception.h:42:50: warning: ‘static v8::Persistent<S> 
v8::Persistent<T>::New(v8::Handle<T>) [with T = v8::StackTrace]’ is 
deprecated (declared at 
/home/ronen/PyV8_Source/NEW_ATTEMPT/pyv8/build/v8/include/v8.h:5212) 
[-Wdeprecated-declarations]
In file included from src/Wrapper.h:9:0,
                 from src/Wrapper.cpp:1:
src/Exception.h: In constructor 
‘CJavascriptStackFrame::CJavascriptStackFrame(v8::Handle<v8::StackFrame>)’:
src/Exception.h:82:56: warning: ‘static v8::Persistent<S> 
v8::Persistent<T>::New(v8::Handle<T>) [with T = v8::StackFrame]’ is 
deprecated (declared at 
/home/ronen/PyV8_Source/NEW_ATTEMPT/pyv8/build/v8/include/v8.h:5212) 
[-Wdeprecated-declarations]
src/Exception.h: In constructor 
‘CJavascriptException::CJavascriptException(v8::TryCatch&, PyObject*)’:
src/Exception.h:108:65: warning: ‘static v8::Persistent<S> 
v8::Persistent<T>::New(v8::Handle<T>) [with T = v8::Value]’ is deprecated 
(declared at 
/home/ronen/PyV8_Source/NEW_ATTEMPT/pyv8/build/v8/include/v8.h:5212) 
[-Wdeprecated-declarations]
src/Exception.h:109:68: warning: ‘static v8::Persistent<S> 
v8::Persistent<T>::New(v8::Handle<T>) [with T = v8::Value]’ is deprecated 
(declared at 
/home/ronen/PyV8_Source/NEW_ATTEMPT/pyv8/build/v8/include/v8.h:5212) 
[-Wdeprecated-declarations]
src/Exception.h:110:65: warning: ‘static v8::Persistent<S> 
v8::Persistent<T>::New(v8::Handle<T>) [with T = v8::Message]’ is deprecated 
(declared at 
/home/ronen/PyV8_Source/NEW_ATTEMPT/pyv8/build/v8/include/v8.h:5212) 
[-Wdeprecated-declarations]
In file included from src/Wrapper.cpp:1:0:
src/Wrapper.h: In constructor 
‘CJavascriptObject::CJavascriptObject(v8::Handle<v8::Object>)’:
src/Wrapper.h:81:48: warning: ‘static v8::Persistent<S> 
v8::Persistent<T>::New(v8::Handle<T>) [with T = v8::Object]’ is deprecated 
(declared at 
/home/ronen/PyV8_Source/NEW_ATTEMPT/pyv8/build/v8/include/v8.h:5212) 
[-Wdeprecated-declarations]
src/Wrapper.h: In constructor 
‘CJavascriptFunction::CJavascriptFunction(v8::Handle<v8::Object>, 
v8::Handle<v8::Function>)’:
src/Wrapper.h:175:75: warning: ‘static v8::Persistent<S> 
v8::Persistent<T>::New(v8::Handle<T>) [with T = v8::Object]’ is deprecated 
(declared at 
/home/ronen/PyV8_Source/NEW_ATTEMPT/pyv8/build/v8/include/v8.h:5212) 
[-Wdeprecated-declarations]
src/Wrapper.cpp: In static member function ‘static 
v8::Persistent<v8::ObjectTemplate> CPythonObject::CreateObjectTemplate()’:
src/Wrapper.cpp:744:55: warning: ‘static v8::Persistent<S> 
v8::Persistent<T>::New(v8::Handle<T>) [with T = v8::ObjectTemplate]’ is 
deprecated (declared at 
/home/ronen/PyV8_Source/NEW_ATTEMPT/pyv8/build/v8/include/v8.h:5212) 
[-Wdeprecated-declarations]
src/Wrapper.cpp: In member function ‘virtual void 
CJavascriptArray::LazyConstructor()’:
src/Wrapper.cpp:1257:28: warning: comparison between signed and unsigned 
integer expressions [-Wsign-compare]
src/Wrapper.cpp:1267:28: warning: comparison between signed and unsigned 
integer expressions [-Wsign-compare]
src/Wrapper.cpp:1287:48: warning: ‘static v8::Persistent<S> 
v8::Persistent<T>::New(v8::Handle<T>) [with T = v8::Object]’ is deprecated 
(declared at 
/home/ronen/PyV8_Source/NEW_ATTEMPT/pyv8/build/v8/include/v8.h:5212) 
[-Wdeprecated-declarations]
src/Wrapper.cpp: In constructor 
‘ObjectTracer::ObjectTracer(v8::Handle<v8::Value>, 
boost::python::api::object*)’:
src/Wrapper.cpp:1727:51: warning: ‘static v8::Persistent<S> 
v8::Persistent<T>::New(v8::Handle<T>) [with T = v8::Value]’ is deprecated 
(declared at 
/home/ronen/PyV8_Source/NEW_ATTEMPT/pyv8/build/v8/include/v8.h:5212) 
[-Wdeprecated-declarations]
src/Wrapper.cpp: In member function ‘void ObjectTracer::Trace()’:
src/Wrapper.cpp:1762:39: error: no matching function for call to 
‘v8::Persistent<v8::Value>::MakeWeak(ObjectTracer* const, void 
(&)(v8::Persistent<v8::Value>, void*))’
src/Wrapper.cpp:1762:39: note: candidates are:
In file included from src/Utils.h:57:0,
                 from src/Exception.h:10,
                 from src/Wrapper.h:9,
                 from src/Wrapper.cpp:1:
/home/ronen/PyV8_Source/NEW_ATTEMPT/pyv8/build/v8/include/v8.h:607:3: note: 
template<class S, class P> void v8::Persistent::MakeWeak(v8::Isolate*, P*, 
typename v8::WeakReferenceCallbacks<S, P>::Revivable) [with S = S; P = P; T = 
v8::Value]
/home/ronen/PyV8_Source/NEW_ATTEMPT/pyv8/build/v8/include/v8.h:607:3: note:   
template argument deduction/substitution failed:
src/Wrapper.cpp:1762:39: note:   cannot convert ‘this’ (type 
‘ObjectTracer* const’) to type ‘v8::Isolate*’
In file included from src/Utils.h:57:0,
                 from src/Exception.h:10,
                 from src/Wrapper.h:9,
                 from src/Wrapper.cpp:1:
/home/ronen/PyV8_Source/NEW_ATTEMPT/pyv8/build/v8/include/v8.h:613:3: note: 
template<class P> void v8::Persistent::MakeWeak(v8::Isolate*, P*, typename 
v8::WeakReferenceCallbacks<T, P>::Revivable) [with P = P; T = v8::Value]
/home/ronen/PyV8_Source/NEW_ATTEMPT/pyv8/build/v8/include/v8.h:613:3: note:   
template argument deduction/substitution failed:
src/Wrapper.cpp:1762:39: note:   cannot convert ‘this’ (type 
‘ObjectTracer* const’) to type ‘v8::Isolate*’
In file included from src/Utils.h:57:0,
                 from src/Exception.h:10,
                 from src/Wrapper.h:9,
                 from src/Wrapper.cpp:1:
/home/ronen/PyV8_Source/NEW_ATTEMPT/pyv8/build/v8/include/v8.h:625:3: note: 
void v8::Persistent<T>::MakeWeak(v8::Isolate*, void*, v8::NearDeathCallback) 
[with T = v8::Value; v8::NearDeathCallback = void (*)(v8::Isolate*, 
v8::Persistent<v8::Value>, void*)]
/home/ronen/PyV8_Source/NEW_ATTEMPT/pyv8/build/v8/include/v8.h:625:3: note:   
candidate expects 3 arguments, 2 provided
src/Wrapper.cpp: In constructor 
‘ContextTracer::ContextTracer(v8::Handle<v8::Context>, LivingMap*)’:
src/Wrapper.cpp:1820:49: warning: ‘static v8::Persistent<S> 
v8::Persistent<T>::New(v8::Handle<T>) [with T = v8::Context]’ is deprecated 
(declared at 
/home/ronen/PyV8_Source/NEW_ATTEMPT/pyv8/build/v8/include/v8.h:5212) 
[-Wdeprecated-declarations]
src/Wrapper.cpp: In member function ‘void ContextTracer::Trace()’:
src/Wrapper.cpp:1850:37: error: no matching function for call to 
‘v8::Persistent<v8::Context>::MakeWeak(ContextTracer* const, void 
(&)(v8::Persistent<v8::Value>, void*))’
src/Wrapper.cpp:1850:37: note: candidates are:
In file included from src/Utils.h:57:0,
                 from src/Exception.h:10,
                 from src/Wrapper.h:9,
                 from src/Wrapper.cpp:1:
/home/ronen/PyV8_Source/NEW_ATTEMPT/pyv8/build/v8/include/v8.h:607:3: note: 
template<class S, class P> void v8::Persistent::MakeWeak(v8::Isolate*, P*, 
typename v8::WeakReferenceCallbacks<S, P>::Revivable) [with S = S; P = P; T = 
v8::Context]
/home/ronen/PyV8_Source/NEW_ATTEMPT/pyv8/build/v8/include/v8.h:607:3: note:   
template argument deduction/substitution failed:
src/Wrapper.cpp:1850:37: note:   cannot convert ‘this’ (type 
‘ContextTracer* const’) to type ‘v8::Isolate*’
In file included from src/Utils.h:57:0,
                 from src/Exception.h:10,
                 from src/Wrapper.h:9,
                 from src/Wrapper.cpp:1:
/home/ronen/PyV8_Source/NEW_ATTEMPT/pyv8/build/v8/include/v8.h:613:3: note: 
template<class P> void v8::Persistent::MakeWeak(v8::Isolate*, P*, typename 
v8::WeakReferenceCallbacks<T, P>::Revivable) [with P = P; T = v8::Context]
/home/ronen/PyV8_Source/NEW_ATTEMPT/pyv8/build/v8/include/v8.h:613:3: note:   
template argument deduction/substitution failed:
src/Wrapper.cpp:1850:37: note:   cannot convert ‘this’ (type 
‘ContextTracer* const’) to type ‘v8::Isolate*’
In file included from src/Utils.h:57:0,
                 from src/Exception.h:10,
                 from src/Wrapper.h:9,
                 from src/Wrapper.cpp:1:
/home/ronen/PyV8_Source/NEW_ATTEMPT/pyv8/build/v8/include/v8.h:625:3: note: 
void v8::Persistent<T>::MakeWeak(v8::Isolate*, void*, v8::NearDeathCallback) 
[with T = v8::Context; v8::NearDeathCallback = void (*)(v8::Isolate*, 
v8::Persistent<v8::Value>, void*)]
/home/ronen/PyV8_Source/NEW_ATTEMPT/pyv8/build/v8/include/v8.h:625:3: note:   
candidate expects 3 arguments, 2 provided
error: command 'gcc' failed with exit status 1

Original issue reported on code.google.com by RonenN...@gmail.com on 12 May 2013 at 10:33

GoogleCodeExporter commented 9 years ago
please verify the fix with SVN trunk after r519

Original comment by flier...@gmail.com on 12 May 2013 at 1:35

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
works :)

Original comment by RonenN...@gmail.com on 12 May 2013 at 4:11

GoogleCodeExporter commented 9 years ago
:)

Original comment by flier...@gmail.com on 13 May 2013 at 7:39