Technical Support

GENERAL: PC-LINT AND _AT_ KEYWORD


Information in this article applies to:

  • µVision2  -- All versions
  • µVision3  -- All versions

QUESTION

What is the fix to get PC-LINT to handle the _at_ keyword? The line:

-d_at_=_gobble // defines _at_ to be a _gobble

causes a statement like this:

int x _at_ a + b;

to be evaluated as:

int x + b;

How do I get PC-LINT to ignore the _at_ keyword?

ANSWER

Replace the following line in CO-KC51.LNT:

-d_at_=_gobble // defines _at_ to be a _gobble

with this line:

-rw_asgn(_at_,__at)   // ignores the _at_ keyword

to make PC-LINT ignore the _at_ keyword.

SEE ALSO

Last Reviewed: Tuesday, February 14, 2006


Did this article provide the answer you needed?
 
Yes
No
Not Sure