Ребята, хардкод. Не собирается расширение, руками в том числе через:
phpize - проходит отлично
./configure -enable-vkext
make - нет
/home/vidog/kphp/repo/kphp-kdb/vkext/vkext.c: In function 'sigabrt_debug_handler':
/home/vidog/kphp/repo/kphp-kdb/vkext/vkext.c:489:9: error: ignoring return value of 'write', declared with attribute warn_unused_result [-Werror=unused-result]
/home/vidog/kphp/repo/kphp-kdb/vkext/vkext.c: In function 'sigsegv_debug_handler':
/home/vidog/kphp/repo/kphp-kdb/vkext/vkext.c:483:9: error: ignoring return value of 'write', declared with attribute warn_unused_result [-Werror=unused-result]
/home/vidog/kphp/repo/kphp-kdb/vkext/vkext.c: In function 'print_backtrace':
/home/vidog/kphp/repo/kphp-kdb/vkext/vkext.c:477:9: error: ignoring return value of 'write', declared with attribute warn_unused_result [-Werror=unused-result]
/home/vidog/kphp/repo/kphp-kdb/vkext/vkext.c:479:9: error: ignoring return value of 'write', declared with attribute warn_unused_result [-Werror=unused-result]
cc1: all warnings being treated as errors
make: *\ [vkext.lo] Error 1
require ("/var/www/cs7777/data/www/lib/flex.php"); $res = array (); $res = setupRusFlex (0, $res);
create_lang (0, $res);
require ("/var/www/cs7777/data/www/lib/nonrus_flex.php");
Ребята, хардкод. Не собирается расширение, руками в том числе через:
/home/vidog/kphp/repo/kphp-kdb/vkext/vkext.c: In function 'sigabrt_debug_handler': /home/vidog/kphp/repo/kphp-kdb/vkext/vkext.c:489:9: error: ignoring return value of 'write', declared with attribute warn_unused_result [-Werror=unused-result] /home/vidog/kphp/repo/kphp-kdb/vkext/vkext.c: In function 'sigsegv_debug_handler': /home/vidog/kphp/repo/kphp-kdb/vkext/vkext.c:483:9: error: ignoring return value of 'write', declared with attribute warn_unused_result [-Werror=unused-result] /home/vidog/kphp/repo/kphp-kdb/vkext/vkext.c: In function 'print_backtrace': /home/vidog/kphp/repo/kphp-kdb/vkext/vkext.c:477:9: error: ignoring return value of 'write', declared with attribute warn_unused_result [-Werror=unused-result] /home/vidog/kphp/repo/kphp-kdb/vkext/vkext.c:479:9: error: ignoring return value of 'write', declared with attribute warn_unused_result [-Werror=unused-result] cc1: all warnings being treated as errors make: *\ [vkext.lo] Error 1