Keil™, An ARM® Company

Technical Support

C166: EXPANSION BUFFER OVERFLOW ERROR

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.

Last Reviewed: Sunday, May 16, 2004


Did this article provide the answer you needed?
 
Yes
No
Not Sure