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

  1. Path: sparky!uunet!mcsun!Germany.EU.net!Informatik.Uni-Dortmund.DE!gonzo!sprave
  2. From: sprave@gonzo.informatik.uni-dortmund.de (Joachim Sprave)
  3. Newsgroups: comp.std.c
  4. Subject: int const * p;
  5. Date: 1 Sep 1992 15:12:08 GMT
  6. Organization: CS Department, Dortmund University, Germany
  7. Lines: 21
  8. Sender: sprave@gonzo (Joachim Sprave)
  9. Distribution: world
  10. Message-ID: <180188INNmtc@fbi-news.Informatik.Uni-Dortmund.DE>
  11. NNTP-Posting-Host: gonzo
  12.  
  13. Could anybody look in the standard, if
  14.  
  15.     int const * p;
  16.  
  17. is allowed ?
  18.  
  19. GCC treats it as 
  20.  
  21.     const int * p;
  22.  
  23. SUN's acc gives an error.
  24.  
  25.          //////\\
  26.         /        \
  27.        _|  _   _ |_
  28.       |.|-(.)-(.)+.|
  29.        \|    J   |/
  30.         \   ---  /
  31.          \      /
  32.           "####"
  33.         Joachim
  34.