From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3267 invoked by alias); 10 Sep 2002 23:03:01 -0000 Mailing-List: contact insight-prs-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: insight-prs-owner@sources.redhat.com Received: (qmail 3253 invoked by uid 71); 10 Sep 2002 23:03:01 -0000 Date: Tue, 10 Sep 2002 16:03:00 -0000 Message-ID: <20020910230301.3252.qmail@sources.redhat.com> To: nobody@sources.redhat.com Cc: insight-prs@sources.redhat.com, From: Keith Seitz Subject: Re: insight/182: Error making tkWarpPointer Reply-To: Keith Seitz X-SW-Source: 2002-q3/txt/msg00031.txt.bz2 List-Id: The following reply was made to PR insight/182; it has been noted by GNATS. From: Keith Seitz To: dgrimes@scvl.com Cc: insight-gnats@sources.redhat.com Subject: Re: insight/182: Error making tkWarpPointer Date: Tue, 10 Sep 2002 15:56:40 -0700 (PDT) On 10 Sep 2002 dgrimes@scvl.com wrote: > tkWarpPointer.c: In function `WarpPointer': > tkWarpPointer.c:39: argument `clientData' doesn't match prototype > /usr/local/lib/gcc-lib/alphaev68-dec-osf5.1/3.1/include/X11/Xlib.h:4141: prototype declaration > tkWarpPointer.c:39: argument `interp' doesn't match prototype > /usr/local/lib/gcc-lib/alphaev68-dec-osf5.1/3.1/include/X11/Xlib.h:4141: prototype declaration > tkWarpPointer.c:39: argument `objc' doesn't match prototype > /usr/local/lib/gcc-lib/alphaev68-dec-osf5.1/3.1/include/X11/Xlib.h:4141: prototype declaration > tkWarpPointer.c:39: argument `objv' doesn't match prototype > /usr/local/lib/gcc-lib/alphaev68-dec-osf5.1/3.1/include/X11/Xlib.h:4141: prototype declaration > tkWarpPointer.c:39: number of arguments doesn't match prototype > /usr/local/lib/gcc-lib/alphaev68-dec-osf5.1/3.1/include/X11/Xlib.h:4141: prototype declaration > tkWarpPointer.c: In function `cyg_create_warp_pointer_command': > tkWarpPointer.c:75: warning: passing arg 3 of `Tcl_CreateObjCommand' from incompatible pointer type It looks like you've got a version of X which has "WarpPointer" defined... Goofy. X uses "XWarpPointer". What version of X11 are you using? Can you send the relevant conflicted prototype from Xlib.h? (Remember to CC insight-gnats.) You could simply rename WarpPointer and change cyg_create_warp_pointer_command, or you could make WarpPointer static. Keith