zenovich / runkit

Runkit (official PECL PHP Runkit extension)
http://pecl.php.net/runkit
Other
610 stars 136 forks source link

make failed in PHP 5.6.2 #81

Closed Smurfs-xxl closed 9 years ago

Smurfs-xxl commented 9 years ago

running: make /bin/sh /tmp/pear/temp/pear-build-root75ipjA/runkit-1.0.4/libtool --mode=compile cc -Wdeclaration-after-statement -Werror -Wall -I. -I/tmp/pear/temp/runkit -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-root75ipjA/runkit-1.0.4/include -I/tmp/pear/temp/pear-build-root75ipjA/runkit-1.0.4/main -I/tmp/pear/temp/runkit -I/usr/local/php/include/php -I/usr/local/php/include/php/main -I/usr/local/php/include/php/TSRM -I/usr/local/php/include/php/Zend -I/usr/local/php/include/php/ext -I/usr/local/php/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/runkit/runkit.c -o runkit.lo mkdir .libs cc -Wdeclaration-after-statement -Werror -Wall -I. -I/tmp/pear/temp/runkit -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-root75ipjA/runkit-1.0.4/include -I/tmp/pear/temp/pear-build-root75ipjA/runkit-1.0.4/main -I/tmp/pear/temp/runkit -I/usr/local/php/include/php -I/usr/local/php/include/php/main -I/usr/local/php/include/php/TSRM -I/usr/local/php/include/php/Zend -I/usr/local/php/include/php/ext -I/usr/local/php/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/runkit/runkit.c -fPIC -DPIC -o .libs/runkit.o cc1: warnings being treated as errors In file included from /tmp/pear/temp/runkit/runkit.c:22: /tmp/pear/temp/runkit/php_runkit.h:29: 错误:‘#pragma GCC diagnostic’后需要 error、warning 或 ignored In file included from /tmp/pear/temp/runkit/runkit.c:22: /tmp/pear/temp/runkit/php_runkit.h:32: 错误:‘#pragma GCC diagnostic’后需要 error、warning 或 ignored make: *\ [runkit.lo] 错误 1 ERROR: `make' failed

Smurfs-xxl commented 9 years ago

fixed by https://github.com/davidsteinsland/runkit/tree/db0c68c123b2993b40ae0f527c274ea370cc48d4