You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by "Ralf S. Engelschall" <rs...@engelschall.com> on 2000/02/05 13:40:00 UTC

Re: general/5053: incompatible type in indirect function reference - compile fails for http_main.c

The following reply was made to PR general/5053; it has been noted by GNATS.

From: "Ralf S. Engelschall" <rs...@engelschall.com>
To: apbugs@apache.org
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 <19...@hyperreal.org> 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
                                        rse@engelschall.com
                                        www.engelschall.com