home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / std / c / 2550 < prev    next >
Encoding:
Internet Message Format  |  1992-09-01  |  1.0 KB

  1. Path: sparky!uunet!cis.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!ucbvax!jit081.enet.dec.com!diamond
  2. From: diamond@jit081.enet.dec.com (02-Sep-1992 0949)
  3. Newsgroups: comp.std.c
  4. Subject: Re: int const * p;
  5. Message-ID: <9209020049.AA12500@enet-gw.pa.dec.com>
  6. Date: 2 Sep 92 00:50:05 GMT
  7. Sender: daemon@ucbvax.BERKELEY.EDU
  8. Lines: 18
  9.  
  10. In article <180188INNmtc@fbi-news.Informatik.Uni-Dortmund.DE> sprave@gonzo.informatik.uni-dortmund.de (Joachim Sprave) writes:
  11. >Could anybody look in the standard, if    int const * p;   is allowed ?
  12.  
  13. Yes, it would be very easy for you to look that up :-)
  14. (Some parts of the standard are obscure, but not this one.)
  15.  
  16. >GCC treats it as   const int * p;
  17.  
  18. That is correct.
  19.  
  20. >[Other compiler] gives an error.
  21.  
  22. If the vendor claims that that compiler is ANSI or ISO conforming, and if
  23. you paid money for it, then get a refund.  [Personal opinion only.]
  24. --
  25. Norman Diamond       diamond@jit081.enet.dec.com
  26. If this were the company's opinion, I wouldn't be allowed to post it.
  27. "Yeah -- bad wiring.  That was probably it.  Very bad."
  28.