-
Notifications
You must be signed in to change notification settings - Fork 185
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compile error. PHP 5.6.18 #96
Comments
I guess something similar will happen for PHP 7 as well. Have you tried compiling using original Facebook repo (from where this one is forked): https://github.com/phacility/xhprof ? I'm not sure, but seems that only UI part (not PHP extension code) is different between these 2 repos. |
Use tideways extension which is an updated xhprof and check my pull request |
Not sure what exactly is changed. For example since this project was originally forked from Facebook version the PHP extension was changed in a ways, that doesn't map to changes made in original Facebook XHProf project. I bet both tideways, uprofiler and other xhprof forks also have their unique changes, that are then used in their bundled UI. |
exactly, it's basically a fork with more features, but seems to keep the base ones. |
/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
The text was updated successfully, but these errors were encountered: