httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doug MacEachern <do...@telebusiness.co.nz>
Subject Re: [BUILD] new in http_core.c
Date Wed, 18 Mar 1998 07:03:30 GMT
Ralf S. Engelschall wrote:

> In article <9803171407.AA04195@gensym1.gensym.com> you wrote:
>
> > Various cosmetic changes and fixes over the last few days, but
> > this one is new today.
>
> > New on the hp9000s800
> >   cc -c  -I../os/unix -I../include -DHPUX -Aa -D_HPUX_SOURCE -DSTATUS -DNO_DBM_REWRITEMAP
-DUSE_HSREGEX -DHIDE '-DHTTPD_ROOT="/tmp/httpd"'  http_core.c
> >   cc: "http_core.c", line 1867: warning 604: Pointers are not assignment-compatible.
>
> Hmmm.. the (void*) seems to be the problem which was introduced with the
> change between 1.171 and 1.172 (`cvs diff -r1.171 -r1.172 main/http_core.c').
>
> -{ "<Limit", limit_section, NULL, OR_ALL, RAW_ARGS, "Container for...
> +{ "<Limit", (void*)limit_section, NULL, OR_ALL, RAW_ARGS, "Container for..
>
> I don't see why a (void *) is needed here. Dean or Doug, was this intended
> this way or just a mistake? At least my GCC 2.8.1 under FreeBSD doesn't
> require the (void*) cast.

I did that because win32 complained without it after the EXPORT of limit_section.  I'll be
trying out the win32/modperl stuff again later tonight and try to
work something else out.

-Doug


Mime
View raw message