ARM Technical Support Knowledge Articles

_TESTBIT_ FUNCTION GIVES A WARNING

Applies to: C166 C Compiler

Answer


Information in this article applies to:


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

Article last edited on: 2005-07-15 13:22:07

Rate this article

[Bad]
|
|
[Good]
Disagree? Move your mouse over the bar and click

Did you find this article helpful? Yes No

How can we improve this article?

Link to this article
Copyright © 2011 ARM Limited. All rights reserved. External (Open), Non-Confidential