This is the mail archive of the insight-prs@sources.redhat.com mailing list for the Insight project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: insight/182: Error making tkWarpPointer


The following reply was made to PR insight/182; it has been noted by GNATS.

From: Keith Seitz <keiths@redhat.com>
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
 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]