Hey guys,
iam trying to upgrade Phalcon from 1.3.4 to 2.0.0. I compiled 1.3.4. with no issues and it just worked, but when i try to compile 2.0.0. i get strange error:
/home/cphalcon/build/64bits/phalcon.zep.c: In function ‘zephir_fetch_static_property_ce’:
/home/cphalcon/build/64bits/phalcon.zep.c:6559: warning: passing argument 2 of ‘zend_read_static_property’ discards qualifiers from pointer target type
/usr/include/php5/Zend/zend_API.h:321: note: expected ‘char *’ but argument is of type ‘const char *’
/home/cphalcon/build/64bits/phalcon.zep.c: In function ‘zephir_update_static_property_ex’:
/home/cphalcon/build/64bits/phalcon.zep.c:6669: warning: passing argument 2 of ‘zend_std_get_static_property’ discards qualifiers from pointer target type
/usr/include/php5/Zend/zend_object_handlers.h:147: note: expected ‘char *’ but argument is of type ‘const char *’
/home/cphalcon/build/64bits/phalcon.zep.c: At top level:
/home/cphalcon/build/64bits/phalcon.zep.c:126687: error: ‘ZEND_FE_END’ undeclared here (not in a function)
make: *** [phalcon.lo] Error 1
Git says its up-to-day, I've even cloned repository again, tried to compile 2.0.x, yet the same issue. Iam running ("slightly") older Linux version 2.6.32-5-amd64 (Debian 2.6.32-48squeeze6) ([email protected]) (gcc version 4.3.5 (Debian 4.3.5-4) ), PHP Version 5.3.3-7.
Could this be the reason, or?