comparisons..
Phil Edwards
pedwards@disaster.jaj.com
Thu Jul 13 10:09:00 GMT 2000
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
More information about the Gcc
mailing list