[Php-qt-users] phpqt and gcc 4.3
Status: Beta
Brought to you by:
tm243
From: Mark C. <ma...@re...> - 2008-03-27 07:26:20
|
About the time my system upgraded gcc to 4.3.0 I'm having (more) trouble compiling phpqt and this below may be related to gcc4.3 In GCC 4.3, the C++ header dependencies have been cleaned up. The advantage of this is that programs will compile faster. The downside is that you actually need to directly #include everything you use (but you really should do this anyway, otherwise your program won't work with any compiler other than GCC). There's some more information about this at http://www.cyrius.com/journal/2007/05/10#gcc-4.3-include In file included from /var/abs/local/eth-os/kde/phpqt/src/phpqt-0.9/src/handlers.cpp:113: /var/abs/local/eth-os/kde/phpqt/src/phpqt-0.9/src/marshall_basetypes.h:72: error: explicit template specialization cannot have a storage class /var/abs/local/eth-os/kde/phpqt/src/phpqt-0.9/src/marshall_basetypes.h:85: error: explicit template specialization cannot have a storage class /var/abs/local/eth-os/kde/phpqt/src/phpqt-0.9/src/marshall_basetypes.h:95: error: explicit template specialization cannot have a storage class /var/abs/local/eth-os/kde/phpqt/src/phpqt-0.9/src/marshall_basetypes.h:154: error: explicit template specialization cannot have a storage class /var/abs/local/eth-os/kde/phpqt/src/phpqt-0.9/src/marshall_basetypes.h:244: error: explicit template specialization cannot have a storage class /var/abs/local/eth-os/kde/phpqt/src/phpqt-0.9/src/marshall_basetypes.h:261: error: explicit template specialization cannot have a storage class /var/abs/local/eth-os/kde/phpqt/src/phpqt-0.9/src/marshall_basetypes.h:267: error: explicit template specialization cannot have a storage class /var/abs/local/eth-os/kde/phpqt/src/phpqt-0.9/src/handlers.cpp: In function 'void init_codec()': /var/abs/local/eth-os/kde/phpqt/src/phpqt-0.9/src/handlers.cpp:219: warning: deprecated conversion from string constant to 'char*' make[2]: *** [src/CMakeFiles/php_qt.dir/handlers.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [src/CMakeFiles/php_qt.dir/all] Error 2 make: *** [all] Error 2 FWIW --markc |