GithubHelp home page GithubHelp logo

Comments (2)

yllierop avatar yllierop commented on August 30, 2024

@stesie — thanks for the report.

from v8js.

ccubed2k4 avatar ccubed2k4 commented on August 30, 2024

I am also getting the similar problem. Below are the make process and gcc version.
What other options can I pass to configure for resolving this issue, or is it possible to modify the program to resolve this, if so, how?

[root@localhost v8js]# make
/bin/sh /usr/local/v8js/libtool --mode=compile g++ -std=c++0x -I. -I/usr/local/v8js -DPHP_ATOM_INC -I/usr/local/v8js/include -I/usr/local/v8js/main -I/usr/local/v8js -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /usr/local/v8js/v8js.cc -o v8js.lo
libtool: compile: g++ -std=c++0x -I. -I/usr/local/v8js -DPHP_ATOM_INC -I/usr/local/v8js/include -I/usr/local/v8js/main -I/usr/local/v8js -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /usr/local/v8js/v8js.cc -fPIC -DPIC -o .libs/v8js.o
/usr/local/v8js/v8js.cc:61:1: warning: deprecated conversion from string constant to 'char_'
/usr/local/v8js/v8js.cc: In function 'void zim_V8Object___construct(int, zval_, zval**, zval_, int)':
/usr/local/v8js/v8js.cc:516:54: warning: deprecated conversion from string constant to 'char_'
/usr/local/v8js/v8js.cc: In function 'void zim_V8Function___construct(int, zval*, zval**, zval_, int)':
/usr/local/v8js/v8js.cc:526:54: warning: deprecated conversion from string constant to 'char_'
/usr/local/v8js/v8js.cc: In function 'void zim_V8Js___construct(int, zval_, zval__, zval_, int)':
/usr/local/v8js/v8js.cc:770:134: warning: deprecated conversion from string constant to 'char_'
/usr/local/v8js/v8js.cc:821:66: error: no matching function for call to 'v8::FunctionTemplate::New()'
/usr/include/v8.h:3331:34: note: candidate is: static v8::Localv8::FunctionTemplate v8::FunctionTemplate::New(v8::Isolate_, void ()(const v8::FunctionCallbackInfov8::Value&), v8::Handlev8::Value, v8::Handlev8::Signature, int)
/usr/local/v8js/v8js.cc:848:72: error: no matching function for call to 'v8::FunctionTemplate::New()'
/usr/include/v8.h:3331:34: note: candidate is: static v8::Localv8::FunctionTemplate v8::FunctionTemplate::New(v8::Isolate
, void ()(const v8::FunctionCallbackInfov8::Value&), v8::Handlev8::Value, v8::Handlev8::Signature, int)
/usr/local/v8js/v8js.cc: In function 'void php_v8js_timer_thread()':
/usr/local/v8js/v8js.cc:1001:3: error: 'sleep_for' is not a member of 'std::this_thread'
/usr/local/v8js/v8js.cc: In function 'void zim_V8Js_executeString(int, zval
, zval**, zval_, int)':
/usr/local/v8js/v8js.cc:1013:145: warning: deprecated conversion from string constant to 'char_'
/usr/local/v8js/v8js.cc:1041:2: error: invalid conversion from 'long int' to 'v8::Isolate_'
/usr/local/v8js/v8js.cc:1041:2: error: initializing argument 1 of 'static v8::Localv8::Integer v8::Integer::New(v8::Isolate_, int32_t)'
/usr/local/v8js/v8js.cc:1041:2: error: invalid conversion from 'v8::Isolate_' to 'int32_t'
/usr/local/v8js/v8js.cc:1041:2: error: initializing argument 2 of 'static v8::Localv8::Integer v8::Integer::New(v8::Isolate_, int32_t)'
/usr/local/v8js/v8js.cc: In function 'void zim_V8Js_startDebugAgent(int, zval*, zval**, zval_, int)':
/usr/local/v8js/v8js.cc:1154:97: warning: deprecated conversion from string constant to 'char_'
/usr/local/v8js/v8js.cc: In function 'void zim_V8Js_getPendingException(int, zval_, zval__, zval_, int)':
/usr/local/v8js/v8js.cc:1198:6: warning: deprecated conversion from string constant to 'char_'
/usr/local/v8js/v8js.cc: In function 'void zim_V8Js_setModuleLoader(int, zval_, zval**, zval_, int)':
/usr/local/v8js/v8js.cc:1217:69: warning: deprecated conversion from string constant to 'char_'
/usr/local/v8js/v8js.cc: In function 'void php_v8js_persistent_zval_ctor(zval**)':
/usr/local/v8js/v8js.cc:1238:4: warning: deprecated conversion from string constant to 'char_'
/usr/local/v8js/v8js.cc: In function 'void php_v8js_persistent_zval_dtor(zval__)':
/usr/local/v8js/v8js.cc:1251:4: warning: deprecated conversion from string constant to 'char_'
/usr/local/v8js/v8js.cc: In function 'void zim_V8Js_registerExtension(int, zval_, zval__, zval_, int)':
/usr/local/v8js/v8js.cc:1316:135: warning: deprecated conversion from string constant to 'char_'
/usr/local/v8js/v8js.cc: In function 'void zim_V8Js_getExtensions(int, zval_, zval**, zval_, int)':
/usr/local/v8js/v8js.cc:1344:6: warning: deprecated conversion from string constant to 'char_'
/usr/local/v8js/v8js.cc: In function 'void php_v8js_create_script_exception(zval_, v8::TryCatch_)':
/usr/local/v8js/v8js.cc:1508:3: warning: deprecated conversion from string constant to 'char_'
/usr/local/v8js/v8js.cc:1512:3: warning: deprecated conversion from string constant to 'char_'
/usr/local/v8js/v8js.cc:1515:3: warning: deprecated conversion from string constant to 'char_'
/usr/local/v8js/v8js.cc:1522:4: warning: deprecated conversion from string constant to 'char_'
/usr/local/v8js/v8js.cc:1526:2: warning: deprecated conversion from string constant to 'char_'
/usr/local/v8js/v8js.cc: In function 'void zim_V8JsScriptException_getJsFileName(int, zval_, zval**, zval_, int)':
/usr/local/v8js/v8js.cc:1564:1: warning: deprecated conversion from string constant to 'char_'
/usr/local/v8js/v8js.cc:1564:1: warning: deprecated conversion from string constant to 'char_'
/usr/local/v8js/v8js.cc: In function 'void zim_V8JsScriptException_getJsLineNumber(int, zval_, zval**, zval_, int)':
/usr/local/v8js/v8js.cc:1569:1: warning: deprecated conversion from string constant to 'char_'
/usr/local/v8js/v8js.cc:1569:1: warning: deprecated conversion from string constant to 'char_'
/usr/local/v8js/v8js.cc: In function 'void zim_V8JsScriptException_getJsSourceLine(int, zval_, zval**, zval_, int)':
/usr/local/v8js/v8js.cc:1574:1: warning: deprecated conversion from string constant to 'char_'
/usr/local/v8js/v8js.cc:1574:1: warning: deprecated conversion from string constant to 'char_'
/usr/local/v8js/v8js.cc: In function 'void zim_V8JsScriptException_getJsTrace(int, zval_, zval*, zval, int)':
/usr/local/v8js/v8js.cc:1579:1: warning: deprecated conversion from string constant to 'char_'
/usr/local/v8js/v8js.cc:1579:1: warning: deprecated conversion from string constant to 'char_'
/usr/local/v8js/v8js.cc: In function 'int zm_startup_v8js(int, int)':
/usr/local/v8js/v8js.cc:1675:113: warning: deprecated conversion from string constant to 'char_'
/usr/local/v8js/v8js.cc:1676:114: warning: deprecated conversion from string constant to 'char_'
/usr/local/v8js/v8js.cc:1677:114: warning: deprecated conversion from string constant to 'char_'
/usr/local/v8js/v8js.cc:1678:111: warning: deprecated conversion from string constant to 'char_'
/usr/local/v8js/v8js.cc: At global scope:
/usr/local/v8js/v8js.cc:1820:1: warning: deprecated conversion from string constant to 'char_'
make: *_* [v8js.lo] Error 1

[root@localhost v8js]# gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/4.5.1/lto-wrapper
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --enable-languages=c,c++,objc,obj-c++,java,fortran,ada,lto --enable-plugin --enable-java-awt=gtk --disable-dssi --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre --enable-libgcj-multifile --enable-java-maintainer-mode --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib --with-ppl --with-cloog --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux
Thread model: posix
gcc version 4.5.1 20100924 (Red Hat 4.5.1-4) (GCC)

from v8js.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.