[Spice-devel] [xf86-video-qxl warnings 5/6] Actually request the forcibly inline functions to be inline.
Jeremy White
jwhite at codeweavers.com
Fri Mar 22 05:43:38 PDT 2013
>>> The '__attribute__((always_inline))' does not strictly imply 'inline'.
>>> Newer versions of gcc detect this misuse and issue the warning.
>>> Including the missing 'inline' resolves the build warning.
>>
>> Looked reasonable to me, hence the patch.
>
> I'd expect gcc to inline the function anyway, even without 'inline FORCE_INLINE'
Yeah, I think it does. But then it warns you about it. I just quiet the warning.
Cheers,
Jeremy
More information about the Spice-devel
mailing list