[libvirt] [PATCH] turn off strict-aliasing warnings in two files

Daniel P. Berrange berrange at redhat.com
Fri Feb 6 18:58:02 UTC 2009


On Fri, Feb 06, 2009 at 07:31:46PM +0100, Jim Meyering wrote:
> Without these changes and with gcc-4.4,
> I'd get 4 warnings (2 in each file)
> about strict-aliasing violations.
> -Wstrict-aliasing is worth keeping in general, so I
> have disabled it only for the two offending files.


Can you show what lines / code trigger the warnings  and/r just
post the warnings themselves ?

Daniel
-- 
|: Red Hat, Engineering, London   -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org  -o-  http://virt-manager.org  -o-  http://ovirt.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-  F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|




More information about the libvir-list mailing list