-Wstrict-aliasing=2 does not warn about all problems

Ian Lance Taylor ian@airs.com
Thu Jul 28 22:49:00 GMT 2005


James E Wilson <wilson@specifix.com> writes:

> Ian Lance Taylor wrote:
> > -Wstrict-aliasing=2.  It warns about more possible problems than
> > -Wstrict-aliasing, but it does not warn about all possible problems.
> 
> This is the important point that I was trying to get across, though I
> do see that using "all" can be misconstrued here.  How about something
> like this?

Works for me.  Thanks.

Ian



More information about the Gcc mailing list