Re: [PATCH 2/2] qemu: allow getting < max typed parameters

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]