Echelon NodeBuilder Errors 3120 User Manual Page 56

  • Download
  • Add to my manuals
  • Print
  • Page
    / 123
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 55
5-36 Neuron C Compiler Errors (NCC)
NCC# Description
256
Attempt to #undef a name which is not a macro [NCC#256]
The preprocessor #undef command can only be applied to an
identifier which has previously been defined as a macro using the
#define command.
257 Cannot redefine typedef name at file scope [NCC#257]
The rules of ANSI C permit redefinition of a typedef inside a nested
scope (e.g. in a function), but not at file scope. For example:
typedef unsigned int ui;
// The following redefinition is not permitted
unsigned short ui;
void f (void) {
// The following defines ui as a variable,
// which hides the typedef inside the function
unsigned short ui;
}
// The typedef ui is now no longer hidden
ui x;
258
Conditional compilation directives nested too deeply
[NCC#258]
The maximum nesting level of the #ifdef/#ifndef/#if directives is 16.
Change your conditional compilation strategy if you are attempting
to use more than 16 levels of nested directives.
259 Misplaced #elif/#else directive [NCC#259]
The directive in question does not follow the appropriate #ifdef, or
#ifndef directive.
260 Too many arguments in macro being defined [NCC#260]
The maximum number of macro arguments that Neuron C supports
is 16.
261 Macro argument name cannot be repeated [NCC#261]
Function-style macros (those which have a parameter list) must use
a unique name for each parameter.
262 Incorrect number of arguments for macro [NCC#262]
The invocation of the macro in question does not supply the correct
number of arguments. The number of arguments must be the same
as the number of formal parameters in the definition of the macro.
263
Array is too large for fastaccess feature [NCC#263]
An array declared with the optional fastaccess feature cannot
exceed a total size of 254 bytes.
264 The fastaccess feature only applies to arrays [NCC#264]
The optional fastaccess feature should only be used in declarations
of array variable types. The feature does not apply to the indexing
operator applied to pointers.
Page view 55
1 2 ... 51 52 53 54 55 56 57 58 59 60 61 ... 122 123

Comments to this Manuals

No comments