Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!purdue!decwrl!shelby!Portia!nolan From: nolan@Portia.Stanford.EDU (Patrick Nolan) Newsgroups: comp.lang.c Subject: VMS extensions Summary: What are variant_struct, variant_union? Keywords: VMS C Message-ID: <1321@Portia.Stanford.EDU> Date: 5 Apr 89 22:42:49 GMT Sender: Patrick Nolan Reply-To: nolan@Portia.UUCP (Patrick Nolan) Distribution: na Organization: Stanford University Lines: 12 Help! I am baffled by some non-standard syntax which I think is a VMS C extension. I have source code for a very VMS-specific program. We are too cheap to buy DEC's compiler, so I am trying to make it work with gcc (1.22). I have run up against some non-standard constructs: variant_union and variant_struct. I tried changing these to union and struct, with disastrous results. Can someone who understands VMS C explain what these things are? -- ======================================================================= Patrick Nolan Bitnet: PLN@SLACVM W. W. Hansen Laboratories Internet: nolan@meggie.stanford.edu Stanford University nolan@portia.stanford.edu