This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: comparisons..



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]