On Wed, Jul 12, 2006 at 12:54:30AM -0500, Andy Lester wrote: > I think the very first thing we ought to do is start working on > turning up the warnings levels in gcc as much as we can, and add as > many warnings flags as we can. gcc at least is pretty standard and > we can all use it.
config/auto/gcc.pm has logic to enable gcc warnings by gcc version. At one time we had more warnings on that we do now. Turning the alignment warnings on gets "interesting" (for a very noisy value of interesting) on architectures less forgiving than x86, such as sparc. Nicholas Clark