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