|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2018-09-30 17:49 UTC] spam2 at rhsoft dot net
[2018-09-30 17:51 UTC] nikic@php.net
-Status: Open
+Status: Duplicate
[2018-09-30 17:51 UTC] nikic@php.net
[2018-10-27 16:17 UTC] office at vargapeter dot net
-PHP Version: 7.2.10
+PHP Version: 7.2.11
[2018-10-27 16:17 UTC] office at vargapeter dot net
[2018-10-27 16:28 UTC] nikic@php.net
[2018-10-27 16:30 UTC] spam2 at rhsoft dot net
[2018-10-28 01:04 UTC] takagi@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 08:00:01 2025 UTC |
Description: ------------ /builds/php-7.2.10/sapi/apache2handler/sapi_apache2.c: In function ‘php_ap2_register_hook’: /builds/php-7.2.10/sapi/apache2handler/sapi_apache2.c:745: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/apache2-prefork/ap_hooks.h:40, from /usr/include/apache2-prefork/ap_config.h:25, from /builds/php-7.2.10/sapi/apache2handler/sapi_apache2.c:37: /usr/include/apr-1/apr_hooks.h:120:61: note: expected ‘void (*)(apr_pool_t *, server_rec *)’ {aka ‘void (*)(struct apr_pool_t *, struct server_rec *)’} but argument is of type ‘void (*)(void)’ link##_DECLARE(void) ns##_hook_##name(ns##_HOOK_##name##_t *pf, \ /usr/include/apache2-prefork/ap_hooks.h:75:9: note: in expansion of macro ‘APR_DECLARE_EXTERNAL_HOOK’ APR_DECLARE_EXTERNAL_HOOK(ap,AP,ret,name,args) ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/apache2-prefork/http_config.h:1295:1: note: in expansion of macro ‘AP_DECLARE_HOOK’ AP_DECLARE_HOOK(void,child_init,(apr_pool_t *pchild, server_rec *s)) Expected result: ---------------- No warning