ARM Technical Support Knowledge Articles

WARNING 219 (LONG CONSTANT TRUNCATED TO INT)

Applies to: C51 C Compiler

Answer


Information in this article applies to:


QUESTION

While compiling my C source file, the compiler reports the following diagnostic:

WARNING 219: LONG CONSTANT TRUNCATED TO INT

ANSWER

The value of a constant expression must be capable of being represented by an int type.

MORE INFORMATION

Article last edited on: 2005-07-15 12:38:04

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