|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2016-01-29 18:08 UTC] willfitch@php.net
[2016-01-29 18:09 UTC] willfitch@php.net
-Assigned To:
+Assigned To: cataphract
[2016-01-29 19:49 UTC] hello at sebastiaanluca dot com
[2016-02-01 16:05 UTC] willfitch@php.net
[2016-03-12 20:51 UTC] hello at sebastiaanluca dot com
[2016-07-22 03:24 UTC] miles dot t dot prower at gmail dot com
[2016-09-27 18:04 UTC] dlloyd at ocremix dot org
[2016-11-06 06:20 UTC] miles dot t dot prower at gmail dot com
[2016-11-16 20:50 UTC] willfitch@php.net
[2016-11-20 22:20 UTC] emu dot sas at gmail dot com
[2016-11-28 18:47 UTC] dlloyd at ocremix dot org
[2016-11-29 00:12 UTC] miles dot t dot prower at gmail dot com
[2016-12-31 02:13 UTC] yovkov at gmail dot com
[2017-03-09 05:03 UTC] no at no dot no
[2017-07-22 03:03 UTC] cataphract@php.net
-Status: Assigned
+Status: Closed
[2017-07-22 03:03 UTC] cataphract@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Oct 27 02:00:01 2025 UTC |
Description: ------------ `sudo pecl install rar` throws an exception, can't compile on Ubuntu 14.04 for PHP7.0. Actual result: -------------- /usr/include/php/20151012/Zend/zend_hash.h:154:30: note: expected 'struct zend_string *' but argument is of type 'const char *' ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key); ^ /tmp/pear/temp/rar/rar.c:645:2: error: too many arguments to function 'zend_hash_find' zend_hash_find(cc->data, key, key_len, (void **) &element); ^ In file included from /usr/include/php/20151012/Zend/zend.h:36:0, from /usr/include/php/20151012/main/php.h:36, from /tmp/pear/temp/rar/rar.c:47: /usr/include/php/20151012/Zend/zend_hash.h:154:30: note: declared here ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key); ^ /tmp/pear/temp/rar/rar.c:649:3: warning: passing argument 1 of 'zval_add_ref' from incompatible pointer type [enabled by default] zval_add_ref(element); ^ In file included from /usr/include/php/20151012/Zend/zend.h:39:0, from /usr/include/php/20151012/main/php.h:36, from /tmp/pear/temp/rar/rar.c:47: /usr/include/php/20151012/Zend/zend_variables.h:141:15: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void zval_add_ref(zval *p); ^ /tmp/pear/temp/rar/rar.c: At top level: cc1: warning: unrecognized command line option "-Wno-logical-op-parentheses" [enabled by default] make: *** [rar.lo] Error 1 ERROR: `make' failed