ActiveState Community

TclChecker suppress warnings/errors

Posted by sberube on 2009-05-11 17:44
OS: All / Any

We are using eclipse + DLTK Plugin + TclChecker currently in trial mode. We are trying to see if there is a way to add a supress warning tag to the code so when tclchecker processes the file, it can look at that tag and ignore the warning/error similar to how java does it. I couldn't find anything in the doc for this so I was hoping someone knew a way to do it. The warnings we want to ignore can be safely ignored.

jeffh | Tue, 2009-05-12 09:45

You can suppress messages in multiple ways, as noted at:

http://docs.activestate.com/tdk/5.0/Checker.html

You might want the section "Suppressing Specific Messages", but there is more than one way to do it.

sberube | Tue, 2009-05-12 12:47

Hi, thank for the reply, I read that a few times but couldn't find a way to suppress by notations in code. If that is possible and I missed it please let me know. Thanks!

jeffh | Tue, 2009-05-12 12:48

This area notes the inline code pragmas that can be used to avoid checking over a single line or block.

http://docs.activestate.com/tdk/5.0/Checker.html#CheckerPragmas