[libvirt] [PATCH] Fix build for older gcc

Jim Fehlig jfehlig at novell.com
Wed Apr 6 21:28:06 UTC 2011


Eric Blake wrote:
> On 04/06/2011 03:10 PM, Jim Fehlig wrote:
>   
>> With gcc 4.3.4 I'm seeing the following warning failure
>>
>> cc1: warnings being treated as errors
>> cc1: error: -funit-at-a-time is required for inlining of functions
>> that are only called once [-Wdisabled-optimization]
>>
>> Add -funit-at-a-time to WARN_CFLAGS.
>> ---
>>     
>
> ACK, please push (I'm seeing the same thing on Cygwin, where gcc is also
> at 4.3.4).
>   

Ok, pushed.  Thanks.




More information about the libvir-list mailing list