Problems with INN-CURRENT-20021117 on BSD/OS 4.3

Russ Allbery rra at stanford.edu
Sun Nov 17 19:32:12 UTC 2002


Jeffrey M Vinocur <jeff at litech.org> writes:

> I cleaned up some warnings while I was at it -- anybody want to explain:

>     cc.c:1764: warning: void format, CHANNEL arg (arg 4)
>     cc.c:1764: warning: void format, CHANNEL arg (arg 5)

> when both arguments are CHANNEL*?  That ought to supertype void*, no?  Yet 
> I had to do this to fix it:

>      if (cp != CCchan) {
>         syslog(L_ERROR, "%s internal CCreader wrong channel 0x%p not 0x%p",
> -           LogName, cp, CCchan);
> +           LogName, (void *)cp, (void *)CCchan);
>         return;

gcc stupidity.  I expect it will likely be fixed in some later release of
the compiler.

-- 
Russ Allbery (rra at stanford.edu)             <http://www.eyrie.org/~eagle/>

    Please send questions to the list rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.


More information about the inn-workers mailing list