This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


I'm using gcc from today's cvs to build current libc and for every
stub_warning it gives me a warning like this one:

../sysdeps/generic/shmctl.c:35: warning: `__evoke_link_warning_shmctl' defined but not used

Should we add the `unused' attribute to the symbol?  Is there something
that guarantees us gcc won't optimize out these defns entirely?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]