Article View: gnu.chess
Article #5936Re: xboard1.2 (wont compile) help!
From: Jim Liu
Date: Mon, 29 Jul 1991 00:33
Date: Mon, 29 Jul 1991 00:33
24 lines
1331 bytes
1331 bytes
In article <861@sheoak.bcae.oz> thiele@ironbark.bcae.oz.au (David Thiele) writes: >HELP! HELP! HELP! HELP! HELP! HELP! HELP! > >Xboard 1.2 just doesnt want to compile. I am using X11R4. > >The problem: line 1861 (*fileProc(buf)) actual has 1 parameter while > formal declaration has 3... > ... etc ... The problem is that fileProc is being declared wrong and your compiler is picky about prototyping. Here's a quick fix. Search for XtCallbackProc in xboard.c and change: XtCallbackProc fileProc; to void (*fileProc)(); and fileProc = (XtCallbackProc) proc; to fileProc = proc; Sorry, I never quite got the hang of patch files.... - Jim jtliu@Phoenix.princeton.edu
Technical Details
Message-ID:
<12452@idunno.Princeton.EDU>Path:
arc1-ca.pugleaf.net!gmdzi!unido!fauern!ira.uka.de!sol.ctr.columbia.edu!caen!uwm.edu!linac!att!princeton!pupphy!liuReferences:
<861@sheoak.bcae.oz>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10d71d,a9478e78e6b66dad X-Google-Attributes: gid10d71d,public X-Google-ArrivalTime: 1991-07-29 02:18:39 PST Path: arc1-ca.pugleaf.net!gmdzi!unido!fauern!ira.uka.de!sol.ctr.columbia.edu!caen!uwm.edu!linac!att!princeton!pupphy!liu From: liu@pupphy.princeton.edu (Jim Liu) Newsgroups: gnu.chess Subject: Re: xboard1.2 (wont compile) help! Message-ID: <12452@idunno.Princeton.EDU> Date: 29 Jul 91 00:33:59 GMT References: <861@sheoak.bcae.oz> Sender: news@idunno.Princeton.EDU Organization: Physics Dept., Princeton University Lines: 24 Nntp-Posting-Host: pupphy.princeton.edu