Skip to content

Instantly share code, notes, and snippets.

@CHH
Created November 16, 2012 10:40
Show Gist options
  • Save CHH/4086320 to your computer and use it in GitHub Desktop.
Save CHH/4086320 to your computer and use it in GitHub Desktop.
XDebug compile error on 5.5.0alpha1
/var/tmp/php-build/source/xdebug-master/xdebug.c:567:30: warning: incompatible pointer types assigning to 'void (*)(zend_execute_data *, int)' from 'void (*)(zend_execute_data *, struct _zend_fcall_info *, int)' [-Wincompatible-pointer-types]
xdebug_old_execute_internal = zend_execute_internal;
^ ~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/xdebug-master/xdebug.c:568:24: warning: incompatible pointer types assigning to 'void (*)(zend_execute_data *, struct _zend_fcall_info *, int)' from 'void (zend_execute_data *, int)' [-Wincompatible-pointer-types]
zend_execute_internal = xdebug_execute_internal;
^ ~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/xdebug-master/xdebug.c:704:24: warning: incompatible pointer types assigning to 'void (*)(zend_execute_data *, struct _zend_fcall_info *, int)' from 'void (*)(zend_execute_data *, int)' [-Wincompatible-pointer-types]
zend_execute_internal = xdebug_old_execute_internal;
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/php-build/source/xdebug-master/xdebug.c:1487:69: error: too few arguments to function call, expected 3, have 2
execute_internal(current_execute_data, return_value_used TSRMLS_CC);
~~~~~~~~~~~~~~~~ ^
/Users/chh/.phpenv/versions/5.5.0alpha1/include/php/Zend/zend_execute.h:62:1: note: 'execute_internal' declared here
ZEND_API void execute_internal(zend_execute_data *execute_data_ptr, struct _zend_fcall_info *fci, int return_value_used TSRMLS_DC);
^
/Users/chh/.phpenv/versions/5.5.0alpha1/include/php/main/../main/php_config.h:6:19: note: expanded from macro 'ZEND_API'
# define ZEND_API __attribute__ ((visibility("default")))
^
3 warnings and 1 error generated.
make: *** [xdebug.lo] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment