Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: Jeff Sullivan <jps@zk3.dec.com>
Subject: Re: Removing readonly extension in cc
Date: 1998/08/25	[thread overview]
Message-ID: <35E312C7.38C81153@zk3.dec.com> (raw)
In-Reply-To: 6rt1gb$cig$1@towncrier.cc.monash.edu.au

Jonathan Giddy wrote:
> 
> I want to compile a C package with the -std flag set to get relaxed ANSI
> style enforcement.  However, the package uses a struct with an attribute
> named "readonly".  Seems this is a reserved keyword when using -std.
> 
> Is there anyway to turn these extension keywords off?

I assume that you are compiling on V4.0 through V4.0C, since the
compiler has been fixed to allow this in -std mode for Digital
UNIX versions starting with V4.0D (and later).

You could try compiling in -std1 (Strict ANSI) mode. It should be
accepted for all versions of DEC C on UNIX.

If you have further questions, let me know.

-Jeff
-- 
Jeff Sullivan |  Compaq Computer Corp  |      jps@zk3.dec.com
DEC C and C++ | Nashua, NH  ZK3-2/2X29 | sullivan@zko.dec.com



      parent reply	other threads:[~1998-08-25  4:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-08-25  4:00 Removing readonly extension in cc Jonathan Giddy
1998-08-25  4:00 ` John Hascall
1998-08-25  4:00 ` Jeff Sullivan [this message]
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