Echelon NodeBuilder Errors 3120 User Manual Page 23

  • Download
  • Add to my manuals
  • Print
  • Page
    / 123
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 22
NodeBuilder Errors Guide 5-3
NCC# Description
7 Comment may not be properly terminated [NCC#7]
This warning may be useful in discovering unintentional comments
in your Neuron C program. The definition of C does not permit
nesting of comments. Any text of the form shown below is treated as
a single comment.
/* <text> /* <text> */
Note, however, that this particular pattern may indicate a condition
where there are actually two comments intended, but the first is
unterminated. Thus, the compiler detects this condition and prints a
warning message. The comment text is printed also, for up to 256
characters.
8 Character constant is too long [NCC#8]
Neuron C only supports single-character constants (this does not
apply to use of the \ escape character sequence).
9 String constant is not terminated [NCC#9]
ANSI C does not permit a string constant to span lines; nor can a
string constant be terminated by end-of-file. To create a very long
string constant, use the ANSI C string constant concatenation
feature, demonstrated below. Note that the parts of the string are
concatenated without insertion of any white space, newline, or other
separator character.
"This is a long string constant "
"split across two source lines."
Note that this error message may also indicate mismatched quotes in
strings.
Use \" to include a quote character in a string constant.
10 Preprocessor directives cannot be nested in macros [NCC#10]
A macro cannot contain the character # outside of the text of a string
or a character constant.
11
Directive #else/#endif without corresponding #if/#ifdef/#ifndef
[NCC#11]
The preprocessor directives controlling conditional compilation must
always exist in matching pairs, similar to the open brace { and close
brace } in a C program. The pair #ifdef and #endif must match, for
example. An optional #else may contained in between.
12 Unrecognized or ill-formed pragma was ignored [NCC#12]
The pragma referenced by the error message is not one which is
recognized or supported by the Neuron C compiler.
13
Cannot enable micro_interface with Net Vars or msg_tags
declared [NCC#13]
The #pragma micro_interface can only appear in a program if
there have not been any prior declarations of network variables or
message tags. This pragma can only be used with the LonBuilder
Microprocessor Interface Program (MIP).
Page view 22
1 2 ... 18 19 20 21 22 23 24 25 26 27 28 ... 122 123

Comments to this Manuals

No comments