home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / os / vms / 21667 < prev    next >
Encoding:
Internet Message Format  |  1993-01-22  |  1.2 KB

  1. Path: sparky!uunet!elroy.jpl.nasa.gov!sdd.hp.com!hplabs!ucbvax!lrw.com!leichter
  2. From: leichter@lrw.com (Jerry Leichter)
  3. Newsgroups: comp.os.vms
  4. Subject: re: VAXC problems (V3.2)
  5. Message-ID: <9301210241.AA04760@uu3.psi.com>
  6. Date: 21 Jan 93 01:29:34 GMT
  7. Sender: daemon@ucbvax.BERKELEY.EDU
  8. Distribution: world
  9. Organization: The Internet
  10. Lines: 23
  11.  
  12.  
  13.     I have noticed that there are some differences between ANSI 'c' and
  14.     VAXC.  I would like to know if these are known differences...
  15.  
  16. There are also many differences between VAX C and ANSI FORTRAN, and between
  17. VAX C and ISO PASCAL.  So?  Where, anywhere, have you seen a claim that VAX C
  18. is ANSI C compliant?  DEC never claimed it was, and it isn't.
  19.  
  20. The new DEC C compiler DOES claim ANSI C compliance.  If you found incompati-
  21. bilities THERE, you'd have "problems" to report.  As it stands, what you have
  22. described are NOT problems with VAX C, they are simply among the reasons DEC
  23. never claimed VAX C was ANSI C compatible.
  24.  
  25. BTW, the first test of whether a compiler even CLAIMS ANSI C compatibility
  26. is whether it predefines __STDC__ as 1.  Did you check what VAX C does?
  27. (Hint:  DEC is honest.)
  28.  
  29.                                        The
  30.     following types of syntax do not work:  [Examples omitted, since they
  31.     are of no significance.]
  32.  
  33.                             -- Jerry
  34.  
  35.