Version: (using KDE 4.2.96) Compiler: gcc 4.4.0 CFLAGS="-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4" OS: Linux Installed from: Compiled From Sources When building kdebindings 4.2.95 and 4.2.96 with php 5.3.0, it fails when building php bindings: [ 91%] Building CXX object php/phpqt/src/CMakeFiles/php_qt.dir/zphp/functions.cpp.o In file included from /usr/include/php/main/php.h:34, from /home/fwang/rpm/BUILD/kdebindings-4.2.96/php/phpqt/src/phpqt_internals.h:27, from /home/fwang/rpm/BUILD/kdebindings-4.2.96/php/phpqt/src/zphp/functions.cpp:30: /usr/include/php/Zend/zend.h:82:5: warning: "HAVE_MACH_O_DYLD_H" is not defined In file included from /usr/include/php/Zend/zend.h:768, from /usr/include/php/main/php.h:34, from /home/fwang/rpm/BUILD/kdebindings-4.2.96/php/phpqt/src/phpqt_internals.h:27, from /home/fwang/rpm/BUILD/kdebindings-4.2.96/php/phpqt/src/zphp/functions.cpp:30: /usr/include/php/Zend/zend_operators.h:66:5: warning: "ZEND_DVAL_TO_LVAL_CAST_OK" is not defined In file included from /home/fwang/rpm/BUILD/kdebindings-4.2.96/php/phpqt/src/phpqt_internals.h:27, from /home/fwang/rpm/BUILD/kdebindings-4.2.96/php/phpqt/src/zphp/functions.cpp:30: /usr/include/php/main/php.h:94:5: warning: "HAVE_UNIX_H" is not defined In file included from /usr/include/php/TSRM/tsrm_virtual_cwd.h:26, from /usr/include/php/main/php.h:407, from /home/fwang/rpm/BUILD/kdebindings-4.2.96/php/phpqt/src/phpqt_internals.h:27, from /home/fwang/rpm/BUILD/kdebindings-4.2.96/php/phpqt/src/zphp/functions.cpp:30: /usr/include/php/TSRM/tsrm_config_common.h:5:6: warning: "WINNT" is not defined /usr/include/php/TSRM/tsrm_config_common.h:5:12: warning: "WIN32" is not defined In file included from /home/fwang/rpm/BUILD/kdebindings-4.2.96/php/phpqt/src/zphp/functions.cpp:34: /home/fwang/rpm/BUILD/kdebindings-4.2.96/php/phpqt/src/php_qt.h:62: warning: type qualifiers ignored on function return type /home/fwang/rpm/BUILD/kdebindings-4.2.96/php/phpqt/src/php_qt.h:64: warning: type qualifiers ignored on function return type /home/fwang/rpm/BUILD/kdebindings-4.2.96/php/phpqt/src/php_qt.h:76: warning: type qualifiers ignored on function return type In file included from /home/fwang/rpm/BUILD/kdebindings-4.2.96/php/phpqt/src/zphp/functions.cpp:35: /home/fwang/rpm/BUILD/kdebindings-4.2.96/php/phpqt/src/zphp/z_extension.h:48: error: conflicting specifiers in declaration of 'phpqt_cast_arginfo'
Been hit by this too in fedora, here's what we've got so far, http://cvs.fedoraproject.org/viewvc/devel/kdebindings/kdebindings-4.2.96-php-5.3.patch
i already commited the fix in 4.3 branch and trunk yesterday.
woo