https://github.com/php/php-src/blob/PHP-7.0/Zend/zend_builtin_functions.c#L2322
In the above link i used the backtrace function in my extension where I am getting the following error message because of the line EX(prev_execute_data)
error: 'execute_data' undeclared (first use in this function)
#define EX(element) ((execute_data)->element) ^644:8: note: in expansion of macro 'EX' ptr = EX(prev_execute_data); ^
note: each undeclared identifier is reported only once for each function it appears in #define EX(element)
((execute_data)->element) ^644:8: note: in expansion of macro 'EX' ptr = EX(prev_execute_data); ^
658:7: warning: assignment makes pointer from integer without a cast [enabled by default] ptr = zend_generator_check_placeholder_frame(ptr); ^
make: *** [zpa.lo] Error 1
Can any one help me in finding the solution for this ?