On 05/13/2013 06:17 AM, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange"
>
> Clang does not like it when you pass a static variable to an
> inline function
>
> vircgroupmock.c:462:22: error: static variable 'fakesysfsdir' is
> used in an inline function with external linkage
> [-Werror
From: "Daniel P. Berrange"
Clang does not like it when you pass a static variable to an
inline function
vircgroupmock.c:462:22: error: static variable 'fakesysfsdir' is
used in an inline function with external linkage [-Werror,-Wstatic-in-inline]
Just make the var non-static to avoid this
S