This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: pointer <-> integer conversion warnings (bogus -Wall warnings)
From: "David O'Brien" <obrien@FreeBSD.org>
Try using the same OS code base for ILP32 LE (i386), LP64 LE (Alpha), and
LP64 BE (sparc64) and you WILL appreciate all the warnings GCC gives in
this area. We do this in FreeBSD'ville, and the number of times the i386
guys break things on Alpha (and soon sparc64) has lead us to turn on
-Werror to harder beat them over head head with this type of warning.
Providing the warning as an option and providing options that are
closer to the traditional meaning of "-Wall" is fine with me.
-t