home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / gnu / gcc / bug / 2194 < prev    next >
Encoding:
Text File  |  1992-08-26  |  1.6 KB  |  56 lines

  1. Newsgroups: gnu.gcc.bug
  2. Path: sparky!uunet!cis.ohio-state.edu!claude.cs.umb.edu!karl
  3. From: karl@claude.cs.umb.edu (Karl Berry)
  4. Subject: GCC manual errors?
  5. Message-ID: <199208261853.AA05454@claude.cs.umb.edu>
  6. Sender: gnulists@ai.mit.edu
  7. Reply-To: karl@cs.umb.edu
  8. Organization: GNUs Not Usenet
  9. Distribution: gnu
  10. Date: Wed, 26 Aug 1992 10:53:33 GMT
  11. Approved: bug-gcc@prep.ai.mit.edu
  12. Lines: 42
  13.  
  14. A few possible buglets in the GCC 2.2.2 manual:
  15.  
  16. Node: Incompatibilities
  17.  
  18.    * Programs that use preprocessor directives in the middle of macro
  19.      arguments do not work with GNU CC.  For example, a program like
  20.      this will not work:
  21.  
  22.           foobar (
  23.           #define luser
  24.                   hack)
  25.  
  26. I'm probably just being dense, but I don't understand this example.  Is
  27. there supposed to be a `#define foobar(arg)' before this?
  28.  
  29.  
  30. Node: Disappointments
  31.  
  32.      This code really is erroneous, because the scope of `struct
  33.      mumble' the prototype is limited to the argument list containing
  34.  
  35. I think the word `in' is missing before `the prototype'.
  36.  
  37.  
  38. Node: Non-bugs
  39.  
  40.    * Assuming (for optimization) that the address of an external
  41.      symbol is never zero.
  42.  
  43.      This assumption is false on certain systems when `#pragma weak' is
  44.      used.
  45.  
  46. Since the GNU C preprocessor doesn't recognize `#pragma weak' (as far as
  47. I can tell), maybe changing the second sentence to something like:
  48.  
  49.      This assumption is false on certain systems when you use
  50.      `#pragma weak' and a compiler other than GNU CC.
  51.  
  52. would make it clearer that #pragma weak is not a GNU feature, and it's
  53. pointless to look through the GNU documentation for it.
  54.  
  55.  
  56.