OpenIDC/mod_auth_openidc

Building 2.4.11 still fails with type mismatch

stroeder opened this issue · 0 comments

Sorry issue #732 is still not fixed. Even building 2.4.11 still fails with same error.

Note that OBS uses pretty strict compiler options: https://build.opensuse.org/package/live_build_log/home:stroeder:iam/apache2-mod_auth_openidc/openSUSE_Tumbleweed/x86_64

[   64s] /usr/include/apache2/http_request.h:558:1: warning: type of 'ap_hook_insert_filter' does not match original declaration [-Wlto-type-mismatch]
[   64s]   558 | AP_DECLARE_HOOK(void,insert_filter,(request_rec *r))
[   64s]       | ^
[   64s] test/stub.c:154:18: note: type mismatch in parameter 1
[   64s]   154 | AP_DECLARE(void) ap_hook_insert_filter(request_rec *r) {
[   64s]       |                  ^
[   64s] test/stub.c:154:18: note: type 'struct request_rec' should match type 'void ap_HOOK_insert_filter_t (struct request_rec *)'
[   64s] test/stub.c:154:18: note: 'ap_hook_insert_filter' was previously declared here

Originally posted by @stroeder in #732 (comment)