* Object library version numbers
@ 1998-02-14 5:00 Alan Campbell
1998-02-16 5:00 ` Hoff Hoffman
0 siblings, 1 reply; 2+ messages in thread
From: Alan Campbell @ 1998-02-14 5:00 UTC (permalink / raw)
I have just started programming in C on our VAX running Open VMS 6.2. I have
written a couple of functions that I want to store in our object library, which
currently contains functions written in Basic, but can not find any way of
setting the version number of the function in the object library. We use the
%IDENT compiler directive in basic to specifiy the version number of our basic
functions. Is there an equivelent complier directive in C ?
TIA
Alan
---
Alan Campbell
alan@mullen.demon.co.uk
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Object library version numbers
1998-02-14 5:00 Object library version numbers Alan Campbell
@ 1998-02-16 5:00 ` Hoff Hoffman
0 siblings, 0 replies; 2+ messages in thread
From: Hoff Hoffman @ 1998-02-16 5:00 UTC (permalink / raw)
In article <34e5ed9c.93978@news.demon.co.uk>, alan@mullen.demon.co.uk (Alan Campbell) writes:
:I have just started programming in C on our VAX running Open VMS 6.2. I have
:written a couple of functions that I want to store in our object library, which
:currently contains functions written in Basic, but can not find any way of
:setting the version number of the function in the object library. We use the
:%IDENT compiler directive in basic to specifiy the version number of our basic
:functions. Is there an equivelent complier directive in C ?
Under the DEC C compiler, the directive is:
#pragma module ...
Under the VAX C compiler, the directive is:
#module ...
Please consider looking in the C documentation, in the C help library,
and in example directories such as SYS$EXAMPLES:*.C, before posting a
question. (The syntax of the C preprocessor directives is included in
the DEC C help library, with the full details of the directives in the
DEC C documentation.) And if you do not have access to the C compiler
documentation, you will want to acquire it in hardcopy or on CD-ROM.
--
If running VAX C, please upgrade to DEC C -- the most recent version of
VAX C was released about a decade ago; it predates ANSI C standards.
DEC C V5.6 is the most recently shipped release, but I'd expect to see
a new release in the near future. The most recent version of VAX C is
V3.2, and there have been many releases of the C compiler between V3.2
and V5.6. And iif you have a "C" license PAK, you can have both VAX C
and DEC C installed and in use on the same OpenVMS VAX system....
-------------------------- pure personal opinion ---------------------------
Hoff (Stephen) Hoffman OpenVMS Engineering hoffman@xdelta.ZZenet.dec.com
note to those folks not contributing spam -- there is no ZZ in my address
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1998-02-16 5:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-02-14 5:00 Object library version numbers Alan Campbell
1998-02-16 5:00 ` Hoff Hoffman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox