[libvirt] [PATCH] Fix build for older gcc

Eric Blake eblake at redhat.com
Wed Apr 6 21:19:51 UTC 2011


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).

-- 
Eric Blake   eblake at redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 619 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20110406/69a61750/attachment-0001.sig>


More information about the libvir-list mailing list