2011/11/2 Eric Blake <eblake@xxxxxxxxxx>: > On 11/02/2011 04:17 AM, Daniel P. Berrange wrote: >> >> There's a compile problem with this patch >> >> CC libvirt_driver_qemu_la-qemu_driver.lo >> qemu/qemu_driver.c: In function 'qemuDomainBlockStatsFlags': >> qemu/qemu_driver.c:7325:24: error: 'param' may be used uninitialized in >> this function [-Werror=uninitialized] >> cc1: all warnings being treated as errors > > Wonder why I didn't see it in my environment? F14 gcc 4.5.1; maybe you were > using newer gcc? At any rate, thanks for fixing up my mess. Are you compiling with -O0? Because gcc reports/detects some uninitialized warnings only with -O2, while it doesn't warn with -O0. -- Matthias Bolte http://photron.blogspot.com -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list