You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ make
/bin/sh /cygdrive/c/wamp64/www/test-website/xhprof/extension/libtool --mode=compile cc -I. -I/cygdrive/c/wamp64/www/test-website/xhprof/extension -DPHP_ATOM_INC -I/cygdrive/c/wamp64/www/test-website/xhprof/extension/include -I/cygdrive/c/wamp64/www/test-website/xhprof/extension/main -I/cygdrive/c/wamp64/www/test-website/xhprof/extension -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 /cygdrive/c/wamp64/www/test-website/xhprof/extension/xhprof.c -o xhprof.lo
libtool: compile: cc -I. -I/cygdrive/c/wamp64/www/test-website/xhprof/extension -DPHP_ATOM_INC -I/cygdrive/c/wamp64/www/test-website/xhprof/extension/include -I/cygdrive/c/wamp64/www/test-website/xhprof/extension/main -I/cygdrive/c/wamp64/www/test-website/xhprof/extension -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 /cygdrive/c/wamp64/www/test-website/xhprof/extension/xhprof.c -DDLL_EXPORT -DPIC -o .libs/xhprof.o
/cygdrive/c/wamp64/www/test-website/xhprof/extension/xhprof.c:210:3: error: unknown type name ‘cpu_set_t’
cpu_set_t prev_mask;
^
/cygdrive/c/wamp64/www/test-website/xhprof/extension/xhprof.c:317:26: error: unknown type name ‘cpu_set_t’
int restore_cpu_affinity(cpu_set_t * prev_mask);
^
/cygdrive/c/wamp64/www/test-website/xhprof/extension/xhprof.c: In function ‘zm_startup_xhprof’:
/cygdrive/c/wamp64/www/test-website/xhprof/extension/xhprof.c:67:40: warning: implicit declaration of function ‘sched_getaffinity’ [-Wimplicit-function-declaration]
# define GET_AFFINITY(pid, size, mask) sched_getaffinity(0, size, mask)
^
/cygdrive/c/wamp64/www/test-website/xhprof/extension/xhprof.c:456:7: note: in expansion of macro ‘GET_AFFINITY’
if (GET_AFFINITY(0, sizeof(cpu_set_t), &hp_globals.prev_mask) < 0) {
^
/cygdrive/c/wamp64/www/test-website/xhprof/extension/xhprof.c:456:30: error: ‘cpu_set_t’ undeclared (first use in this function)
if (GET_AFFINITY(0, sizeof(cpu_set_t), &hp_globals.prev_mask) < 0) {
^
/cygdrive/c/wamp64/www/test-website/xhprof/extension/xhprof.c:67:61: note: in definition of macro ‘GET_AFFINITY’
# define GET_AFFINITY(pid, size, mask) sched_getaffinity(0, size, mask)
^
/cygdrive/c/wamp64/www/test-website/xhprof/extension/xhprof.c:456:30: note: each undeclared identifier is reported only once for each function it appears in
if (GET_AFFINITY(0, sizeof(cpu_set_t), &hp_globals.prev_mask) < 0) {
^
/cygdrive/c/wamp64/www/test-website/xhprof/extension/xhprof.c:67:61: note: in definition of macro ‘GET_AFFINITY’
# define GET_AFFINITY(pid, size, mask) sched_getaffinity(0, size, mask)
^
/cygdrive/c/wamp64/www/test-website/xhprof/extension/xhprof.c: In function ‘hp_init_profiler_state’:
/cygdrive/c/wamp64/www/test-website/xhprof/extension/xhprof.c:667:5: warning: implicit declaration of function ‘FREE_ZVAL’[-Wimplicit-function-declaration]
FREE_ZVAL(hp_globals.stats_count);
^
/cygdrive/c/wamp64/www/test-website/xhprof/extension/xhprof.c:669:3: warning: implicit declaration of function ‘MAKE_STD_ZVAL’ [-Wimplicit-function-declaration]
MAKE_STD_ZVAL(hp_globals.stats_count);
^
/cygdrive/c/wamp64/www/test-website/xhprof/extension/xhprof.c:677:5: warning: implicit declaration of function ‘restore_cpu_affinity’ [-Wimplicit-function-declaration]
restore_cpu_affinity(&hp_globals.prev_mask);
^
/cygdrive/c/wamp64/www/test-website/xhprof/extension/xhprof.c: In function ‘hp_get_function_name’:
/cygdrive/c/wamp64/www/test-website/xhprof/extension/xhprof.c:936:21: error: ‘zend_execute_data {aka struct _zend_execute_data}’ has no member named ‘function_state’
curr_func = data->function_state.function;
^
/cygdrive/c/wamp64/www/test-website/xhprof/extension/xhprof.c:939:10: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types]
func = curr_func->common.function_name;
^
/cygdrive/c/wamp64/www/test-website/xhprof/extension/xhprof.c:950:13: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types]
cls = curr_func->common.scope->name;
^
/cygdrive/c/wamp64/www/test-website/xhprof/extension/xhprof.c:951:22: error: ‘zend_execute_data {aka struct _zend_execute_data}’ has no member named ‘object’
} else if (data->object) {
^
In file included from /usr/include/php/Zend/zend.h:31:0,
from /usr/include/php/main/php.h:35,
from /cygdrive/c/wamp64/www/test-website/xhprof/extension/xhprof.c:27:
/cygdrive/c/wamp64/www/test-website/xhprof/extension/xhprof.c:952:28: error: ‘zend_execute_data {aka struct _zend_execute_data}’ has no member named ‘object’
cls = Z_OBJCE(*data->object)->name;
^
/usr/include/php/Zend/zend_types.h:530:26: note: in definition of macro ‘Z_OBJ’
#define Z_OBJ(zval) (zval).value.obj
^
/cygdrive/c/wamp64/www/test-website/xhprof/extension/xhprof.c:952:15: note: in expansion of macro ‘Z_OBJCE’
cls = Z_OBJCE(*data->object)->name;
^
/cygdrive/c/wamp64/www/test-website/xhprof/extension/xhprof.c:1013:41: warning: passing argument 1 of ‘hp_get_base_filename’ from incompatible pointer type [-Wincompatible-pointer-types]
filename = hp_get_base_filename((curr_func->op_array).filename);
^
/cygdrive/c/wamp64/www/test-website/xhprof/extension/xhprof.c:897:20: note: expected ‘const char *’ but argument is of type ‘zend_string * {aka struct _zend_string *}’
static const char *hp_get_base_filename(const char *filename) {
^
/cygdrive/c/wamp64/www/test-website/xhprof/extension/xhprof.c: In function ‘hp_inc_count’:
/cygdrive/c/wamp64/www/test-website/xhprof/extension/xhprof.c:1093:26: warning: passing argument 2 of ‘zend_hash_find’ from incompatible pointer type [-Wincompatible-pointer-types]
if (zend_hash_find(ht, name, strlen(name) + 1, &data) == SUCCESS) {
^
In file included from /usr/include/php/Zend/zend.h:36:0,
from /usr/include/php/main/php.h:35,
from /cygdrive/c/wamp64/www/test-website/xhprof/extension/xhprof.c:27:
/usr/include/php/Zend/zend_hash.h:154:30: note: expected ‘zend_string * {aka struct _zend_string *}’ but argument is of type ‘char *’
ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
^
/cygdrive/c/wamp64/www/test-website/xhprof/extension/xhprof.c:1093:7: error: too many arguments to function ‘zend_hash_find’
if (zend_hash_find(ht, name, strlen(name) + 1, &data) == SUCCESS) {
^
In file included from /usr/include/php/Zend/zend.h:36:0,
from /usr/include/php/main/php.h:35,
from /cygdrive/c/wamp64/www/test-website/xhprof/extension/xhprof.c:27:
/usr/include/php/Zend/zend_hash.h:154:30: note: declared here
ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
^
In file included from /usr/include/php/Zend/zend.h:31:0,
from /usr/include/php/main/php.h:35,
from /cygdrive/c/wamp64/www/test-website/xhprof/extension/xhprof.c:27:
/cygdrive/c/wamp64/www/test-website/xhprof/extension/xhprof.c:1094:30: warning: implicit declaration of function ‘Z_LVAL_PP’ [-Wimplicit-function-declaration]
ZVAL_LONG(*(zval**)data, Z_LVAL_PP((zval**)data) + count);
^
/usr/include/php/Zend/zend_types.h:610:19: note: in definition of macro ‘ZVAL_LONG’
Z_LVAL_P(__z) = l; \
^
/cygdrive/c/wamp64/www/test-website/xhprof/extension/xhprof.c: In function ‘hp_hash_lookup’:
/cygdrive/c/wamp64/www/test-website/xhprof/extension/xhprof.c:1117:26: warning: passing argument 2 of ‘zend_hash_find’ from incompatible pointer type [-Wincompatible-pointer-types]
if (zend_hash_find(ht, symbol, strlen(symbol) + 1, &data) == SUCCESS) {
^
In file included from /usr/include/php/Zend/zend.h:36:0,
from /usr/include/php/main/php.h:35,
from /cygdrive/c/wamp64/www/test-website/xhprof/extension/xhprof.c:27:
/usr/include/php/Zend/zend_hash.h:154:30: note: expected ‘zend_string * {aka struct _zend_string *}’ but argument is of type ‘char *’
ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
^
/cygdrive/c/wamp64/www/test-website/xhprof/extension/xhprof.c:1117:7: error: too many arguments to function ‘zend_hash_find’
if (zend_hash_find(ht, symbol, strlen(symbol) + 1, &data) == SUCCESS) {
^
In file included from /usr/include/php/Zend/zend.h:36:0,
from /usr/include/php/main/php.h:35,
from /cygdrive/c/wamp64/www/test-website/xhprof/extension/xhprof.c:27:
/usr/include/php/Zend/zend_hash.h:154:30: note: declared here
ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
^
/cygdrive/c/wamp64/www/test-website/xhprof/extension/xhprof.c: In function ‘hp_sample_stack’:
/cygdrive/c/wamp64/www/test-website/xhprof/extension/xhprof.c:1181:21: error: macro "add_assoc_string" passed 4 arguments, but takes just 3
1);
^
/cygdrive/c/wamp64/www/test-website/xhprof/extension/xhprof.c:1178:3: error: ‘add_assoc_string’ undeclared (first use in this function)
add_assoc_string(hp_globals.stats_count,
^
/cygdrive/c/wamp64/www/test-website/xhprof/extension/xhprof.c: In function ‘bind_to_cpu’:
/cygdrive/c/wamp64/www/test-website/xhprof/extension/xhprof.c:1251:3: error: unknown type name ‘cpu_set_t’
cpu_set_t new_mask;
^
/cygdrive/c/wamp64/www/test-website/xhprof/extension/xhprof.c:1253:3: warning: implicit declaration of function ‘CPU_ZERO’[-Wimplicit-function-declaration]
CPU_ZERO(&new_mask);
^
/cygdrive/c/wamp64/www/test-website/xhprof/extension/xhprof.c:1254:3: warning: implicit declaration of function ‘CPU_SET’[-Wimplicit-function-declaration]
CPU_SET(cpu_id, &new_mask);
^
/cygdrive/c/wamp64/www/test-website/xhprof/extension/xhprof.c:66:40: warning: implicit declaration of function ‘sched_setaffinity’ [-Wimplicit-function-declaration]
# define SET_AFFINITY(pid, size, mask) sched_setaffinity(0, size, mask)
^
/cygdrive/c/wamp64/www/test-website/xhprof/extension/xhprof.c:1256:7: note: in expansion of macro ‘SET_AFFINITY’
if (SET_AFFINITY(0, sizeof(cpu_set_t), &new_mask) < 0) {
^
/cygdrive/c/wamp64/www/test-website/xhprof/extension/xhprof.c:1256:30: error: ‘cpu_set_t’ undeclared (first use in this function)
if (SET_AFFINITY(0, sizeof(cpu_set_t), &new_mask) < 0) {
^
/cygdrive/c/wamp64/www/test-website/xhprof/extension/xhprof.c:66:61: note: in definition of macro ‘SET_AFFINITY’
# define SET_AFFINITY(pid, size, mask) sched_setaffinity(0, size, mask)
^
/cygdrive/c/wamp64/www/test-website/xhprof/extension/xhprof.c: At top level:
/cygdrive/c/wamp64/www/test-website/xhprof/extension/xhprof.c:1382:26: error: unknown type name ‘cpu_set_t’
int restore_cpu_affinity(cpu_set_t * prev_mask) {
^
/cygdrive/c/wamp64/www/test-website/xhprof/extension/xhprof.c: In function ‘hp_execute_ex’:
/cygdrive/c/wamp64/www/test-website/xhprof/extension/xhprof.c:1656:36: error: ‘zend_execute_data {aka struct _zend_execute_data}’ has no member named ‘op_array’
zend_op_array *ops = execute_data->op_array;
^
/cygdrive/c/wamp64/www/test-website/xhprof/extension/xhprof.c: In function ‘hp_execute_internal’:
/cygdrive/c/wamp64/www/test-website/xhprof/extension/xhprof.c:1709:43: error: ‘zend_execute_data {aka struct _zend_execute_data}’ has no member named ‘op_array’
func = hp_get_function_name(current_data->op_array TSRMLS_CC);
^
/cygdrive/c/wamp64/www/test-website/xhprof/extension/xhprof.c:1722:47: error: ‘zend_execute_data {aka struct _zend_execute_data}’ has no member named ‘function_state’
((zend_internal_function *) execute_data->function_state.function)->handler(
^
/cygdrive/c/wamp64/www/test-website/xhprof/extension/xhprof.c:1724:13: error: ‘struct _zend_fcall_info’ has no member named ‘retval_ptr_ptr’
*fci->retval_ptr_ptr,
^
/cygdrive/c/wamp64/www/test-website/xhprof/extension/xhprof.c:1725:12: error: ‘struct _zend_fcall_info’ has no member named ‘retval_ptr_ptr’
fci->retval_ptr_ptr,
^
/cygdrive/c/wamp64/www/test-website/xhprof/extension/xhprof.c:1726:12: error: ‘struct _zend_fcall_info’ has no member named ‘object_ptr’
fci->object_ptr,
^
/cygdrive/c/wamp64/www/test-website/xhprof/extension/xhprof.c:1729:34: warning: implicit declaration of function ‘EX_TMP_VAR’ [-Wimplicit-function-declaration]
zval **return_value_ptr = &EX_TMP_VAR(execute_data, execute_data->opline->result.var)->var.ptr;
^
/cygdrive/c/wamp64/www/test-website/xhprof/extension/xhprof.c:1729:92: error: invalid type argument of ‘->’ (have ‘int’)
zval **return_value_ptr = &EX_TMP_VAR(execute_data, execute_data->opline->result.var)->var.ptr;
^
/cygdrive/c/wamp64/www/test-website/xhprof/extension/xhprof.c:1730:47: error: ‘zend_execute_data {aka struct _zend_execute_data}’ has no member named ‘function_state’
((zend_internal_function *) execute_data->function_state.function)->handler(
^
/cygdrive/c/wamp64/www/test-website/xhprof/extension/xhprof.c:1733:22: error: ‘zend_execute_data {aka struct _zend_execute_data}’ has no member named ‘function_state’
(execute_data->function_state.function->common.fn_flags & ZEND_ACC_RETURN_REFERENCE)
^
/cygdrive/c/wamp64/www/test-website/xhprof/extension/xhprof.c:1736:21: error: ‘zend_execute_data {aka struct _zend_execute_data}’ has no member named ‘object’
execute_data->object,
^
/cygdrive/c/wamp64/www/test-website/xhprof/extension/xhprof.c: In function ‘hp_begin’:
/cygdrive/c/wamp64/www/test-website/xhprof/extension/xhprof.c:1864:28: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types]
_zend_execute_internal = zend_execute_internal;
^
/cygdrive/c/wamp64/www/test-website/xhprof/extension/xhprof.c:1869:29: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types]
zend_execute_internal = hp_execute_internal;
^
/cygdrive/c/wamp64/www/test-website/xhprof/extension/xhprof.c: In function ‘hp_stop’:
/cygdrive/c/wamp64/www/test-website/xhprof/extension/xhprof.c:1937:25: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types]
zend_execute_internal = _zend_execute_internal;
^
/cygdrive/c/wamp64/www/test-website/xhprof/extension/xhprof.c: In function ‘hp_zval_at_key’:
/cygdrive/c/wamp64/www/test-website/xhprof/extension/xhprof.c:1964:13: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’
if (values->type == IS_ARRAY) {
^
/cygdrive/c/wamp64/www/test-website/xhprof/extension/xhprof.c:1970:28: warning: passing argument 2 of ‘zend_hash_find’ from incompatible pointer type [-Wincompatible-pointer-types]
if (zend_hash_find(ht, key, len, (void**)&value) == SUCCESS) {
^
In file included from /usr/include/php/Zend/zend.h:36:0,
from /usr/include/php/main/php.h:35,
from /cygdrive/c/wamp64/www/test-website/xhprof/extension/xhprof.c:27:
/usr/include/php/Zend/zend_hash.h:154:30: note: expected ‘zend_string * {aka struct _zend_string *}’ but argument is of type ‘char *’
ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
^
/cygdrive/c/wamp64/www/test-website/xhprof/extension/xhprof.c:1970:9: error: too many arguments to function ‘zend_hash_find’
if (zend_hash_find(ht, key, len, (void**)&value) == SUCCESS) {
^
In file included from /usr/include/php/Zend/zend.h:36:0,
from /usr/include/php/main/php.h:35,
from /cygdrive/c/wamp64/www/test-website/xhprof/extension/xhprof.c:27:
/usr/include/php/Zend/zend_hash.h:154:30: note: declared here
ZEND_API zval* ZEND_FASTCALL zend_hash_find(const HashTable *ht, zend_string *key);
^
/cygdrive/c/wamp64/www/test-website/xhprof/extension/xhprof.c: In function ‘hp_strings_in_zval’:
/cygdrive/c/wamp64/www/test-website/xhprof/extension/xhprof.c:1994:13: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’
if (values->type == IS_ARRAY) {
^
/cygdrive/c/wamp64/www/test-website/xhprof/extension/xhprof.c:2014:47: warning: passing argument 2 of ‘zend_hash_get_current_key_ex’ from incompatible pointer type [-Wincompatible-pointer-types]
type = zend_hash_get_current_key_ex(ht, &str, &len, &idx, 0, NULL);
^
In file included from /usr/include/php/Zend/zend.h:36:0,
from /usr/include/php/main/php.h:35,
from /cygdrive/c/wamp64/www/test-website/xhprof/extension/xhprof.c:27:
/usr/include/php/Zend/zend_hash.h:168:30: note: expected ‘zend_string ** {aka struct _zend_string **}’ but argument is of type ‘char **’
ZEND_API int ZEND_FASTCALL zend_hash_get_current_key_ex(const HashTable *ht, zend_string **str_index, zend_ulong *num_index, HashPosit
^
/cygdrive/c/wamp64/www/test-website/xhprof/extension/xhprof.c:2014:53: warning: passing argument 3 of ‘zend_hash_get_current_key_ex’ from incompatible pointer type [-Wincompatible-pointer-types]
type = zend_hash_get_current_key_ex(ht, &str, &len, &idx, 0, NULL);
^
In file included from /usr/include/php/Zend/zend.h:36:0,
from /usr/include/php/main/php.h:35,
from /cygdrive/c/wamp64/www/test-website/xhprof/extension/xhprof.c:27:
/usr/include/php/Zend/zend_hash.h:168:30: note: expected ‘zend_ulong * {aka long unsigned int *}’ but argument is of type ‘uint * {aka unsigned int *}’
ZEND_API int ZEND_FASTCALL zend_hash_get_current_key_ex(const HashTable *ht, zend_string **str_index, zend_ulong *num_index, HashPosit
^
/cygdrive/c/wamp64/www/test-website/xhprof/extension/xhprof.c:2014:59: warning: passing argument 4 of ‘zend_hash_get_current_key_ex’ from incompatible pointer type [-Wincompatible-pointer-types]
type = zend_hash_get_current_key_ex(ht, &str, &len, &idx, 0, NULL);
^
In file included from /usr/include/php/Zend/zend.h:36:0,
from /usr/include/php/main/php.h:35,
from /cygdrive/c/wamp64/www/test-website/xhprof/extension/xhprof.c:27:
/usr/include/php/Zend/zend_hash.h:168:30: note: expected ‘HashPosition * {aka unsigned int *}’ but argument is of type ‘ulong * {aka long unsigned int *}’
ZEND_API int ZEND_FASTCALL zend_hash_get_current_key_ex(const HashTable *ht, zend_string **str_index, zend_ulong *num_index, HashPosit
^
/cygdrive/c/wamp64/www/test-website/xhprof/extension/xhprof.c:2014:14: error: too many arguments to function ‘zend_hash_get_current_key_ex’
type = zend_hash_get_current_key_ex(ht, &str, &len, &idx, 0, NULL);
^
In file included from /usr/include/php/Zend/zend.h:36:0,
from /usr/include/php/main/php.h:35,
from /cygdrive/c/wamp64/www/test-website/xhprof/extension/xhprof.c:27:
/usr/include/php/Zend/zend_hash.h:168:30: note: declared here
ZEND_API int ZEND_FASTCALL zend_hash_get_current_key_ex(const HashTable *ht, zend_string **str_index, zend_ulong *num_index, HashPosit
^
/cygdrive/c/wamp64/www/test-website/xhprof/extension/xhprof.c:2017:58: error: macro "zend_hash_get_current_data" passed 2 arguments, but takes just 1
if ((zend_hash_get_current_data(ht, (void**)&data) == SUCCESS) &&
^
/cygdrive/c/wamp64/www/test-website/xhprof/extension/xhprof.c:2017:14: error: ‘zend_hash_get_current_data’ undeclared (first use in this function)
if ((zend_hash_get_current_data(ht, (void**)&data) == SUCCESS) &&
^
/cygdrive/c/wamp64/www/test-website/xhprof/extension/xhprof.c:2018:13: warning: implicit declaration of function ‘Z_TYPE_PP’ [-Wimplicit-function-declaration]
Z_TYPE_PP(data) == IS_STRING &&
^
/cygdrive/c/wamp64/www/test-website/xhprof/extension/xhprof.c:2019:20: warning: implicit declaration of function ‘Z_STRVAL_PP’ [-Wimplicit-function-declaration]
strcmp(Z_STRVAL_PP(data), ROOT_SYMBOL)) { /* do not ignore "main" */
^
/cygdrive/c/wamp64/www/test-website/xhprof/extension/xhprof.c:2019:20: warning: passing argument 1 of ‘strcmp’ makes pointer from integer without a cast [-Wint-conversion]
In file included from /usr/include/stdlib.h:11:0,
from /usr/include/php/main/php_config.h:2504,
from /usr/include/php/Zend/zend_config.h:1,
from /usr/include/php/Zend/zend_portability.h:48,
from /usr/include/php/Zend/zend_types.h:27,
from /usr/include/php/Zend/zend.h:31,
from /usr/include/php/main/php.h:35,
from /cygdrive/c/wamp64/www/test-website/xhprof/extension/xhprof.c:27:
/usr/include/string.h:32:6: note: expected ‘const char *’ but argument is of type ‘int’
int _EXFUN(strcmp,(const char *, const char *));
^
In file included from /usr/include/php/Zend/zend.h:33:0,
from /usr/include/php/main/php.h:35,
from /cygdrive/c/wamp64/www/test-website/xhprof/extension/xhprof.c:27:
/usr/include/php/Zend/zend_alloc.h:172:35: warning: passing argument 1 of ‘_estrdup’ makes pointer from integer without a cast [-Wint-conversion]
#define estrdup(s) _estrdup((s) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
^
/cygdrive/c/wamp64/www/test-website/xhprof/extension/xhprof.c:2020:24: note: in expansion of macro ‘estrdup’
result[ix] = estrdup(Z_STRVAL_PP(data));
^
In file included from /usr/include/php/Zend/zend.h:33:0,
from /usr/include/php/main/php.h:35,
from /cygdrive/c/wamp64/www/test-website/xhprof/extension/xhprof.c:27:
/usr/include/php/Zend/zend_alloc.h:84:31: note: expected ‘const char *’ but argument is of type ‘int’
ZEND_API char* ZEND_FASTCALL _estrdup(const char *s ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC) ZEND_ATTRIBUTE_MALLOC;
^
/cygdrive/c/wamp64/www/test-website/xhprof/extension/xhprof.c:2025:19: error: ‘zval {aka struct _zval_struct}’ has no member named ‘type’
} else if(values->type == IS_STRING) {
^
make: *** [Makefile:192: xhprof.lo] Error 1
$ uname -a
CYGWIN_NT-10.0 <hostname> 2.6.1(0.305/5/3) 2016-12-16 11:55 x86_64 Cygwin
$ php --version
PHP 7.0.14 (cli) (built: Dec 10 2016 22:44:41) ( NTS )
Copyright (c) 1997-2016 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2016 Zend Technologies
with Zend OPcache v7.0.14, Copyright (c) 1999-2016, by Zend Technologies
with Xdebug v2.5.0, Copyright (c) 2002-2016, by Derick Rethans
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: