This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

PC-Lint and RTX166

Hello,

has anyone already succesfully configured the wonderful PC-Lint tool for RTX166? I mean, configured so that it does recognize the RTX166 specific sintax for task functions declaration...
Thanks- Stefano Costa

Parents
  • Thanks Stefan!!!

    Today I did some tests and found that adding a couple of PC-Lint configuration comments at the beginning of each module using RTX166 tasks does the trick:

    /*lint -d_task_=_gobble */
    /*lint -d_priority_=_gobble */

    This makes both _task_ and _priority_ errors suppressed.
    I also added to CO-KC166.LNT the error mask for the new registers of the XC family (with a series of -esym tokens) as you already did I suppose.
    By doing so, I discovered that a few XC registers have been erroneously declared twice in the Keil XC header.
    Thanks again.

Reply
  • Thanks Stefan!!!

    Today I did some tests and found that adding a couple of PC-Lint configuration comments at the beginning of each module using RTX166 tasks does the trick:

    /*lint -d_task_=_gobble */
    /*lint -d_priority_=_gobble */

    This makes both _task_ and _priority_ errors suppressed.
    I also added to CO-KC166.LNT the error mask for the new registers of the XC family (with a series of -esym tokens) as you already did I suppose.
    By doing so, I discovered that a few XC registers have been erroneously declared twice in the Keil XC header.
    Thanks again.

Children