On Tue, Oct 16, 2007 at 11:28:12PM +0200, Szabolcs Nagy wrote:
> On 10/16/07, James Turner <[EMAIL PROTECTED]> wrote:
> > dwm.c, line 362: warning: implicit conversion of argument 1 due to \
> > prototype
> 
> looking into pcc src it is highly probable to be a compiler defect
> (after typechecking the arguments, this is the default error message
> when prototype cannot be matched to the arguments)
> 
> also note that XSetErrorHandler is defined hideously (in Xlib.h) as
> 
> typedef int (*XErrorHandler) (      /* WARNING, this type not in Xlib
> spec */
>     Display*            /* display */,
>     XErrorEvent*        /* error_event */
> );
> 
> extern XErrorHandler XSetErrorHandler (
>     XErrorHandler       /* handler */
> );
> 
> 
> 
> ironnically i coulnd't compile the "portable c compiler" on linux to
> test it because of bsd dependencies..

Thanks for taking a look at it.  Yeah, from looking at Xlib.h and dwm.c
from my understanding everything is being done correct, int and so
forth.  Since I didn't get any response from the #pcc chan on freenode,
I think I'll send something to the pcc mailing list. 

-- 
James Turner
BSD Group Consulting
http://www.bsdgroup.org

Reply via email to