beautypg.com

Echelon Neuron User Manual

Page 99

background image

Neuron Tools Errors Guide

91

NCC#

Description

387

File’s basename exceeding 52 characters may cause linker problems [NCC#387]

In certain situations, including the use of configuration parameters and/or

variables declared static, the compiler may construct a “made-up-name” for
the variable that is, in part, based upon the basename portion of the

filename of the file that is being compiled. (The basename is the part of the

filename preceding a "." character.)

Because the maximum length of a symbol in the compiler, assembler, and

linker is 64 characters, and taking into account certain additional
characters added by the compiler in the process of creating a "made-up-

name", if the basename of the file exceeds a length of 52 characters, the

symbols passed to the assembler and linker may be too long, and link errors
may result. To avoid this problem, limit the basename of the file to 52

characters or less.

388

System error in Device Resource Files access [NCC#388]

The Neuron C compiler for the Neuron C Version 2 language uses the

L

ON

M

ARK

®

Device Resource Files, including the catalog, and files such as

*.FPT, *.TYP, and so on. The Neuron C compiler uses the services of the

Device Resource Files API (DRF API) to provide access to the Resource

Files. If the DRF API reports an unexpected problem, the compiler prints
this message and stops the compilation.
Some possible causes of this problem are incorrect filenames or directory
paths in the catalog. Perform a catalog refresh to correct this situation.

(LonMaker will automatically refresh the catalog when it starts up, as will

the NodeBuilder Resource Editor).

389

Typename ‘’ not found in Device Resource Files; 'SNVT*', 'SCPT*',

"UNVT*', "UCPT*' are reserved [NCC#389]

The Neuron C Compiler for the Neuron C Version 2 language uses the

L

ON

M

ARK

Device Resource Files to resolve all names beginning with the

prefixes 'SNVT*', 'SCPT*', 'UNVT*', and 'UCPT*', found in a Neuron C
program. The program should avoid using any names beginning with any

of these prefixes, for compatibility with names in the Resource Files.
Programs that were originally written in Neuron C Version 1 and use
typedef to define SCPT, UNVT, and UCPT types can still be compiled by

using the #pragma names_compatible compiler directive. In this case, and
matching type names in resource files will be hidden. See the

Compiler

Directives

chapter of the

Neuron C Reference Guide

for more information.

For more information about compiling legacy Neuron C applications with
the more recent version of the Neuron C Compiler (NCC version 4.0 or

later), and more information about converting a legacy application into one

that uses the Neuron C Version 2 language L

ON

M

ARK

features, please refer

to the

NodeBuilder FX User’s Guide

.