ARM Technical Support Knowledge Articles

WARNING 196 (MSPACE PROBABLY INVALID)

Applies to: C51 C Compiler

Answer


Information in this article applies to:


QUESTION

When trying to compile a C source file, I get the following diagnostic:

WARNING 196: MSPACE PROBABLY INVALID

ANSWER

This warning is caused by the assignment of an invalid constant value to a pointer. Valid pointer constants are long or unsigned long. The compiler uses 24 bits (3 bytes) for pointer objects. The low-order 16 bits represent the offset. The high-order 8 bits represent the memoryspace selector.

MORE INFORMATION

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

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