Bug #78237 [NEW]: It doesn't compile

From: Date: Mon, 01 Jul 2019 15:06:40 +0000
Subject: Bug #78237 [NEW]: It doesn't compile
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-221570@lists.php.net to get a copy of this message
From: luciano at mannucci dot org Operating system: freebsd 11.2-RELEASE-p10 PHP version: 7.4.0alpha2 Package: Compile Failure Bug Type: Bug Bug description:It doesn't compile Description: ------------ This is the error I see: /bin/sh /usr/local/src/php/php-7.4.0alpha2/libtool --silent --preserve-dup-deps --mode=compile gcc8 -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -Iext/mysqli/ -I/usr/local/src/php/php-7.4.0alpha2/ext/mysqli/ -DPHP_ATOM_INC -I/usr/local/src/php/php-7.4.0alpha2/include -I/usr/local/src/php/php-7.4.0alpha2/main -I/usr/local/src/php/php-7.4.0alpha2 -I/usr/local/src/php/php-7.4.0alpha2/ext/date/lib -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/local/src/php/php-7.4.0alpha2/ext/mbstring/libmbfl -I/usr/local/src/php/php-7.4.0alpha2/ext/mbstring/libmbfl/mbfl -I/usr/local/include/mysql -I/usr/local/src/php/php-7.4.0alpha2/TSRM -I/usr/local/src/php/php-7.4.0alpha2/Zend -I/usr/local/include -g -O2 -fvisibility=hidden -Wall -Wno-strict-aliasing -DZEND_SIGNALS -c /usr/local/src/php/php-7.4.0alpha2/ext/mysqli/mysqli.c -o ext/mysqli/mysqli.lo In file included from /usr/local/include/mysql/my_global.h:68, from /usr/local/src/php/php-7.4.0alpha2/ext/mysqli/php_mysqli_structs.h:57, from /usr/local/src/php/php-7.4.0alpha2/ext/mysqli/mysqli.c:32: /usr/local/include/mysql/my_config.h:417: warning: "WORDS_BIGENDIAN" redefined #define WORDS_BIGENDIAN 1 In file included from /usr/local/src/php/php-7.4.0alpha2/Zend/zend_config.h:1, from /usr/local/src/php/php-7.4.0alpha2/Zend/zend_portability.h:43, from /usr/local/src/php/php-7.4.0alpha2/Zend/zend_types.h:25, from /usr/local/src/php/php-7.4.0alpha2/Zend/zend.h:27, from /usr/local/src/php/php-7.4.0alpha2/main/php.h:33, from /usr/local/src/php/php-7.4.0alpha2/ext/mysqli/mysqli.c:27: /usr/local/src/php/php-7.4.0alpha2/include/../main/php_config.h:2415: note: this is the location of the previous definition #define WORDS_BIGENDIAN /**/ In file included from /usr/local/src/php/php-7.4.0alpha2/ext/mysqli/mysqli.c:32: /usr/local/src/php/php-7.4.0alpha2/ext/mysqli/mysqli.c: In function 'php_mysqli_fetch_into_hash_aux': /usr/local/src/php/php-7.4.0alpha2/ext/mysqli/php_mysqli_structs.h:185:25: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'my_ulonglong' {aka 'long long unsigned int'} [-Wformat=] #define MYSQLI_LLU_SPEC "%" PRIu64 ^~~ /usr/local/src/php/php-7.4.0alpha2/ext/mysqli/mysqli.c:1183:94: note: in expansion of macro 'MYSQLI_LLU_SPEC' snprintf(tmp, sizeof(tmp), (mysql_fetch_field_direct(result, i)->flags & UNSIGNED_FLAG)? MYSQLI_LLU_SPEC : MYSQLI_LL_SPEC, llval); ^~~~~~~~~~~~~~~ In file included from /usr/include/inttypes.h:32, from /usr/local/src/php/php-7.4.0alpha2/main/php_stdint.h:72, from /usr/local/src/php/php-7.4.0alpha2/Zend/../TSRM/TSRM.h:23, from /usr/local/src/php/php-7.4.0alpha2/Zend/zend_portability.h:47, from /usr/local/src/php/php-7.4.0alpha2/Zend/zend_types.h:25, from /usr/local/src/php/php-7.4.0alpha2/Zend/zend.h:27, from /usr/local/src/php/php-7.4.0alpha2/main/php.h:33, from /usr/local/src/php/php-7.4.0alpha2/ext/mysqli/mysqli.c:27: /usr/include/machine/_inttypes.h:100:25: note: format string is defined here #define PRIu64 __PRI64"u" /* uint64_t */ In file included from /usr/local/src/php/php-7.4.0alpha2/ext/mysqli/mysqli.c:32: /usr/local/src/php/php-7.4.0alpha2/ext/mysqli/php_mysqli_structs.h:186:24: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'my_ulonglong' {aka 'long long unsigned int'} [-Wformat=] #define MYSQLI_LL_SPEC "%" PRId64 ^~~ /usr/local/src/php/php-7.4.0alpha2/ext/mysqli/mysqli.c:1183:112: note: in expansion of macro 'MYSQLI_LL_SPEC' snprintf(tmp, sizeof(tmp), (mysql_fetch_field_direct(result, i)->flags & UNSIGNED_FLAG)? MYSQLI_LLU_SPEC : MYSQLI_LL_SPEC, llval); ^~~~~~~~~~~~~~ In file included from /usr/include/inttypes.h:32, from /usr/local/src/php/php-7.4.0alpha2/main/php_stdint.h:72, from /usr/local/src/php/php-7.4.0alpha2/Zend/../TSRM/TSRM.h:23, from /usr/local/src/php/php-7.4.0alpha2/Zend/zend_portability.h:47, from /usr/local/src/php/php-7.4.0alpha2/Zend/zend_types.h:25, from /usr/local/src/php/php-7.4.0alpha2/Zend/zend.h:27, from /usr/local/src/php/php-7.4.0alpha2/main/php.h:33, from /usr/local/src/php/php-7.4.0alpha2/ext/mysqli/mysqli.c:27: /usr/include/machine/_inttypes.h:53:25: note: format string is defined here #define PRId64 __PRI64"d" /* int64_t */ In file included from /usr/local/src/php/php-7.4.0alpha2/main/php.h:273, from /usr/local/src/php/php-7.4.0alpha2/ext/mysqli/mysqli.c:27: /usr/local/src/php/php-7.4.0alpha2/main/snprintf.h:105:18: warning: 'llval' may be used uninitialized in this function [-Wmaybe-uninitialized] #define snprintf ap_php_snprintf ^~~~~~~~~~~~~~~ /usr/local/src/php/php-7.4.0alpha2/ext/mysqli/mysqli.c:1167:18: note: 'llval' was declared here my_ulonglong llval; ^~~~~ /bin/sh /usr/local/src/php/php-7.4.0alpha2/libtool --silent --preserve-dup-deps --mode=compile gcc8 -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -Iext/mysqli/ -I/usr/local/src/php/php-7.4.0alpha2/ext/mysqli/ -DPHP_ATOM_INC -I/usr/local/src/php/php-7.4.0alpha2/include -I/usr/local/src/php/php-7.4.0alpha2/main -I/usr/local/src/php/php-7.4.0alpha2 -I/usr/local/src/php/php-7.4.0alpha2/ext/date/lib -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/local/src/php/php-7.4.0alpha2/ext/mbstring/libmbfl -I/usr/local/src/php/php-7.4.0alpha2/ext/mbstring/libmbfl/mbfl -I/usr/local/include/mysql -I/usr/local/src/php/php-7.4.0alpha2/TSRM -I/usr/local/src/php/php-7.4.0alpha2/Zend -I/usr/local/include -g -O2 -fvisibility=hidden -Wall -Wno-strict-aliasing -DZEND_SIGNALS -c /usr/local/src/php/php-7.4.0alpha2/ext/mysqli/mysqli_api.c -o ext/mysqli/mysqli_api.lo In file included from /usr/local/include/mysql/my_global.h:68, from /usr/local/src/php/php-7.4.0alpha2/ext/mysqli/php_mysqli_structs.h:57, from /usr/local/src/php/php-7.4.0alpha2/ext/mysqli/mysqli_api.c:32: /usr/local/include/mysql/my_config.h:417: warning: "WORDS_BIGENDIAN" redefined #define WORDS_BIGENDIAN 1 In file included from /usr/local/src/php/php-7.4.0alpha2/Zend/zend_config.h:1, from /usr/local/src/php/php-7.4.0alpha2/Zend/zend_portability.h:43, from /usr/local/src/php/php-7.4.0alpha2/Zend/zend_types.h:25, from /usr/local/src/php/php-7.4.0alpha2/Zend/zend.h:27, from /usr/local/src/php/php-7.4.0alpha2/main/php.h:33, from /usr/local/src/php/php-7.4.0alpha2/ext/mysqli/mysqli_api.c:27: /usr/local/src/php/php-7.4.0alpha2/include/../main/php_config.h:2415: note: this is the location of the previous definition #define WORDS_BIGENDIAN /**/ In file included from /usr/local/src/php/php-7.4.0alpha2/Zend/zend.h:27, from /usr/local/src/php/php-7.4.0alpha2/main/php.h:33, from /usr/local/src/php/php-7.4.0alpha2/ext/mysqli/mysqli_api.c:27: /usr/local/src/php/php-7.4.0alpha2/ext/mysqli/mysqli_api.c: In function 'zif_mysqli_affected_rows': /usr/local/src/php/php-7.4.0alpha2/ext/mysqli/php_mysqli_structs.h:185:25: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'my_ulonglong' {aka 'long long unsigned int'} [-Wformat=] #define MYSQLI_LLU_SPEC "%" PRIu64 ^~~ /usr/local/src/php/php-7.4.0alpha2/Zend/zend_types.h:787:23: note: in definition of macro 'ZVAL_STR' zend_string *__s = (s); \ ^ /usr/local/src/php/php-7.4.0alpha2/Zend/zend_API.h:642:30: note: in expansion of macro 'RETVAL_STR' #define RETURN_STR(s) { RETVAL_STR(s); return; } ^~~~~~~~~~ /usr/local/src/php/php-7.4.0alpha2/ext/mysqli/mysqli_priv.h:100:3: note: in expansion of macro 'RETURN_STR' RETURN_STR(strpprintf(0, MYSQLI_LLU_SPEC, (__val))); \ ^~~~~~~~~~ /usr/local/src/php/php-7.4.0alpha2/ext/mysqli/mysqli_priv.h:100:28: note: in expansion of macro 'MYSQLI_LLU_SPEC' RETURN_STR(strpprintf(0, MYSQLI_LLU_SPEC, (__val))); \ ^~~~~~~~~~~~~~~ /usr/local/src/php/php-7.4.0alpha2/ext/mysqli/mysqli_api.c:156:2: note: in expansion of macro 'MYSQLI_RETURN_LONG_INT' MYSQLI_RETURN_LONG_INT(rc); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/inttypes.h:32, from /usr/local/src/php/php-7.4.0alpha2/main/php_stdint.h:72, from /usr/local/src/php/php-7.4.0alpha2/Zend/../TSRM/TSRM.h:23, from /usr/local/src/php/php-7.4.0alpha2/Zend/zend_portability.h:47, from /usr/local/src/php/php-7.4.0alpha2/Zend/zend_types.h:25, from /usr/local/src/php/php-7.4.0alpha2/Zend/zend.h:27, from /usr/local/src/php/php-7.4.0alpha2/main/php.h:33, from /usr/local/src/php/php-7.4.0alpha2/ext/mysqli/mysqli_api.c:27: /usr/include/machine/_inttypes.h:100:25: note: format string is defined here #define PRIu64 __PRI64"u" /* uint64_t */ /usr/local/src/php/php-7.4.0alpha2/ext/mysqli/mysqli_api.c: In function 'mysqli_stmt_fetch_libmysql': /usr/local/src/php/php-7.4.0alpha2/ext/mysqli/mysqli_api.c:973:12: error: incompatible types when assigning to type 'zval *' {aka 'struct _zval_struct *'} from type 'zval' {aka 'struct _zval_struct'} result = stmt->result.vars[i]; ^ In file included from /usr/local/src/php/php-7.4.0alpha2/ext/mysqli/mysqli_api.c:32: /usr/local/src/php/php-7.4.0alpha2/ext/mysqli/php_mysqli_structs.h:185:25: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'my_ulonglong' {aka 'long long unsigned int'} [-Wformat=] #define MYSQLI_LLU_SPEC "%" PRIu64 ^~~ /usr/local/src/php/php-7.4.0alpha2/ext/mysqli/mysqli_api.c:1064:83: note: in expansion of macro 'MYSQLI_LLU_SPEC' snprintf(tmp, sizeof(tmp), (stmt->stmt->fields[i].flags & UNSIGNED_FLAG)? MYSQLI_LLU_SPEC : MYSQLI_LL_SPEC, llval); ^~~~~~~~~~~~~~~ In file included from /usr/include/inttypes.h:32, from /usr/local/src/php/php-7.4.0alpha2/main/php_stdint.h:72, from /usr/local/src/php/php-7.4.0alpha2/Zend/../TSRM/TSRM.h:23, from /usr/local/src/php/php-7.4.0alpha2/Zend/zend_portability.h:47, from /usr/local/src/php/php-7.4.0alpha2/Zend/zend_types.h:25, from /usr/local/src/php/php-7.4.0alpha2/Zend/zend.h:27, from /usr/local/src/php/php-7.4.0alpha2/main/php.h:33, from /usr/local/src/php/php-7.4.0alpha2/ext/mysqli/mysqli_api.c:27: /usr/include/machine/_inttypes.h:100:25: note: format string is defined here #define PRIu64 __PRI64"u" /* uint64_t */ In file included from /usr/local/src/php/php-7.4.0alpha2/ext/mysqli/mysqli_api.c:32: /usr/local/src/php/php-7.4.0alpha2/ext/mysqli/php_mysqli_structs.h:186:24: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'my_ulonglong' {aka 'long long unsigned int'} [-Wformat=] #define MYSQLI_LL_SPEC "%" PRId64 ^~~ /usr/local/src/php/php-7.4.0alpha2/ext/mysqli/mysqli_api.c:1064:101: note: in expansion of macro 'MYSQLI_LL_SPEC' snprintf(tmp, sizeof(tmp), (stmt->stmt->fields[i].flags & UNSIGNED_FLAG)? MYSQLI_LLU_SPEC : MYSQLI_LL_SPEC, llval); ^~~~~~~~~~~~~~ In file included from /usr/include/inttypes.h:32, from /usr/local/src/php/php-7.4.0alpha2/main/php_stdint.h:72, from /usr/local/src/php/php-7.4.0alpha2/Zend/../TSRM/TSRM.h:23, from /usr/local/src/php/php-7.4.0alpha2/Zend/zend_portability.h:47, from /usr/local/src/php/php-7.4.0alpha2/Zend/zend_types.h:25, from /usr/local/src/php/php-7.4.0alpha2/Zend/zend.h:27, from /usr/local/src/php/php-7.4.0alpha2/main/php.h:33, from /usr/local/src/php/php-7.4.0alpha2/ext/mysqli/mysqli_api.c:27: /usr/include/machine/_inttypes.h:53:25: note: format string is defined here #define PRId64 __PRI64"d" /* int64_t */ /usr/local/src/php/php-7.4.0alpha2/ext/mysqli/mysqli_api.c:1086:5: warning: implicit declaration of function 'ZEND_TRY_REF_ASSIGN_NULL'; did you mean 'ZEND_TRY_ASSIGN_NULL'? [-Wimplicit-function-declaration] ZEND_TRY_REF_ASSIGN_NULL(result); ^~~~~~~~~~~~~~~~~~~~~~~~ ZEND_TRY_ASSIGN_NULL /usr/local/src/php/php-7.4.0alpha2/ext/mysqli/mysqli_api.c:948:15: warning: variable 'uval' set but not used [-Wunused-but-set-variable] unsigned int uval; ^~~~ In file included from /usr/local/src/php/php-7.4.0alpha2/Zend/zend.h:27, from /usr/local/src/php/php-7.4.0alpha2/main/php.h:33, from /usr/local/src/php/php-7.4.0alpha2/ext/mysqli/mysqli_api.c:27: /usr/local/src/php/php-7.4.0alpha2/ext/mysqli/mysqli_api.c: In function 'zif_mysqli_insert_id': /usr/local/src/php/php-7.4.0alpha2/ext/mysqli/php_mysqli_structs.h:185:25: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'my_ulonglong' {aka 'long long unsigned int'} [-Wformat=] #define MYSQLI_LLU_SPEC "%" PRIu64 ^~~ /usr/local/src/php/php-7.4.0alpha2/Zend/zend_types.h:787:23: note: in definition of macro 'ZVAL_STR' zend_string *__s = (s); \ ^ /usr/local/src/php/php-7.4.0alpha2/Zend/zend_API.h:642:30: note: in expansion of macro 'RETVAL_STR' #define RETURN_STR(s) { RETVAL_STR(s); return; } ^~~~~~~~~~ /usr/local/src/php/php-7.4.0alpha2/ext/mysqli/mysqli_priv.h:100:3: note: in expansion of macro 'RETURN_STR' RETURN_STR(strpprintf(0, MYSQLI_LLU_SPEC, (__val))); \ ^~~~~~~~~~ /usr/local/src/php/php-7.4.0alpha2/ext/mysqli/mysqli_priv.h:100:28: note: in expansion of macro 'MYSQLI_LLU_SPEC' RETURN_STR(strpprintf(0, MYSQLI_LLU_SPEC, (__val))); \ ^~~~~~~~~~~~~~~ /usr/local/src/php/php-7.4.0alpha2/ext/mysqli/mysqli_api.c:1551:2: note: in expansion of macro 'MYSQLI_RETURN_LONG_INT' MYSQLI_RETURN_LONG_INT(rc) ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/inttypes.h:32, from /usr/local/src/php/php-7.4.0alpha2/main/php_stdint.h:72, from /usr/local/src/php/php-7.4.0alpha2/Zend/../TSRM/TSRM.h:23, from /usr/local/src/php/php-7.4.0alpha2/Zend/zend_portability.h:47, from /usr/local/src/php/php-7.4.0alpha2/Zend/zend_types.h:25, from /usr/local/src/php/php-7.4.0alpha2/Zend/zend.h:27, from /usr/local/src/php/php-7.4.0alpha2/main/php.h:33, from /usr/local/src/php/php-7.4.0alpha2/ext/mysqli/mysqli_api.c:27: /usr/include/machine/_inttypes.h:100:25: note: format string is defined here #define PRIu64 __PRI64"u" /* uint64_t */ In file included from /usr/local/src/php/php-7.4.0alpha2/Zend/zend.h:27, from /usr/local/src/php/php-7.4.0alpha2/main/php.h:33, from /usr/local/src/php/php-7.4.0alpha2/ext/mysqli/mysqli_api.c:27: /usr/local/src/php/php-7.4.0alpha2/ext/mysqli/mysqli_api.c: In function 'zif_mysqli_num_rows': /usr/local/src/php/php-7.4.0alpha2/ext/mysqli/php_mysqli_structs.h:185:25: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'my_ulonglong' {aka 'long long unsigned int'} [-Wformat=] #define MYSQLI_LLU_SPEC "%" PRIu64 ^~~ /usr/local/src/php/php-7.4.0alpha2/Zend/zend_types.h:787:23: note: in definition of macro 'ZVAL_STR' zend_string *__s = (s); \ ^ /usr/local/src/php/php-7.4.0alpha2/Zend/zend_API.h:642:30: note: in expansion of macro 'RETVAL_STR' #define RETURN_STR(s) { RETVAL_STR(s); return; } ^~~~~~~~~~ /usr/local/src/php/php-7.4.0alpha2/ext/mysqli/mysqli_priv.h:100:3: note: in expansion of macro 'RETURN_STR' RETURN_STR(strpprintf(0, MYSQLI_LLU_SPEC, (__val))); \ ^~~~~~~~~~ /usr/local/src/php/php-7.4.0alpha2/ext/mysqli/mysqli_priv.h:100:28: note: in expansion of macro 'MYSQLI_LLU_SPEC' RETURN_STR(strpprintf(0, MYSQLI_LLU_SPEC, (__val))); \ ^~~~~~~~~~~~~~~ /usr/local/src/php/php-7.4.0alpha2/ext/mysqli/mysqli_api.c:1690:2: note: in expansion of macro 'MYSQLI_RETURN_LONG_INT' MYSQLI_RETURN_LONG_INT(mysql_num_rows(result)); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/inttypes.h:32, from /usr/local/src/php/php-7.4.0alpha2/main/php_stdint.h:72, from /usr/local/src/php/php-7.4.0alpha2/Zend/../TSRM/TSRM.h:23, from /usr/local/src/php/php-7.4.0alpha2/Zend/zend_portability.h:47, from /usr/local/src/php/php-7.4.0alpha2/Zend/zend_types.h:25, from /usr/local/src/php/php-7.4.0alpha2/Zend/zend.h:27, from /usr/local/src/php/php-7.4.0alpha2/main/php.h:33, from /usr/local/src/php/php-7.4.0alpha2/ext/mysqli/mysqli_api.c:27: /usr/include/machine/_inttypes.h:100:25: note: format string is defined here #define PRIu64 __PRI64"u" /* uint64_t */ In file included from /usr/local/src/php/php-7.4.0alpha2/Zend/zend.h:27, from /usr/local/src/php/php-7.4.0alpha2/main/php.h:33, from /usr/local/src/php/php-7.4.0alpha2/ext/mysqli/mysqli_api.c:27: /usr/local/src/php/php-7.4.0alpha2/ext/mysqli/mysqli_api.c: In function 'zif_mysqli_stmt_affected_rows': /usr/local/src/php/php-7.4.0alpha2/ext/mysqli/php_mysqli_structs.h:185:25: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'my_ulonglong' {aka 'long long unsigned int'} [-Wformat=] #define MYSQLI_LLU_SPEC "%" PRIu64 ^~~ /usr/local/src/php/php-7.4.0alpha2/Zend/zend_types.h:787:23: note: in definition of macro 'ZVAL_STR' zend_string *__s = (s); \ ^ /usr/local/src/php/php-7.4.0alpha2/Zend/zend_API.h:642:30: note: in expansion of macro 'RETVAL_STR' #define RETURN_STR(s) { RETVAL_STR(s); return; } ^~~~~~~~~~ /usr/local/src/php/php-7.4.0alpha2/ext/mysqli/mysqli_priv.h:100:3: note: in expansion of macro 'RETURN_STR' RETURN_STR(strpprintf(0, MYSQLI_LLU_SPEC, (__val))); \ ^~~~~~~~~~ /usr/local/src/php/php-7.4.0alpha2/ext/mysqli/mysqli_priv.h:100:28: note: in expansion of macro 'MYSQLI_LLU_SPEC' RETURN_STR(strpprintf(0, MYSQLI_LLU_SPEC, (__val))); \ ^~~~~~~~~~~~~~~ /usr/local/src/php/php-7.4.0alpha2/ext/mysqli/mysqli_api.c:2048:2: note: in expansion of macro 'MYSQLI_RETURN_LONG_INT' MYSQLI_RETURN_LONG_INT(rc) ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/inttypes.h:32, from /usr/local/src/php/php-7.4.0alpha2/main/php_stdint.h:72, from /usr/local/src/php/php-7.4.0alpha2/Zend/../TSRM/TSRM.h:23, from /usr/local/src/php/php-7.4.0alpha2/Zend/zend_portability.h:47, from /usr/local/src/php/php-7.4.0alpha2/Zend/zend_types.h:25, from /usr/local/src/php/php-7.4.0alpha2/Zend/zend.h:27, from /usr/local/src/php/php-7.4.0alpha2/main/php.h:33, from /usr/local/src/php/php-7.4.0alpha2/ext/mysqli/mysqli_api.c:27: /usr/include/machine/_inttypes.h:100:25: note: format string is defined here #define PRIu64 __PRI64"u" /* uint64_t */ In file included from /usr/local/src/php/php-7.4.0alpha2/Zend/zend.h:27, from /usr/local/src/php/php-7.4.0alpha2/main/php.h:33, from /usr/local/src/php/php-7.4.0alpha2/ext/mysqli/mysqli_api.c:27: /usr/local/src/php/php-7.4.0alpha2/ext/mysqli/mysqli_api.c: In function 'zif_mysqli_stmt_insert_id': /usr/local/src/php/php-7.4.0alpha2/ext/mysqli/php_mysqli_structs.h:185:25: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'my_ulonglong' {aka 'long long unsigned int'} [-Wformat=] #define MYSQLI_LLU_SPEC "%" PRIu64 ^~~ /usr/local/src/php/php-7.4.0alpha2/Zend/zend_types.h:787:23: note: in definition of macro 'ZVAL_STR' zend_string *__s = (s); \ ^ /usr/local/src/php/php-7.4.0alpha2/Zend/zend_API.h:642:30: note: in expansion of macro 'RETVAL_STR' #define RETURN_STR(s) { RETVAL_STR(s); return; } ^~~~~~~~~~ /usr/local/src/php/php-7.4.0alpha2/ext/mysqli/mysqli_priv.h:100:3: note: in expansion of macro 'RETURN_STR' RETURN_STR(strpprintf(0, MYSQLI_LLU_SPEC, (__val))); \ ^~~~~~~~~~ /usr/local/src/php/php-7.4.0alpha2/ext/mysqli/mysqli_priv.h:100:28: note: in expansion of macro 'MYSQLI_LLU_SPEC' RETURN_STR(strpprintf(0, MYSQLI_LLU_SPEC, (__val))); \ ^~~~~~~~~~~~~~~ /usr/local/src/php/php-7.4.0alpha2/ext/mysqli/mysqli_api.c:2140:2: note: in expansion of macro 'MYSQLI_RETURN_LONG_INT' MYSQLI_RETURN_LONG_INT(rc) ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/inttypes.h:32, from /usr/local/src/php/php-7.4.0alpha2/main/php_stdint.h:72, from /usr/local/src/php/php-7.4.0alpha2/Zend/../TSRM/TSRM.h:23, from /usr/local/src/php/php-7.4.0alpha2/Zend/zend_portability.h:47, from /usr/local/src/php/php-7.4.0alpha2/Zend/zend_types.h:25, from /usr/local/src/php/php-7.4.0alpha2/Zend/zend.h:27, from /usr/local/src/php/php-7.4.0alpha2/main/php.h:33, from /usr/local/src/php/php-7.4.0alpha2/ext/mysqli/mysqli_api.c:27: /usr/include/machine/_inttypes.h:100:25: note: format string is defined here #define PRIu64 __PRI64"u" /* uint64_t */ In file included from /usr/local/src/php/php-7.4.0alpha2/Zend/zend.h:27, from /usr/local/src/php/php-7.4.0alpha2/main/php.h:33, from /usr/local/src/php/php-7.4.0alpha2/ext/mysqli/mysqli_api.c:27: /usr/local/src/php/php-7.4.0alpha2/ext/mysqli/mysqli_api.c: In function 'zif_mysqli_stmt_num_rows': /usr/local/src/php/php-7.4.0alpha2/ext/mysqli/php_mysqli_structs.h:185:25: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'my_ulonglong' {aka 'long long unsigned int'} [-Wformat=] #define MYSQLI_LLU_SPEC "%" PRIu64 ^~~ /usr/local/src/php/php-7.4.0alpha2/Zend/zend_types.h:787:23: note: in definition of macro 'ZVAL_STR' zend_string *__s = (s); \ ^ /usr/local/src/php/php-7.4.0alpha2/Zend/zend_API.h:642:30: note: in expansion of macro 'RETVAL_STR' #define RETURN_STR(s) { RETVAL_STR(s); return; } ^~~~~~~~~~ /usr/local/src/php/php-7.4.0alpha2/ext/mysqli/mysqli_priv.h:100:3: note: in expansion of macro 'RETURN_STR' RETURN_STR(strpprintf(0, MYSQLI_LLU_SPEC, (__val))); \ ^~~~~~~~~~ /usr/local/src/php/php-7.4.0alpha2/ext/mysqli/mysqli_priv.h:100:28: note: in expansion of macro 'MYSQLI_LLU_SPEC' RETURN_STR(strpprintf(0, MYSQLI_LLU_SPEC, (__val))); \ ^~~~~~~~~~~~~~~ /usr/local/src/php/php-7.4.0alpha2/ext/mysqli/mysqli_api.c:2195:2: note: in expansion of macro 'MYSQLI_RETURN_LONG_INT' MYSQLI_RETURN_LONG_INT(rc) ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/inttypes.h:32, from /usr/local/src/php/php-7.4.0alpha2/main/php_stdint.h:72, from /usr/local/src/php/php-7.4.0alpha2/Zend/../TSRM/TSRM.h:23, from /usr/local/src/php/php-7.4.0alpha2/Zend/zend_portability.h:47, from /usr/local/src/php/php-7.4.0alpha2/Zend/zend_types.h:25, from /usr/local/src/php/php-7.4.0alpha2/Zend/zend.h:27, from /usr/local/src/php/php-7.4.0alpha2/main/php.h:33, from /usr/local/src/php/php-7.4.0alpha2/ext/mysqli/mysqli_api.c:27: /usr/include/machine/_inttypes.h:100:25: note: format string is defined here #define PRIu64 __PRI64"u" /* uint64_t */ *** Error code 1 Stop. make: stopped in /usr/local/src/php/php-7.4.0alpha2 -- Edit bug report at https://bugs.php.net/bug.php?id=78237&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=78237&r=trysnapshot54 Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=78237&r=trysnapshot55 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=78237&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=78237&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=78237&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=78237&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=78237&r=needscript Try newer version: https://bugs.php.net/fix.php?id=78237&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=78237&r=support Expected behavior: https://bugs.php.net/fix.php?id=78237&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=78237&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=78237&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=78237&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=78237&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=78237&r=dst IIS Stability: https://bugs.php.net/fix.php?id=78237&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=78237&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=78237&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=78237&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=78237&r=mysqlcfg

« previous php.bugs (#221570) next »