The following reply was made to PR general/5053; it has been noted by GNATS.
From: "Ralf S. Engelschall" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Cc: Subject: Re: general/5053: incompatible type in indirect function reference - compile fails for http_main.c Date: Sat, 5 Feb 2000 13:02:04 +0100 In article <[EMAIL PROTECTED]> you wrote: > >>Synopsis: incompatible type in indirect function reference - compile >>fails for http_main.c > [..] > using 'gcc -c -I../os/unix -I../include -O -DNEXT -DUSE_HSREGEX > -DUSE_EXPAT -I../lib/expat-lite http_main.c > I get some warnings in the 2.8.1/include/bsd/netinet/ip.h, then I get fatal > errors like this: > http_main.c: In function `ap_unregister_other_child': > http_main.c:1504: incompatible type for argument 3 of indirect function call > Same error at lines 1560, 2366, 2369, 2375 >>How-To-Repeat: > Same error on 1.3.6, haven't tried elsewhere. >>Fix: > Outside my competence, but can the correct argument be cast to the desired > type? I tried tracking this down but I'm not up on my C/C++ these days. I've tried to fix it by casting the -1 values to ap_wait_t for Apache 1.3.12. Thanks for your feedback. Ralf S. Engelschall [EMAIL PROTECTED] www.engelschall.com