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