php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #61279 V8JS won't compile with PHP 5.4
Submitted: 2012-03-04 23:39 UTC Modified: 2012-06-13 02:44 UTC
Votes:5
Avg. Score:4.2 ± 1.0
Reproduced:5 of 5 (100.0%)
Same Version:3 (60.0%)
Same OS:0 (0.0%)
From: zakay at danial dot se Assigned: felipe (profile)
Status: Closed Package: v8js (PECL)
PHP Version: 5.4.0 OS: Mac OS X 10.7
Private report: No CVE-ID: None
 [2012-03-04 23:39 UTC] zakay at danial dot se
Description:
------------
Compile errors with PHP 5.4

Actual result:
--------------
v8js-0.1.2/v8js.cc:100: warning: deprecated conversion from string constant to 
‘char*’
v8js-0.1.2/v8js.cc:100: warning: deprecated conversion from string constant to 
‘char*’
v8js-0.1.2/v8js.cc:100: warning: deprecated conversion from string constant to 
‘char*’
v8js-0.1.2/v8js.cc: In function ‘void zim_V8Js___construct(int, zval*, zval**, 
zval*, 
v8js-0.1.2/v8js.cc:628: error: invalid conversion from ‘char**’ to ‘const char**’
v8js-0.1.2/v8js.cc:628: error:   initializing argument 2 of ‘int 
v8js-0.1.2/v8js.cc: In function ‘void php_v8js_persistent_zval_ctor(zval**)’:
v8js-0.1.2/v8js.cc:770: warning: deprecated conversion from string constant to 
‘char*’
v8js-0.1.2/v8js.cc: In function ‘void php_v8js_persistent_zval_dtor(zval**)’:
v8js-0.1.2/v8js.cc:783: warning: deprecated conversion from string constant to 
‘char*’
v8js-0.1.2/v8js.cc: In function ‘void php_v8js_write_property(zval*, zval*, 
zval*)’:
v8js-0.1.2/v8js.cc:958: error: too few arguments to function
v8js-0.1.2/v8js.cc: In function ‘void php_v8js_unset_property(zval*, zval*)’:
v8js-0.1.2/v8js.cc:975: error: too few arguments to function
v8js-0.1.2/v8js.cc: In function ‘int zm_startup_v8js(int, int)’:
v8js-0.1.2/v8js.cc:1114: error: invalid conversion from ‘zval* (*)(zval*, zval*, 
int)
v8js-0.1.2/v8js.cc:1115: error: invalid conversion from ‘void (*)(zval*, zval*, 
zval*)
v8js-0.1.2/v8js.cc:1116: error: invalid conversion from ‘void (*)(zval*, zval*)’ 
to 
v8js-0.1.2/v8js.cc:1118: error: invalid conversion from ‘zend_function* (*)
(zval**, 
v8js-0.1.2/v8js.cc:1119: error: invalid conversion from ‘int (*)(char*, int, 
zval*, 
v8js-0.1.2/v8js.cc:1131: error: invalid conversion from ‘void (*)(zval*, zval*, 
zval*)
v8js-0.1.2/v8js.cc:1132: error: invalid conversion from ‘void (*)(zval*, zval*)’ 
to 
v8js-0.1.2/v8js.cc:1135: error: ‘PHP_V8_VERSION’ was not declared in this scope
v8js-0.1.2/v8js.cc: In function ‘void zm_info_v8js(zend_module_entry*)’:
v8js-0.1.2/v8js.cc:1231: error: ‘PHP_V8_VERSION’ was not declared in this scope
make: *** [v8js.lo] Error 1


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-06-13 02:44 UTC] felipe@php.net
This bug has been fixed in SVN.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.

 For Windows:

http://windows.php.net/snapshots/
 
Thank you for the report, and for helping us make PHP better.


 [2012-06-13 02:44 UTC] felipe@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: felipe
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 26 11:01:30 2024 UTC