Static Analysis Tooling / Effective D

Jacob Carlborg doob at me.com
Wed Jan 22 00:23:03 PST 2014


On 2014-01-21 22:07, Brian Schott wrote:

> "test.d(10): Error: undefined identifier coverity_warnings"
>
> In order for this to work the analysis tool would have to distribute a
> .d or .di file that is imported by any module that needs to suppress
> warnings. Java has the SuppressWarnings annotation in the standard
> java.lang to avoid this.

Or just use an ugly string:

@("coverity_warnings")

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list