Echelon NodeBuilder Errors 3120 User Manual Page 41

  • Download
  • Add to my manuals
  • Print
  • Page
    / 123
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 40
NodeBuilder Errors Guide 5-21
NCC# Description
154 This event cannot be duplicated [NCC#154]
There are three special events in Neuron C which can only appear in
at most one when clause. These events are reset, offline, and
online.
155 The ‘priority’ is ignored for this ‘when’ clause [NCC#155]
There are three special events in Neuron C, namely reset, offline,
and online, for which the declaration of priority has no effect. This
is because, due to the special times at which these clauses are
executed, they always have priority.
156 Function must return a value [NCC#156]
The function, whose declared return data type is not void, does not
have a return statement (in every possible path to the end of the
function) that returns a value of the appropriate type.
157 Expression for switch must be a ‘short’ [NCC#157]
The switch statement can handle values only in the range of the int
data type, which is from -128 to 127 inclusive in Neuron C.
158 Improper context for ‘break’ statement [NCC#158]
A break statement can only occur inside a do, for, or while loop, or
inside a switch statement.
159 Object being declared cannot be initialized [NCC#159]
Declaration-time initialization cannot be used for typedefs, timer
objects, message tags, function parameters, structure tags, union
tags, and enum tags.
160 This declaration may only be at file scope [NCC#160]
Some Neuron C objects may only be declared at file scope. Thus,
they are restricted to being globals, not automatics. These objects
are timer objects, message tags, I/O objects, and network variables.
161 Type mismatch in function redeclaration [NCC#161]
This diagnostic indicates that a function prototype does not match a
subsequent prototype, or the definition of the function. The
prototypes and definition must match in terms of their storage class
(for example, static, eeprom, ram) as well as their return types and
their number and types of parameters.
162
Array must have bound [NCC#162]
Use of the array type in a declaration must include a constant
expression which is the array bound. The only time this bound may
be omitted is in the declaration of a function parameter. In this case,
use of the bound is ignored, and the parameter is actually treated as
a pointer.
163
164
Invalid struct/union field declaration [NCC#163]
Invalid struct/union field type [NCC#164]
A field in a struct or union may not have a storage class, and may
not contain the word typedef. Nor can it be a message tag, a timer
object, nor a network variable, nor can it have bind_info. Note also
that a union may not contain bitfields.
Page view 40
1 2 ... 36 37 38 39 40 41 42 43 44 45 46 ... 122 123

Comments to this Manuals

No comments