ARM Technical Support Knowledge Articles

WARNING 277 (DIFFERENT MSPACES TO POINTER)

Applies to: C51 C Compiler

Answer


Information in this article applies to:


QUESTION

When I compile my C source file I get the following warning:

WARNING 277:  DIFFERENT MSPACES TO POINTER

What causes this?

ANSWER

A typedef declaration has a conflict of the memory spaces. For example:

typedef char xdata XCC;   /* mspace xdata */
typedef XCC  idata PICC;  /* mspace collision */

MORE INFORMATION

Article last edited on: 2006-10-24 12:38:02

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