🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #689

Looking for a switch to turn off builtin decl warnings.

#689
From: James Tsillas
Date: Mon, 23 Nov 1992 04:45
24 lines
1504 bytes
   Date: Sun, 22 Nov 92 23:02:36 -0500
   From: rms@gnu.ai.mit.edu (Richard Stallman)

   If you get frequent warnings about built-in functions in GCC 2.3,
   chances are some bug is responsible.  The only way anyone can find out
   is if you send a precise bug report.  So please do that.  Papering
   over the problem with an option will avoid getting to the bottom of
   things.


I don't consider this to be a bug. The warnings are due to our
definition of several functions which conflict with the builtin types.
We have a function 'sin' for example which accept input from a tty
stream. We get a warning in almost every file because sin is implicitly
declared as a builtin. The warnings don't do any harm, they are just
annoying.

We are not running a Unix-like OS. We are using GCC in our real time OS
which we embed in our router. This means we do not have the same calling
interface that one would normally find, so we tend to get more than an
average number of warnings for builtin declarations.

best regards,
-Jim.
Technical Details
Message-ID: <9211231445.AA02620@damon>
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!damon.ccs.northeastern.edu!jtsilla
References: <9211230402.AA18702@mole.gnu.ai.mit.edu>

Show Full Headers
Complete Article Headers
Newsgroups: gnu.gcc.help
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!damon.ccs.northeastern.edu!jtsilla
From: jtsilla@damon.ccs.northeastern.edu (James Tsillas)
Subject: Looking for a switch to turn off builtin decl warnings.
Message-ID: <9211231445.AA02620@damon>
Sender: daemon@cis.ohio-state.edu
Organization: GNUs Not Usenet
References: <9211230402.AA18702@mole.gnu.ai.mit.edu>
Distribution: gnu
Date: Mon, 23 Nov 1992 04:45:27 GMT
Lines: 25