httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marc Slemko <ma...@worldgate.com>
Subject Re: new compiler warnings
Date Fri, 16 Jan 1998 15:14:52 GMT
Look at PR#1685:

"mod_imap.c", line 766: warning: argument #2 is incompatible with prototype:
        prototype: pointer to array[2] of const double : "mod_imap.c", line 198
        argument : pointer to array[2] of double
"mod_imap.c", line 778: warning: argument #2 is incompatible with prototype:
        prototype: pointer to array[2] of const double : "mod_imap.c", line 185
        argument : pointer to array[2] of double
"mod_imap.c", line 790: warning: argument #2 is incompatible with prototype:
        prototype: pointer to array[2] of const double : "mod_imap.c", line 160
        argument : pointer to array[2] of double
"mod_imap.c", line 802: warning: argument #2 is incompatible with prototype:
        prototype: pointer to array[2] of const double : "mod_imap.c", line 273
        argument : pointer to array[2] of double


(from SC4.0)

Hmm... I don't know...

On Fri, 16 Jan 1998, Dean Gaudet wrote:

> Oh wow, gcc is even complaining about that?  Funny, mine doesn't... what
> version is that? 
> 
> I'll +1 a patch to remove those const qualifiers... they served their
> purpose.  Too busy to put it together right now.
> 
> Dean
> 
> On Fri, 16 Jan 1998, Rasmus Lerdorf wrote:
> 
> > gcc -c  -I../../regex -I../../os/unix -I../../main    -DSOLARIS2=251
> > -DNO_SLACK=1 -DUSE_FCNTL_SERIALIZED_ACCEPT=1  mod_imap.c
> > mod_imap.c: In function `imap_handler':
> > mod_imap.c:768: warning: passing arg 2 of `pointinpoly' from incompatible
> > pointer type
> > mod_imap.c:780: warning: passing arg 2 of `pointincircle' from
> > incompatible pointer type
> > mod_imap.c:792: warning: passing arg 2 of `pointinrect' from incompatible
> > pointer type
> > mod_imap.c:804: warning: passing arg 2 of `is_closer' from incompatible
> > pointer type
> > 
> > -Rasmus
> > 
> > 
> 


Mime
View raw message