ARM Technical Support Knowledge Articles

INLINE FUNCTIONS IN C

Applies to: General Topics

Answer


Information in this article applies to:


QUESTION

Does the Keil C Compiler support inline C function?

ANSWER

No. The inline keyword (of C++) is not supported by the Keil C Compilers. This feature may be implemented in a future release of the C51, C251, and C166 compilers.

You may of course use the #define preprocessor directive to create a macro that expands inline.

Article last edited on: 2000-11-01 00:00:00

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