On Fri, Oct 16, 2009 at 09:12, Benjamin Smedberg <[email protected]> wrote:
> That's what mozilla does. We have a --with-static-checking configure flag, > and our annotations (NS_FINAL_CLASS etc) are defined conditionally. We have > to do that anyway since we compile with MSVC and SunCC and other compilers. OK. > You could use -Wno-attributes, which suppresses warnings about *all* unknown > attributes. Alternately, we could modify GCC so that -Wno-attributes takes > an optional argument, e.g. > > -Wno-attributes=user > -Wno-attributes=NS_stack Good idea. I'll see about implementing this. Thanks. Diego. _______________________________________________ dev-static-analysis mailing list [email protected] https://lists.mozilla.org/listinfo/dev-static-analysis
