httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rodent of Unusual Size <Ken.C...@Golux.Com>
Subject Re: warnings on Solaris
Date Wed, 21 Jan 1998 18:38:27 GMT
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