From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,eb27761a143cfd8d X-Google-Attributes: gid1164f8,public From: hoffman@xdelta.enet.dec.nospam (Hoff Hoffman) Subject: Re: Object library version numbers Date: 1998/02/16 Message-ID: <6c9ouo$7i5@usenet.pa.dec.com>#1/1 X-Deja-AN: 325577024 References: <34e5ed9c.93978@news.demon.co.uk> Reply-To: hoffman@xdelta.zko.dec.nospam Distribution: world Organization: Digital Equipment Corp Newsgroups: comp.sys.dec 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