Echelon Neuron User Manual
Page 61
Neuron Tools Errors Guide
53
NCC#
Description
61
Object is not a struct/union pointer [NCC#61]
The compiler outputs this message when the left-hand side of the ->
operator is not a pointer to a struct or union type.
62
Object is not a structure or union [NCC#62]
The compiler outputs this message when the left-hand side of the dot (.)
operator is not a struct or union type.
63
Invalid cast operation [NCC#63]
Some conversions between data types are not permitted, even through an
explicit cast. For example, an object cannot be cast if its base type is not
known. Nor can an object be cast to void and then used in an expression.
64
Cannot remove ‘const’ attribute via cast operation [NCC#64]
To prevent data that is declared constant from being modified, Neuron C
will not permit pointers including the const attribute from being cast such
that the const attribute is removed. Neither does the compiler permit an
implicit conversion of pointer (for example, by a function call) such that the
const attribute would be removed. However, use of the #pragma
relaxed_casting_on changes this error into a warning. See the
Compiler
Directives
chapter in the
Neuron C Reference Guide
for more information
on this pragma.
65
Cannot compute ‘sizeof’ for object [NCC#65]
The compiler attempted to calculate the size of a type, but did not have
enough information. This could result from a sizeof expression for an object
like a timer object, or a message tag, or a typedef name which is a
bind_info, or some similar circumstance.
66
Message object reference cannot be assigned to [NCC#66]
The message objects msg_in and resp_in are read-only. Attempts to use
these objects on the left side of an assignment statement result in the
diagnostic message above.
67
Pulsecount I/O object cannot use clock 0 [NCC#67]
The pulsecount I/O object does not support use of clock 0. Its use will
produce an indeterminate number of output pulses.
68
Message event code must be in range 0..127 [NCC#68]
The event msg_arrives accepts one optional parameter, which is a message
event code. This code must be a compile-time constant integer expression
with a value from 0 to 127, inclusive.