Echelon Neuron User Manual

Page 53

Advertising
background image

Neuron Tools Errors Guide

45

NCC#

Description

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. For example, the pair #ifdef and #endif must match. An
optional #else may be contained in between the #ifdef and #endif directives.

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).

14

Invalid value for this pragma [NCC#14]

The numeric value following the pragma that the message refers to is not of
appropriate value. Consult the documentation for the specific pragma to

ascertain the applicable valid values. Pragmas are documented in the

Compiler Directives

chapter of the

Neuron C Reference Guide

.

Advertising