Re: [libvirt] [PATCH] Avoid GCC extensions

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

 



On Mon, Dec 15, 2008 at 09:38:52PM +0000, Daniel P. Berrange wrote:
> On Mon, Dec 15, 2008 at 11:58:06AM -0800, john.levon@xxxxxxx wrote:
> > # HG changeset patch
> > # User john.levon@xxxxxxx
> > # Date 1229367890 28800
> > # Node ID 6a8e82d7d2e166880fed8d7ad860a3e2e93d62be
> > # Parent  c324c231c6a50be9f970f0f6c6d1629a7c09ab3b
> > Avoid GCC extensions
> > 
> > Anonymous unions are not portable, nor are zero-sizes structures.
> 
> ACK. Shame there's no GCC flag to warn about this non-portability.
> At least I couldn't find one so far...

Isn't this what -pedantic does?

Rich.

-- 
Richard Jones, Emerging Technologies, Red Hat  http://et.redhat.com/~rjones
virt-df lists disk usage of guests without needing to install any
software inside the virtual machine.  Supports Linux and Windows.
http://et.redhat.com/~rjones/virt-df/

--
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]