From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,a16aa11e8df4d689 X-Google-Attributes: gidfee84,public From: mooney@dogbert.cc.ndsu.NoDak.edu (Tim Mooney) Subject: Re: reserved word "readonly" in DEC C Date: 1999/02/22 Message-ID: <7asr17$rfm$1@node2.nodak.edu>#1/1 X-Deja-AN: 447276441 Content-Transfer-Encoding: 7bit References: <7anks0$mju$1@node2.nodak.edu> <36D1DFA5.F1CB343B@zk3.dec.com> Content-Type: text/plain; charset=US-ASCII X-Complaints-To: abuse@nodak.edu X-Trace: node2.nodak.edu 919727975 28150 134.129.106.23 (22 Feb 1999 23:59:35 GMT) Organization: North Dakota Higher Education Computing Network (NDHECN) Mime-Version: 1.0 NNTP-Posting-Date: 22 Feb 1999 23:59:35 GMT Newsgroups: comp.unix.osf.osf1 In article <36D1DFA5.F1CB343B@zk3.dec.com>, Jeff Sullivan wrote: > Yes, DEC C provides support for the storage-class modifier readonly, > which is a VAX C keyword. I found a description in section 2.11 or > the DEC C Language Reference Manual. Hmmm... There's a manual I don't have. I'll have to check the doc site on the web. Thanks for the pointer. > The fact that it was recognised as a keyword in -std mode for > the DEC C compiler in V4.0D is a feature or a bug, based on your > perspective. The feature/bug is not in the compiler for V4.0F > and later in the -std mode. Admittedly, more users considered > this a bug than a feature... > > You could workaround it by adding -Dreadonly=_readonly to your > command line. This essentially is the same as doing this in the > code, prior to the use of readonly: > > #define readonly _readonly > > Let me know if you need more info. I don't, and thanks for the reply Jeff. As usual, the information you've provided is both candid and useful! ;-) Tim -- Tim Mooney mooney@dogbert.cc.ndsu.NoDak.edu Information Technology Services (701) 231-1076 (Voice) Room 242-J1, IACC Building (701) 231-8541 (Fax) North Dakota State University, Fargo, ND 58105-5164