Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: mooney@dogbert.cc.ndsu.NoDak.edu (Tim Mooney)
Subject: Re: reserved word "readonly" in DEC C
Date: 1999/02/22	[thread overview]
Message-ID: <7asr17$rfm$1@node2.nodak.edu> (raw)
In-Reply-To: 36D1DFA5.F1CB343B@zk3.dec.com

In article <36D1DFA5.F1CB343B@zk3.dec.com>,
Jeff Sullivan  <jps@zk3.dec.com> 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



  reply	other threads:[~1999-02-22  5:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-02-21  5:00 reserved word "readonly" in DEC C Tim Mooney
1999-02-22  5:00 ` Jeff Sullivan
1999-02-22  5:00   ` Tim Mooney [this message]
1999-02-23  5:00     ` John Parks
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox