beautypg.com

Echelon Neuron User Manual

Page 81

background image

Neuron Tools Errors Guide

73

NCC#

Description

215

Array in struct or union must have bounds [NCC#215]

An array declared at file scope (outside any other declarations or functions)

may be declared without an explicit bound expression, provided an
initializer is present. In ANSI C and in Neuron C, the compiler sets the

array bounds implicitly by using the count of initial value expressions in

the initializer list. However, this feature cannot be used with an array
nested inside a structure or union declaration.

216

Authenticated network variables require ‘ackd’ service type [NCC#216]

Some of the options in the bind_info declaration modifier only apply to

network variables, some only apply to output network variables, and some
only apply to message tags. The service type declaration is required to be

acknowledged when the authentication bind_info feature is used in a

network variable declaration.

217

Case value is out of range [NCC#217]

Valid range is -128 to +127. A switch statement expression and the
matching case label expressions are all of int type, which in Neuron C has

the range shown.

218

Use of Neuron C feature is not permitted [NCC#218]

This message occurs when compiling a file with a .C extension. The

Neuron C compiler will flag all uses of Neuron C features with this error
message. Normally, a Neuron C program has a .NC extension.

219

Pragmas ‘hidden’ and ‘no_hidden’ only allowed in ‘echelon.h’ [NCC#219]

The pragmas #pragma hidden and #pragma no_hidden are for internal use

from the standard include file only. Do not use them
elsewhere.

220

Rate estimate value is out of valid range [NCC#220]

The bind_info permits specification of average and maximum message rate

estimates for each tag or network variable. The valid range of rate

estimate values is from 0 to 18780, in units of

tenths

of a message per

second. Thus, a specified value of 1043 indicates an actual value of 104.3

messages per second.

221


222

Cannot have more than one default label per switch statement [NCC#221]

Cannot have duplicate case labels with same value [NCC#222]

A switch statement cannot have ambiguous labels. It can have no more

than one default label, and no two case labels may have the same value.