On Sun, Mar 08, 2015 at 09:26:17PM +0900, Peter Maydell wrote:
> On 8 March 2015 at 19:45, Michael S. Tsirkin <m...@redhat.com> wrote:
> > On Sun, Mar 08, 2015 at 09:15:41AM +0900, Peter Maydell wrote:
> > I can drop this one as a work around but I wonder why is clang warning
> > about unused static inlines.
> >
> > We have a ton of these in each header and it doesn't warn,
> > in theory static inline should be same as macro: harmless
> > unless used.
> 
> It warns about them in .c files but not .h files.
> 
> -- PMM

What a strange thing to do, seems to mix up concepts from
preprocessor and compiler stages.
Anyway, I sent pull v6 adding a patch to drop this.
It's just a warning, and I'm guessing full bisectability
with clang isn't that important, so not rebasing because
of this.

-- 
MST

Reply via email to