Keil Logo

PCLINT: PC-LINT and the _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.

MORE INFORMATION

SEE ALSO


Last Reviewed: Thursday, February 25, 2021


Did this article provide the answer you needed?
 
Yes
No
Not Sure
 
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.