home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / gnu / gcc / help / 2582 < prev    next >
Encoding:
Text File  |  1992-11-23  |  1.4 KB  |  38 lines

  1. Newsgroups: gnu.gcc.help
  2. Path: sparky!uunet!cis.ohio-state.edu!damon.ccs.northeastern.edu!jtsilla
  3. From: jtsilla@damon.ccs.northeastern.edu (James Tsillas)
  4. Subject: Looking for a switch to turn off builtin decl warnings.
  5. Message-ID: <9211231445.AA02620@damon>
  6. Sender: daemon@cis.ohio-state.edu
  7. Organization: GNUs Not Usenet
  8. References: <9211230402.AA18702@mole.gnu.ai.mit.edu>
  9. Distribution: gnu
  10. Date: Mon, 23 Nov 1992 04:45:27 GMT
  11. Lines: 25
  12.  
  13.    Date: Sun, 22 Nov 92 23:02:36 -0500
  14.    From: rms@gnu.ai.mit.edu (Richard Stallman)
  15.  
  16.    If you get frequent warnings about built-in functions in GCC 2.3,
  17.    chances are some bug is responsible.  The only way anyone can find out
  18.    is if you send a precise bug report.  So please do that.  Papering
  19.    over the problem with an option will avoid getting to the bottom of
  20.    things.
  21.  
  22.  
  23. I don't consider this to be a bug. The warnings are due to our
  24. definition of several functions which conflict with the builtin types.
  25. We have a function 'sin' for example which accept input from a tty
  26. stream. We get a warning in almost every file because sin is implicitly
  27. declared as a builtin. The warnings don't do any harm, they are just
  28. annoying.
  29.  
  30. We are not running a Unix-like OS. We are using GCC in our real time OS
  31. which we embed in our router. This means we do not have the same calling
  32. interface that one would normally find, so we tend to get more than an
  33. average number of warnings for builtin declarations.
  34.  
  35. best regards,
  36. -Jim.
  37.  
  38.