home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #23 / NN_1992_23.iso / spool / vmsnet / internal / 1432 < prev    next >
Encoding:
Internet Message Format  |  1992-10-09  |  1.0 KB

  1. Path: sparky!uunet!mitech!gjc
  2. From: gjc@mitech.com (George J. Carrette)
  3. Newsgroups: vmsnet.internals
  4. Subject: Re: Shared images, some differences on ALPHA
  5. Message-ID: <3068@mitech.com>
  6. Date: 9 Oct 92 14:37:13 GMT
  7. References: <3026@mitech.com> <1992Oct8.151434.719@cmkrnl.com>
  8. Organization: Mitech Corporation, Concord MA
  9. Lines: 17
  10.  
  11. In article <1992Oct8.151434.719@cmkrnl.com>, jeh@cmkrnl.com writes:
  12. > That's odd -- I could'a sworn that globalREF's would become extern's.   To
  13. > actually define the space (equivalent of globaldef), you use an unadorned
  14. > declaration (no 'extern') outside all procedure bodies.  That's how I was told
  15. > to do it by one of the DEC Alpha folks in Atlanta... 
  16.  
  17. It could be that the VMS ALPHA compilers have some VAX-C compatibility in them,
  18. such that (sort of)
  19.  
  20. #define globaldef
  21. #define globalref extern
  22.  
  23. but it could be that whoever was hacking OSF-MOTIF decided to RUB IT IN
  24. that there was something funny about VMS on the VAX, or perhaps an early
  25. version of the VMS ALPHA C compiler didn't have those two trivial items.
  26.  
  27. -gjc
  28.