From mboxrd@z Thu Jan 1 00:00:00 1970 From: Phil Edwards To: bkorb@sco.COM Cc: gcc@gcc.gnu.org Subject: Re: comparisons.. Date: Thu, 13 Jul 2000 10:09:00 -0000 Message-id: <200007131710.NAA05453@disaster.jaj.com> X-SW-Source: 2000-07/msg00409.html Bruce Korb : > 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