[libvirt] Magic error introduced by commit f09accc

Wen Congyang wency at cn.fujitsu.com
Fri May 6 08:48:28 UTC 2011


At 05/06/2011 03:56 PM, Jiri Denemark Write:
> Hi all,
> 
> After commit f09accc (buf: add virBufferVasprintf) libvirt no longer compiles
> with -Werror because of the following error:
> 
>     CC     libvirt_util_la-macvtap.lo
> cc1: warnings being treated as errors
> /usr/include/netlink/object.h:58: error: inline function 'nl_object_priv'
> declared but never defined

I use -Werror, but do not meet this problem.
My steps to build:
1. CFLAGS=-Werror
2. export CFLAGS
3. ./configure
4. make

> 
> I must admit I don't understand why including stdarg.h (which seems to be the
> only change visible in macvtap.c) results in this warning.
> 
> Does anyone have an idea?
> 
> Jirka
> 
> --
> libvir-list mailing list
> libvir-list at redhat.com
> https://www.redhat.com/mailman/listinfo/libvir-list
> 




More information about the libvir-list mailing list