httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dean Gaudet <>
Subject Re: warnings on Solaris
Date Wed, 21 Jan 1998 19:33:45 GMT
No no Ben or someone already mentioned that I messed up the prototypes,
and whoever said it is right.  The right prototype is a head scratcher and
not worth putting in there.


On Wed, 21 Jan 1998, Rodent of Unusual Size wrote:

> Ben Laurie wrote:
> > 
> > Sigh. I'm sure I've said this several times, but I'll say it again. The
> > problem is with double indirection; although it is valid to pass an "x
> > *" to a "const x *" it is not valid to pass an "x **" to a "const x **".
> > This is why I had to add the _nc variants for a pile of stuff in
> > utils.c. I haven't quite decided whether I believe this restriction is
> > justified, but it certainly exists in many compilers. I suspect it is
> > actually a compiler bug, but would welcome informed opinion.
> > 
> > BTW, the xlc compiler on AIX also complains about this, I'm told.
> The bundled ANSI cc on Digital UNIX (V3.2 at least) also gritches.  I'm
> not so sure it can be called a compiler bug if so many of them with no
> likely common back end code complain about it.
> #ken	P-)}

View raw message