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

  1. Path: sparky!uunet!world!ksr!jfw
  2. From: jfw@ksr.com (John F. Woods)
  3. Newsgroups: comp.std.c
  4. Subject: Re: int const * p;
  5. Message-ID: <15441@ksr.com>
  6. Date: 2 Sep 92 12:02:53 EDT
  7. References: <180188INNmtc@fbi-news.Informatik.Uni-Dortmund.DE> <181tsmINN8uh@fbi-news.Informatik.Uni-Dortmund.DE>
  8. Sender: news@ksr.com
  9. Lines: 14
  10.  
  11. sprave@gonzo.informatik.uni-dortmund.de (Joachim Sprave) writes:
  12. >I apologize to SUN, Jutta you're right. The fact is, in my test
  13. >program I jumped to the wrong line. So
  14. >           int const * p;
  15. >is accepted by acc and gcc. The error message occured in the line
  16. >        const int const *q;
  17. >which IMO is incorrect, or at least useless.
  18.  
  19. "Constraints
  20.    The same type qualifier shall not appear more than once in the same
  21. specifier list or qualifier list, either directly or via one or more
  22. typedefs."
  23.  
  24. Your opinion is fact, it is incorrect.
  25.