[libvirt] [PATCH] build: fix build with older gcc

Eric Blake eblake at redhat.com
Tue May 28 23:36:48 UTC 2013


On 05/28/2013 05:33 PM, Eric Blake wrote:
> gcc 4.1.2 (hello, RHEL 5!) fails to build on 32-bit platforms with:
> 
> conf/domain_conf.c: In function 'virDomainDefParseXML':
> conf/domain_conf.c:10581: warning: integer constant is too large for 'long' type
> 
> * src/conf/domain_conf.c (virDomainDefParseXML): Mark large constants.
> 
> Signed-off-by: Eric Blake <eblake at redhat.com>
> ---
>  src/conf/domain_conf.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

Introduced in v1.0.4-6-gf8e3221; pushed under build-breaker rule.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

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


More information about the libvir-list mailing list