ARM Technical Support Knowledge Articles

EXPANSION BUFFER OVERFLOW ERROR

Applies to: C166 C Compiler

Answer

QUESTION

While using the Keil c166 compiler Version 3.11, I encountered the following error:

ACTION:  PREPROCESSING INPUT FILE
EROR:    EXPANSION BUFFER OVERFLOW

What does this mean and how can I avoid this problem in the future?

ANSWER

This problem typically occurs when there is a problem in a C macro definition. A missing parenthesis could cause this error.

It may be helpful to comment out any macro definitions to see if this rectifies the problem. If it does, check your macro definitions to make sure they are valid.

Article last edited on: 2004-05-16 17:16:44

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