This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


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

[Bug c/4076] -Wunused doesn't warn about static function only called by itself.



------- 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


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