Echelon Neuron User Manual
Page 94
86
Neuron C Compiler Errors (NCC)
NCC#
Description
310
The symbol ‘
The compiler issues this warning for any run-time object that is declared,
but never used in the executable code. Run-time objects include anything
that consumes Neuron memory or other run-time resources, such as I/O
objects, variables, functions, timers, and so on. No warning is issued for
compile time objects, such as typedefs, structure tags, and so on, which are
not used. Some objects may be intentionally declared, but unused. If it is
desired to suppress this warning for a certain symbol, the following pragma
may be inserted following the declaration of the object in question:
#pragma
ignore_notused
symbol
This directive may be used multiple times, for each symbol for which the
warning should be suppressed.
311
312
313
Redefinition of ‘
Redefinition of ‘
Redefinition of ‘
The macro being defined, by the rules of ANSI C, will supersede any other
declarations of the same name. This may not be what the programmer
intended, so if a conflict is detected, to help with detection of inadvertent
programming errors, the above warning(s) will be printed.
314
Cannot redefine ‘
The name has been declared as a certain type of identifier more than once
in the scope. For example, it is illegal to define a variable twice at file
scope, or a function, or a macro, and so on (however, there may be multiple
extern declarations for the same variable). Note that a macro definition is
always considered to be at file scope, regardless of its placement in a file.
315
316
Name of network variable, ‘
Name of msg_tag, ‘
Any network variable or message tag name is limited to 16 characters.
Likewise, if a typedef name is used in declaration of a network variable, it
too must be 16 characters or less in length.
317
Label ‘
The specified label used in a goto statement is not defined in the current
procedure or task.