pragma-like warning turn off ?

DJ Delorie dj@redhat.com
Wed Aug 22 19:19:00 GMT 2007


Ian Lance Taylor <iant@google.com> writes:
> Let's do that.

We've already talked about keeping track of the source location of
each #pragma, and searching them for the "state" at a given line.  The
diagnostic machinery seems to be able to tell what file/line each
diagnostic is for, we should be able to scan the pragma list to see
what right thing to do is.  I think this would be far easier than
trying to queue up all the diagnostics and *then* scan the list.

Assuming we've fully converted to the single-integer source location.



More information about the Gcc mailing list