ARM Technical Support Knowledge Articles

WARNING 307 (MACRO 'NAME': PARAMETER COUNT MISMATCH)

Applies to: C51 C Compiler

Answer


Information in this article applies to:


QUESTION

When I compile my C source file, I get the following diagnostic:

WARNING 307: MACRO 'NAME': PARAMETER COUNT MISMATCH

ANSWER

The number of actual parameters in a macro call does not match the number of parameters of the macro definition. This warning indicates that too few parameters were used.

MORE INFORMATION

Article last edited on: 2005-07-15 12:46:59

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