This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Can't turn off overflow_warning?
- From: DJ Delorie <dj at redhat dot com>
- To: lucier at math dot purdue dot edu
- Cc: gcc at gcc dot gnu dot org
- Date: Fri, 15 Jul 2005 22:35:41 -0400
- Subject: Re: Can't turn off overflow_warning?
- References: <93195b3ade05efbce5e3d6f81272ea2a@math.purdue.edu>
> If I were to propose a patch, which way should I go?
Why not check out my recently posted -Wpragmas patch on gcc-patches?
It takes a set of existing non-optional warnings, and gives them an
option that can be used to disable them, which defaults to on
(i.e. -Wno-pragmas is the useful option).
That way, you get control but the default action stays the same.