rsalz@bbn.com (Richard Salz) (09/26/87)
Anyone know if/when VMS C will support this pre-processor construct? #if defined(FOO) || defined(BAR) .... #endif /* defined(FOO) || defined(BAR) */ Please reply to directly to me, as I don't read this list/newsgroup. Thanks! /r$ -- For comp.sources.unix stuff, mail to sources@uunet.uu.net.
KASHTAN@IU.AI.SRI.COM.UUCP (09/27/87)
Time to give up on VMS C (i.e. VAX-11 "C"). Shortly (a matter of weeks) to be available from the Free Software Foundation is GNU "C" for VMS. It is invoked with the same command line syntax as VAX-11 "C". It produces object code that is compatible with VAX-11 "C". It even produces object code debugger records, so full VAX-11 "C" style source level debugging is available (just like VAX-11 "C"). Why choose GNU "C" over VAX-11 "C"? 1) It is free (or a token tape making fee for the Free Software Foundation). 2) It accepts several "unix"-style constructs that are not accepted by VAX-11 "C". 3) It produces BETTER code than VAX-11 "C". 4) You get the full source for GNU "C" -- so you are not left waiting for DEC to fix/add something you need. David -------
nagy%warner.hepnet@LBL.ARPA (Frank J. Nagy/VAX Guru) (09/27/87)
>Anyone know if/when VMS C will support this pre-processor construct? > #if defined(FOO) || defined(BAR) > .... > #endif /* defined(FOO) || defined(BAR) */ Supported in VAX C V2.3 (currently shipping version). = Frank J. Nagy "VAX Guru" = Fermilab Research Division EED/Controls = HEPNET: WARNER::NAGY (43198::NAGY) or FNAL::NAGY (43009::NAGY) = BitNet: NAGY@FNAL = USnail: Fermilab POB 500 MS/220 Batavia, IL 60510