![](https://pdfstore-manualsonline.prod.a.ki/pdfasset/7/e4/7e4f09e5-2cbc-46d8-934f-9c9031bdf248/7e4f09e5-2cbc-46d8-934f-9c9031bdf248-bg2a.png)
5-22 Neuron C Compiler Errors (NCC)
NCC# Description
165 Invalid type for bitfield [NCC#165]
A bitfield may only be declared using only a combination of the type
keywords int, signed, unsigned, long, short, and char. Bitfields
may not be arrays, pointers, structures, or any other Neuron C type.
166 Field name in struct/union cannot be repeated [NCC#166]
Each field name at a given level of a struct or union declaration
must be unique. Names are case sensitive.
167 Extern declarations cannot have initializers [NCC#167]
The semantics of an extern declaration and an initialized
declaration are incompatible. An extern declaration is intended to
reference an object defined elsewhere (usually in another module,
although it may be a forward reference). An initialized declaration is
intended to be the defining declaration of the object. Only one such
initialized declaration should appear for each object.
168 Const variables require initialization [NCC#168]
A variable declared with the const attribute must have an
initializer. Note that this does not apply to a typedef that includes
the const attribute.
169 Call to ‘io_out’ requires output value parameter [NCC#169]
The built-in function call io_out( ), which is used to initiate an
output to a Neuron I/O object, must be given at least two parameters,
the first being the I/O object name, and the second being the value to
be output.
170
Cannot have ‘io_changes’ & ‘io_update_occurs’ on same I/O
object [NCC#170]
The Neuron C event expressions for io_update_occurs and
io_changes (with its various options) only apply to I/O objects that
are inputs. Furthermore, some events are not applicable to some
input object types. Only one form of event expression can be used
per I/O object. A maximum of 15 I/O objects can have
io_update_occurs and io_changes events. The syntax of all the
event expressions requires the event type to be followed by the object
name, in parentheses.
171 Improper context for ‘continue’ statement [NCC#171]
A continue statement can only occur inside a do, for, or while
statement. It causes execution to immediately branch back to the
first statement of the loop statement that contains the continue
statement.
172 Function definition does not allow return value [NCC#172]
The function, whose declared return data type is void, has a
statement of the form return expression.