"defined but not used" warning for .gnu.warning symbols

Roland McGrath roland@frob.com
Mon Apr 29 00:47:00 GMT 2002


> On Sun, 2002-04-28 at 12:54, Roland McGrath wrote:
> 
> > Should we add the `unused' attribute to the symbol?  Is there something
> > that guarantees us gcc won't optimize out these defns entirely?
> 
> Probably.  If that actually helps, that is.

It does.  I put it in.



More information about the Libc-hacker mailing list