|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2014-05-06 23:45 UTC] tyrael@php.net
-Status: Open
+Status: Feedback
-Assigned To:
+Assigned To: johannes
[2014-05-06 23:45 UTC] tyrael@php.net
[2014-12-30 10:42 UTC] pecl-dev at lists dot php dot net
[2015-03-09 17:28 UTC] alanivey at gmail dot com
[2015-08-06 14:38 UTC] roi dot zearreta at ext dot mpsa dot com
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Oct 28 22:00:01 2025 UTC |
Description: ------------ The mysqlnd_ms package fails to build with PHP 5.6, the compile error is below. Affects 1.5.2 and 1.6.0. Expected result: ---------------- Compiled .so Actual result: -------------- libtool: compile: cc -I. -I/tmp/buildd/php-mysqlnd-ms/php-mysqlnd-ms-1.6.0/mysqlnd_ms-1.6.0 -DPHP_ATOM_INC -I/tmp/buildd/php-mysqlnd-ms/php-mysqlnd-ms-1.6.0/obj-x86_64-linux-gnu/include -I/tmp/buildd/php-mysqlnd-ms/php-mysqlnd-ms-1.6.0/obj-x86_64-linux-gnu/main -I/tmp/buildd/php-mysqlnd-ms/php-mysqlnd-ms-1.6.0/mysqlnd_ms-1.6.0 -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -I/usr/include/libxml2 -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -c /tmp/buildd/php-mysqlnd-ms/php-mysqlnd-ms-1.6.0/mysqlnd_ms-1.6.0/php_mysqlnd_ms.c -fPIC -DPIC -o .libs/php_mysqlnd_ms.o /tmp/buildd/php-mysqlnd-ms/php-mysqlnd-ms-1.6.0/mysqlnd_ms-1.6.0/php_mysqlnd_ms.c: In function 'zif_mysqlnd_ms_get_last_gtid': /tmp/buildd/php-mysqlnd-ms/php-mysqlnd-ms-1.6.0/mysqlnd_ms-1.6.0/php_mysqlnd_ms.c:416:3: error: too few arguments to function 'ms_orig_mysqlnd_conn_methods->store_result' if (!(res = MS_CALL_ORIGINAL_CONN_DATA_METHOD(store_result)(conn TSRMLS_CC))) { ^ /tmp/buildd/php-mysqlnd-ms/php-mysqlnd-ms-1.6.0/mysqlnd_ms-1.6.0/php_mysqlnd_ms.c: In function 'mysqlnd_ms_dump_fabric_hosts_cb': /tmp/buildd/php-mysqlnd-ms/php-mysqlnd-ms-1.6.0/mysqlnd_ms-1.6.0/php_mysqlnd_ms.c:804:2: warning: passing argument 4 of 'add_assoc_string_ex' discards 'const' qualifier from pointer target type [enabled by default] add_assoc_string(item, "hostname", hostname, 1); ^ In file included from /usr/include/php5/main/php.h:40:0, from /tmp/buildd/php-mysqlnd-ms/php-mysqlnd-ms-1.6.0/mysqlnd_ms-1.6.0/php_mysqlnd_ms.c:26: /usr/include/php5/Zend/zend_API.h:384:14: note: expected 'char *' but argument is of type 'const char *' ZEND_API int add_assoc_string_ex(zval *arg, const char *key, uint key_len, char *str, int duplicate); ^ make[1]: *** [php_mysqlnd_ms.lo] Error 1