ARM Technical Support Knowledge Articles

WARNING 198 (SIZEOF RETURNS ZERO)

Applies to: C51 C Compiler

Answer


Information in this article applies to:


QUESTION

When I compile a C source file, I get the following warning:

WARNING 198: SIZEOF RETURNS ZERO

ANSWER

The calculation of the size of an object yields zero. This value may be wrong if the object is external or if all of the dimensions of an array are not known.

MORE INFORMATION

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

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