Keil Logo

C166: _TESTBIT_ FUNCTION GIVES A WARNING


Information in this article applies to:

  • C166 All Versions

QUESTION

I'm trying to use some of the example programs from the Keil manuals and I receive the following warning:

*** WARNING 140 IN LINE 344 OF .\EXAMPLE.C:
    '_testbit_' undefined; assuming 'extern int _testbit_()'

How can I fix this?

ANSWER

This warning indicates that the _testbit_ function is undefined. This function name is a misprint and should have been _testclear_. Changing it to _testclear_ solves this warning.

MORE INFORMATION

Last Reviewed: Friday, July 15, 2005


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.