comparisons..

Joe Buck jbuck@racerx.synopsys.com
Thu Jul 13 10:32:00 GMT 2000


> How hard would it be (wondering aloud and not having done 
> any research at all)....
> 
> to set up an rc-type file at either gcc build time or
> gcc run time (or both?) that contained a list of "my" warnings
> and allowed someone to merely specify -Wmine on the command
> line.  Just wondering....*not* volunteering :-)

It's not needed; you already have make.  Just put

CFLAGS=-Wthis -Wno-that -Wthis-one-too -Wno-stupid-warning ...

Folks working together on a free software project can standardize
on a set of warnings they think important and set up their makefiles
accordingly.



More information about the Gcc mailing list