Ready for 2.3.10?
David Carter
dpc22 at cam.ac.uk
Fri Oct 5 15:59:49 EDT 2007
On Fri, 5 Oct 2007, Ken Murchison wrote:
> I spent a lot of time cleaning things up so that the number of warnings from
> 'gcc -W -Wall' are minimal. The one that has me baffled is this:
>
> warning: type-punning to incomplete type might break strict-aliasing rules
I only see this with GCC 4.1.0 if -fstrict-aliasing or -O2 is set.
The GCC man page explains -fstrict-aliasing. I also found the following:
http://en.wikipedia.org/wiki/Type_punning
--
David Carter Email: David.Carter at ucs.cam.ac.uk
University Computing Service, Phone: (01223) 334502
New Museums Site, Pembroke Street, Fax: (01223) 334679
Cambridge UK. CB2 3QH.
More information about the Cyrus-devel
mailing list