home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!news.claremont.edu!nntp-server.caltech.edu!SOL1.GPS.CALTECH.EDU!CARL
- From: carl@SOL1.GPS.CALTECH.EDU (Carl J Lydick)
- Newsgroups: comp.os.vms
- Subject: Re: C pointer question
- Date: 27 Dec 1992 09:22:16 GMT
- Organization: HST Wide Field/Planetary Camera
- Lines: 42
- Distribution: world
- Message-ID: <1hjsk8INN34t@gap.caltech.edu>
- References: <1h9nuiINN1c9@gap.caltech.edu> <1992Dec23.211437.9868@netcom.com> <24DEC199213510084@spades.aces.com>,<1992Dec26.225943.4312@netcom.com>
- Reply-To: carl@SOL1.GPS.CALTECH.EDU
- NNTP-Posting-Host: sol1.gps.caltech.edu
-
- In article <1992Dec26.225943.4312@netcom.com>, despair@netcom.com (Scott Hanson) writes:
- >In article <24DEC199213510084@spades.aces.com> gavron@ACES.COM writes:
- >[unnecessary but amusing attack deleted]
- >Well I have solved most of the problems I was having. A portion of the
- >strangeness was caused not by putting the strange float switch on the
- >compiler (which dec support asked about) but having a logical including
- >the library. Somehow that made 1/5 of my pointers act strangely. Further
- >problems were the result of VMS storing data on the other side of code
- >(compared to Unix and Dos) I had a 1 byte mistake that caused no apparent
- >trouble on the other two platforms but made the vax choke. Now I know
- >a couple of things to keep in mind when I am working on a vax. That is
- >what I had asked for, and still would appreciate.
-
- Er, Scott? I know I'm asking a lot more of you than many participants in this
- newsgroup would be willing to give, but consider:
- 1) If you made a mistake, even if it was based on trying to take
- advantage of undocumented and unsupported "features" of C compilers
- on other systems, then other people might do the same thing;
- 2) You still haven't told us exactly what it is you did wrong;
- 3) If you detail your mistake, a memory of it will enter the
- collective memory of this newsgroup (though sometimes I get the
- feeling that there are only about half a dozen of us who remember
- such things);
- 4) Nobody else *REALLY* wants to make your mistake.
- Now, after pondering the above, could you be persuaded to let us all know just
- what you did that caused the problem? I for one would really like to know, and
- IMNSHO, you'd be doing us all a service if you'd detail this particular pitfall.
-
- I mean the following only in a positive way: Remember: No effort is useless.
- It can always serve as a bad example.
-
- If you can let us in on a mistake in using VAX C, you really would be helping
- all of us (even though there are some dickheads out there who think that a
- problem is only important if THEY are experiencing it right now).
- --------------------------------------------------------------------------------
- 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.
-