Am Montag, 29. Januar 2007 schrieb Giel van Schijndel: > On Mon, 29 Jan 2007 15:20:54 +0100, "Per Inge Mathisen" <[EMAIL PROTECTED]> wrote: > > On 1/29/07, Giel van Schijndel <[EMAIL PROTECTED]> wrote: > >> Hmm, maybe that's a nice idea for some spare time: writing a > > > > diff-utility that generates diffs > on compiler warnings/errors. > > > > Or just fixing those already present? > > Yes, and not commiting code that adds new ones. > > > I have to say, though: adding a ton of new warning flags to gcc for > > the debug builds may not have been a very bright idea. I think it > > would be better with the general rule that you do not add a new flag > > before you have removed the warnings it would generate *first* (ie the > > flag is there to avoid regressions, not to nag people about your TODO > > list). > > Honestly I don't know what you're talking about here. Since only -Wall is > currently passed to gcc for generation of compiler warnings. Unless you > count -fpermissive along, which actually turns certain (resolvable) > compiler errors into warnings.
I think he means -Wall -Wextra -Wwrite-strings -Wcast-qual -Wmissing-declarations -Wstrict-prototypes -Wold-style-definition which I added on request of someone a looong while ago. ;) --Dennis
pgppO5BwwUbhl.pgp
Description: PGP signature
_______________________________________________ Warzone-dev mailing list Warzone-dev@gna.org https://mail.gna.org/listinfo/warzone-dev