Keil™, An ARM® Company

Technical Support

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