From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f7344,700ffaaadd36430b X-Google-Attributes: gidf7344,public X-Google-Thread: 1164f8,700ffaaadd36430b X-Google-Attributes: gid1164f8,public X-Google-Thread: 1014db,700ffaaadd36430b X-Google-Attributes: gid1014db,public From: carl@SOL1.GPS.CALTECH.EDU (Carl J Lydick) Subject: Re: Problem with RMS structures in DEC C? Date: 1995/06/30 Message-ID: <3t0sn3$lu4@gap.cco.caltech.edu>#1/1 X-Deja-AN: 105418659 distribution: world references: , organization: HST Wide Field/Planetary Camera reply-to: carl@SOL1.GPS.CALTECH.EDU newsgroups: comp.os.vms,comp.sys.dec,comp.lang.c In article , brown@falam.ch (David Claude Brown) writes: =In article bsspak@bath.ac.uk (P A Keller) writes: =>Hi everyone. Can anyone explain why the following minimal code won't =>compile without error under DEC C? VAX C is fine, as well as DEC C with the =>/STANDARD=VAXC option. As far as I can see, there is nothing here which =>conflicts with the example in the DEC C documentation, or am I just being =>dim? =[snip of hugely DEC-specific dollop of code] = =This is the wrong newsgroup. Post to a VMS specific one. First of all, he posted to three newsgroups (as did you); comp.lang.c was the only one of the three that was not DEC-specific. Second, the problem was NOT VMS-specific. It was a failure to explicitly cast a pointer reference. Anybody at all fluent in C should have noticed that immediately. -------------------------------------------------------------------------------- Carl J Lydick | INTERnet: CARL@SOL1.GPS.CALTECH.EDU | NSI/HEPnet: SOL1::CARL Disclaimer: Hey, I understand VAXen and VMS. That's what I get paid for. My understanding of astronomy is purely at the amateur level (or below). So unless what I'm saying is directly related to VAX/VMS, don't hold me or my organization responsible for it. If it IS related to VAX/VMS, you can try to hold me responsible for it, but my organization had nothing to do with it.