[libvirt] [PATCH] daemon: Fix compilation error of dispatch.c

Daniel P. Berrange berrange at redhat.com
Mon Jul 5 09:52:00 UTC 2010


On Sun, Jul 04, 2010 at 07:02:32AM +0900, Ryota Ozaki wrote:
> [error message]
>   CC     libvirtd-dispatch.o
> dispatch.c: In function 'remoteDispatchFormatError':
> dispatch.c:83: error: 'va_list' undeclared (first use in this function)
> dispatch.c:83: error: (Each undeclared identifier is reported only once
> dispatch.c:83: error: for each function it appears in.)
> dispatch.c:83: error: expected ';' before 'args'
> cc1: warnings being treated as errors
> dispatch.c:87: error: implicit declaration of function 'va_start' [-Wimplicit-function-declaration]
> dispatch.c:87: error: nested extern declaration of 'va_start' [-Wnested-externs]
> dispatch.c:87: error: 'args' undeclared (first use in this function)
> dispatch.c:88: error: implicit declaration of function 'vsnprintf' [-Wimplicit-function-declaration]
> dispatch.c:89: error: implicit declaration of function 'va_end' [-Wimplicit-function-declaration]
> dispatch.c:89: error: nested extern declaration of 'va_end' [-Wnested-externs]

What build platform do you see these errors on ?

Regards,
Daniel
-- 
|: Red Hat, Engineering, London    -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org -o- http://virt-manager.org -o- http://deltacloud.org :|
|: http://autobuild.org        -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|




More information about the libvir-list mailing list