Skip to content

Compile error. PHP 5.6.18 #96

@liuqian1990

Description

@liuqian1990

/home/webadm/wwwroot/xhprof_new/extension/xhprof.c: In function ‘hp_get_function_name’:
/home/webadm/wwwroot/xhprof_new/extension/xhprof.c:972: warning: assignment discards qualifiers from pointer target type
/home/webadm/wwwroot/xhprof_new/extension/xhprof.c:1042: warning: passing argument 1 of ‘hp_get_base_filename’ discards qualifiers from pointer target type
/home/webadm/wwwroot/xhprof_new/extension/xhprof.c:926: note: expected ‘char *’ but argument is of type ‘const char *’
/home/webadm/wwwroot/xhprof_new/extension/xhprof.c: In function ‘hp_execute_internal’:
/home/webadm/wwwroot/xhprof_new/extension/xhprof.c:1741: error: ‘zend_execute_data’ has no member named ‘Ts’
/home/webadm/wwwroot/xhprof_new/extension/xhprof.c: In function ‘hp_compile_file’:
/home/webadm/wwwroot/xhprof_new/extension/xhprof.c:1785: warning: passing argument 1 of ‘hp_get_base_filename’ discards qualifiers from pointer target type
/home/webadm/wwwroot/xhprof_new/extension/xhprof.c:926: note: expected ‘char *’ but argument is of type ‘const char *’
/home/webadm/wwwroot/xhprof_new/extension/xhprof.c: In function ‘hp_begin’:
/home/webadm/wwwroot/xhprof_new/extension/xhprof.c:1853: error: lvalue required as left operand of assignment
/home/webadm/wwwroot/xhprof_new/extension/xhprof.c:1856: warning: assignment from incompatible pointer type
/home/webadm/wwwroot/xhprof_new/extension/xhprof.c:1861: warning: assignment from incompatible pointer type
/home/webadm/wwwroot/xhprof_new/extension/xhprof.c: In function ‘hp_stop’:
/home/webadm/wwwroot/xhprof_new/extension/xhprof.c:1926: error: lvalue required as left operand of assignment
/home/webadm/wwwroot/xhprof_new/extension/xhprof.c:1927: warning: assignment from incompatible pointer type

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions