On Sat, 31 Jan 2009, Taras Glek wrote:

> One simple and useful plugin could be a per-function warning suppressor. ie
> functions flagged with user(no-warn-unused-variable) could suppress a
> particular false warning.

I don't really think it makes sense for this to be a plugin; it's generic 
infrastructure tightly integrated with the existing "#pragma GCC 
diagnostic" (the right approach would be to make that pragma work in the 
cases it's presently documented not to work reliably, and the basic 
approach discussed in the past is to keep track of enabled or disabled 
diagnostics for ranges of mapped locations).

-- 
Joseph S. Myers
jos...@codesourcery.com

Reply via email to