beautypg.com

Echelon Neuron User Manual

Page 58

background image

50

Neuron C Compiler Errors (NCC)

NCC#

Description

40

Enum list has more values than the debug info supports [NCC#40]

The range of enum values in Neuron C is from -128 to 127 because ANSI C

dictates an

enum

should be implemented using a (signed)

int

base type.

According to the definition of ANSI C, multiple enumerated constant names

may appear in an enum type for the same constant value; thus there is

really no limit to the number of names in an enum value list.

However, the Neuron C Debugger only supports a maximum of 255

enumerated constant names in a given enum type. An enum that contains
more names than this is still perfectly acceptable to the compiler; however,

the debugger is only capable of using the first 255 names in the enum type.

41

Too many function parameters for debug info [NCC#41]

The Neuron C Debugger can only support functions with 14 or fewer

parameters. Use of functions with more than 14 parameters may result in
strange or incorrect results when using the debugger to display stack

contents, and so on. Note that this is a limitation on number of

parameters, and

not

on the number of bytes used to store those parameters.

42

Too many include search directories specified [NCC#42]

A maximum of 20 directories may be specified in the include-directory
search list.

43

Cannot open output dependency-file [NCC#43]

The compiler opens several output files as part of its initialization. All the

files are placed in the intermediate folder. In the NodeBuilder development
tool, the intermediate folder is the IM subfolder in each target folder

("Release", "Development", and so on). This error may indicate that the

disk is full, or may indicate a disk error, or may indicate a read-only disk
condition (if for example, the project directory and its subdirectories are on

a floppy disk and the disk is write-protected). Also, confirm that the project

folder contains a subfolder named IM.

44

Too many include files [NCC#44]

A maximum of 254 files may be opened in a single compilation. The source
file and the three compiler helper files count as four files altogether, thus

there may be no more than 250 application include files. (An include file

included from another include file counts as a separate file.)

45

System open file limit exceeded [NCC#45]

This problem should not be seen under modern Windows operating systems

because there is no hard limit on open files.

46

Class ‘register’ was ignored [NCC#46]

This keyword has no effect in Neuron C.