|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2017-11-03 12:10 UTC] spam2 at rhsoft dot net
Description:
------------
/home/builduser/rpmbuild/BUILD/php-7.1.11/sapi/apache2handler/sapi_apache2.c: In function 'php_ap2_register_hook':
/home/builduser/rpmbuild/BUILD/php-7.1.11/sapi/apache2handler/sapi_apache2.c:755:21: warning: passing argument 1 of 'ap_hook_child_init' from incompatible pointer type [-Wincompatible-pointer-types]
ap_hook_child_init(zend_signal_init, NULL, NULL, APR_HOOK_MIDDLE);
^~~~~~~~~~~~~~~~
In file included from /usr/include/httpd/ap_hooks.h:40:0,
from /usr/include/httpd/ap_config.h:25,
from /home/builduser/rpmbuild/BUILD/php-7.1.11/sapi/apache2handler/sapi_apache2.c:41:
/usr/include/httpd/ap_hooks.h:75:35: note: expected 'void (*)(apr_pool_t *, server_rec *) {aka void (*)(struct apr_pool_t *, struct server_rec *)}' but argument is of type 'void (*)(void)'
APR_DECLARE_EXTERNAL_HOOK(ap,AP,ret,name,args)
^
/usr/include/apr-1/apr_hooks.h:120:22: note: in definition of macro 'APR_DECLARE_EXTERNAL_HOOK'
link##_DECLARE(void) ns##_hook_##name(ns##_HOOK_##name##_t *pf, \
^~
/usr/include/httpd/http_config.h:1312:1: note: in expansion of macro 'AP_DECLARE_HOOK'
AP_DECLARE_HOOK(void,child_init,(apr_pool_t *pchild, server_rec *s))
^~~~~~~~~~~~~~~
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 12:00:01 2025 UTC |
Operating System: Red Hat Enterprise Linux Server 7.4 (Maipo) Kernel: Linux 3.10.0-693.5.2.el7.x86_64