C/C++ Programmer's Guide (G06.27+, H06.08+, J06.03+)

Cause
An address pointing to the code space is passed to a runtime routine under the small-memory
model. This address is not valid in the code segment the runtime routine resides in. Pragmas
CSADDR and NOINLINE must be used to ensure correct behavior.
216
main function not allowed under ENV EMBEDDED/LIBSPACE
Cause
The existence of the function main() is not meaningful under pragma ENV EMBEDDED or ENV
LIBRARY.
217
variable name and macro name conflict the macro name is installed
Cause
A macro has been defined with the same name as an existing variable.
218
no statement following a label
Cause
A label has been specified immediately before the end of a compound statement.
222
structure cannot contain members in code and data space at the same
time
Cause
All the members of a structure have to reside in the data space or the code space; mixing is not
possible.
224
number of bytes passed relies on previous declaration only
Cause
The declarations for a pointer modified with the _cspace attribute are different. For example:
#pragma csaddr
_cspace const struct S_tag { int i,j,k; } s = { 10, 20, 30 };
/* Declared as 6 bytes */
func1 (_cspace const char * );
foo()
{
_cpace const char *q; /* Declared as 1 byte */
q = (const char *) &s;
foo1 ( q );
/* Only one byte copied and passed, */
} /* but points at a six-byte structure */
225
local variable name variable-name same as function parameter
Cause
A local variable and function parameter have the same name. For example:
Types of Compiler Messages 357