From - Mon Oct 13 11:44:31 1997 Path: news.mitre.org!blanket.mitre.org!agate!newsgate.duke.edu!nntprelay.mathworks.com!newsfeed.internetmci.com!4.1.16.34!cpk-news-hub1.bbnplanet.com!su-news-hub1.bbnplanet.com!news.bbnplanet.com!news1.digital.com!pa.dec.com!ogg.stl.dec.com!nobody From: James Cameron Newsgroups: comp.os.vms Subject: Re: Help with Xautolock C code Date: Thu, 09 Oct 1997 15:12:49 +1000 Organization: Netrek Vanilla Server Maintainer Lines: 32 Message-ID: <343C67D1.4287@stl.dec.com> References: <60uujq$qkb$1@alpha10.curtin.edu.au> NNTP-Posting-Host: ogg.stl.dec.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 3.01Gold (X11; I; OSF1 V3.2 alpha) To: Robert J Wright CC: R.Wright@curtin.edu.au Robert J Wright wrote: > Can anyone help, please...(:-) Sure! > %CC-E-MISSINGTYPE, Missing type specifier or type qualifier. > at line number 50 in file USR24:[CROBW.XAUTOLOCK]WAIT.H;1 On line 40 of wait.h, change "vax" to "VMS". Reason: nothing was compiled in the structure. wait() may well be defined in your environment already ... this code seems to have been implemented because wait() was unavailable. I haven't checked it. > %CC-W-OTHERMEMBER, In this statement, "db" is a member of another > struct or union. > at line number 788 in file USR24:[CROBW.XAUTOLOCK]XAUTOLOCK.C;1 On lines 787 and 799 (or so) of xautolock.c, change "d->db" to "XtDatabase(d)". Reason: DECwindows Motif V1.2-3 or later removed the element "db" from the Display structure. Accessing this member produced code that was non-portable. The intrinsic layer added a function that would obtain the display database. I proved that the compilation worked, I didn't move further than that. Enjoy your testing ... I use xautolock on both OpenVMS and Digital UNIX. -- James Cameron (cameron@stl.dec.com) Digital Equipment Corporation (Australia) Pty. Ltd. A.C.N. 000 446 800