This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Add a __nowarn__ keyword
On Fri, 10 Aug 2007, DJ Delorie wrote:
>
> Gabriel Dos Reis <gdr@cs.tamu.edu> writes:
> > | #pragma GCC diagnostics push ignore "-Wcast-qual"
> >
> > DJ, what do you think?
>
> I think that's an easy change.
DJ, over here:
http://gcc.gnu.org/ml/gcc-patches/2007-08/msg00538.html
you said: "We don't really support changing the diagnostics *after* you
start defining functions. If that happens to work at all, it's only by
coincidence, especially with file-at-a-time optimizations and tree
inlining."
I expect that for the new push/pop interface to be useful, we'll need to
support multiple uses and allow them to occur midway through the file.
Do you expect this to be supported now?
Thanks,
--Kaveh
--
Kaveh R. Ghazi ghazi@caip.rutgers.edu