* Re: Removing readonly extension in cc
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
1 sibling, 0 replies; 3+ messages in thread
From: John Hascall @ 1998-08-25 4:00 UTC (permalink / raw)
Jonathan Giddy <jon@rdt.monash.edu.au> 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?
Not that I know off, but try:
-Dreadonly=onlyread
or some such as a work around.
John
--
John Hascall, Software Engr. Shut up, be happy. The conveniences you
ISU Computation Center demanded are now mandatory. -Jello Biafra
mailto:john@iastate.edu
http://www.cc.iastate.edu/staff/systems/john/index.html <=- the usual crud
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Removing readonly extension in cc
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
1 sibling, 0 replies; 3+ messages in thread
From: Jeff Sullivan @ 1998-08-25 4:00 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Removing readonly extension in cc
@ 1998-08-25 4:00 Jonathan Giddy
1998-08-25 4:00 ` John Hascall
1998-08-25 4:00 ` Jeff Sullivan
0 siblings, 2 replies; 3+ messages in thread
From: Jonathan Giddy @ 1998-08-25 4:00 UTC (permalink / raw)
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?
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1998-08-25 4:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox