beautypg.com

Echelon Neuron User Manual

Page 70

background image

62

Neuron C Compiler Errors (NCC)

NCC#

Description

141

Not a field in specified struct/union [NCC#141]

The compiler outputs this message when the right-hand side of the

-> or . operator is not a field in the struct or union type that corresponds to
the left-hand-side expression.

142

Invalid storage class combination [NCC#142]

This diagnostic results from incorrect or conflicting combinations of storage

class keywords, such as eeprom and ram. The error is used for more than
just conflicting memory types. For example, an attempt to use the cp or

cp_family keyword with a timer or a msg_tag, or any invalid combination of

declaration class keywords could cause this error message.

143

Repeated storage class keyword was ignored [NCC#143]

Repeated keywords are ignored (for example, const const is the same as
const), but a diagnostic message is printed.

144

The 'quad' type is not supported. [NCC#144]

Neuron C does not support the quad type, but quad is a reserved word for

future support of a 32-bit signed int type. The keyword quad refers to the

four bytes of data for the 32-bit signed integer. This type could also be
called a double long int.

145

Invalid data type combination [NCC#145]

This diagnostic message results from incorrect or conflicting type

combinations. For example, short and long is a conflicting type
combination. Combining timer object declarations with the keyword

msg_tag, for example, is an incorrect result type.

146

Repeated data type keyword was ignored [NCC#146]

Repeated keywords are ignored (for example, int int is the same as int), but

a diagnostic message is printed.