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

Ulrich Drepper drepper@redhat.com
Sun Apr 28 14:27: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.

-- 
---------------.                          ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Red Hat          `--' drepper at redhat.com   `------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 232 bytes
Desc: This is a digitally signed message part
URL: <http://sourceware.org/pipermail/libc-hacker/attachments/20020428/af0dee0c/attachment.sig>


More information about the Libc-hacker mailing list