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 (Bruce Korb)
- Subject: Re: comparisons..
- From: Joe Buck <jbuck at racerx dot synopsys dot com>
- Date: Thu, 13 Jul 2000 10:30:20 -0700 (PDT)
- Cc: andrewm at uow dot edu dot au (Andrew Morton), martin at loewis dot home dot cs dot tu-berlin dot de (Martin v. Loewis), meissner at cygnus dot com, gcc at gcc dot gnu dot org
> 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.