This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: comparisons..
- To: bkorb at sco dot COM
- Subject: Re: comparisons..
- From: Phil Edwards <pedwards at disaster dot jaj dot com>
- Date: Thu, 13 Jul 2000 13:10:13 -0400
- Cc: gcc at gcc dot gnu dot org
Bruce Korb <bkorb@sco.COM>:
> 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 :-)
I and some of my coworkers have occasionally created ancilliary 4- and
5-line specs files, and use those to augment the defaults. Usually we
use them to turn on /boatloads/ of extra warnings, but occasionally we
need some weird -f/-m flags turned on (and we can't modify the makefiles
for other reasons).
Then it's just "gcc -specs=.../philspecs" or "gcc -specs=.../bobspecs"
or, etc.
Phil