This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/4076] -Wunused doesn't warn about static function only called by itself.
- From: "manu at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 16 Feb 2007 23:35:01 -0000
- Subject: [Bug c/4076] -Wunused doesn't warn about static function only called by itself.
- References: <bug-4076-1176@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #15 from manu at gcc dot gnu dot org 2007-02-16 23:35 -------
(In reply to comment #14)
> (In reply to comment #12)
> > 1) there is no warning if I add the keyword "inline" to objc-list.h
> > (list_free).
>
> I preapprove the patch which adds the keyword inline to that function.
>
> Thanks,
> Andrew Pinski
>
Oh, thanks! I will prepare the patch, commit it and send it to gcc-patches just
for reference.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=4076