beautypg.com

Echelon Neuron User Manual

Page 92

background image

84

Neuron C Compiler Errors (NCC)

NCC#

Description

294

Unterminated character constant: ‘’ [NCC#294]

The proper format of a character constant is ‘

char

’. The ‘

char

’ can either be

a single character (except another quote ), or any of a number of ANSI C
escape sequences. Consult a basic text on ANSI C, such as one of those

listed in the

Preface

of the

Neuron C Reference Guide

, for more

information.

295

Integer constant ‘’ is too large [NCC#295]

Integer constants are limited to 5 characters, with a value of 65535 or less,

since the maximum size of an integer is 16 bits.

297

Cannot open file: ‘’ [NCC#297]

The file that is named cannot be found. Check the spelling of the filename

and check the Application Directories’ and Include Directories’ search paths
in the development tool’s settings or the command line being used to

execute the compiler.

298

Recursive include file nesting (file ‘’) not allowed [NCC#298]

An include file cannot include itself, nor can any file B included from file A

then re-include file A, and so on.

299

Unsupported preprocessor directive: ‘’ [NCC#299]

The following ANSI C preprocessor directives are

not

supported in Neuron

C:

#elif

#file

#if

#line

300

Access to stack variable is beyond end of stack [NCC#300]

The indicated fetch or store to a local variable or parameter on the stack is
beyond the possible end of the Neuron's stack. No instruction can be

generated for the indicated fetch or store. This could occur with an array

variable on the stack being indexed beyond the array bounds. This could
also occur as a result of incorrect direct address calculations on a stack

variable, such as a structure.

301

Invalid use of reserved word >> << [NCC#301]

This error message occurs when the token causing the syntax error is a
reserved word (keyword) that is used out of context. Check the syntax of

not only the reported token, but also the syntax of a few of the previous

tokens. (A token is a grammatical unit, such as a keyword, or a comma or
semicolon.) Don’t forget that Neuron C has some extra reserved words, in

addition to those defined by ANSI C (these are listed in the

Reserved Words

appendix in the

Neuron C Reference Guide

). Check that you haven’t

accidentally used a reserved word as a variable name or other identifier.