Xiaofan Chen wrote: > On Sat, Oct 25, 2008 at 11:20 AM, Vitaliy wrote: >> Does anyone have recommendations for a PIC-friendly lint? Especially for the >> higher end (24H, 33F) PICs. > > I have not used it but Microchip MPLAB supports (only supports??) > Gimple PC-lint. > http://www.gimpel.com/ I think Gimpel's PC-lint is one of the better ones. There's also Splint http://www.splint.org/ (free), but it doesn't seem to be as configurable. In general, especially for the 8 bit micros, you have to set up carefully the lint program according to what you want, and you have to program for linting, in a way. By this I mean avoiding constructs that it complains about, or mark them with the exception markers. It's something you have to spend some time with until it does what you want, and you have to adapt your code in some ways. To what degree, this depends a lot on the target and the compiler -- and of course the coding style :) It may not be all that bad for the higher end PICs. Gerhard -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist