Ready for 2.3.10?
Ken Murchison
murch at andrew.cmu.edu
Fri Oct 5 16:11:54 EDT 2007
David Carter wrote:
> 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.
Apparently -Wall sets -fstrict-aliasing implicitly.
> The GCC man page explains -fstrict-aliasing. I also found the following:
>
> http://en.wikipedia.org/wiki/Type_punning
Thanks. I'll see if I can find a way to squash these.
--
Kenneth Murchison
Systems Programmer
Project Cyrus Developer/Maintainer
Carnegie Mellon University
More information about the Cyrus-devel
mailing list