I've run into some interesting bugs in my code migrating from Creator 3.0 to 3.1. So, to get a better handle on things (and perhaps discover some latent bugs) I am wanting to use PC-Lint. It doesn't appear to be natively supported by the Creator IDE. So, any of you had experience utilizing PC-Lint with Creator 3.1? I'm trying to get an idea of complexity and caveats.
Into Crerator is integrated Clang which will do some checkings and flags lines in question while typing. Remarkable is for me to see that if(a=b)" (I'm coming from PASCAL world) gets flagged and reminds me to change that line.
Dana, I have checked the heap and stack sizes. Those were set in a previous project and hadn't changed. But good thing to remember!
Thanks Bob, I didn't know what the static analysis too was called. Clang catches most things I'm worried about, and maybe that's sufficient. I'm guessing the culprit is more deep seated than a simple coding error. I've noticed that the issue arrises when the CyBoot 4.20 component is used (rather than 4.11). My guess is it's a constant or definition with regards to the FLASH routines. But just in case, I wanted a static code analysis tool output.
So on that note, have any of you noticed a difference between Clang and PC-Lint?