Echelon Neuron User Manual

Page 54

Advertising
background image

46

Neuron C Compiler Errors (NCC)

NCC#

Description

15

Cannot repeat this pragma [NCC#15]

The following compiler directives can only be used once:

codegen
num_addr_table_entries

num_alias_table_entries

num_domain_entries
one_domain

receive_trans_count
set_guidelines_version

set_id_string

set_netvar_count
set_device_sd_string

set_std_prog_id

specify_io_clock

16

Macro name, macro parameter name, or macro argument is too long [NCC#16]

No identifier in Neuron C can exceed 256 characters

17

Line too long in macro definition [NCC#17]

No input line in Neuron C can exceed 256 characters. You can use the line
continuation feature of ANSI C to extend the line. This feature is activated

by using a \ character at the end of the line.

18

Invalid preprocessor directive syntax [NCC#18]

This error indicates one of any number of syntax problems in the compiler
directive of the line indicated. The proper syntax is:

#directive [value]

where the optional

value

is dependent on the particular directive.

19

Extra entries in preprocessor directive [NCC#19]

This error indicates that, although the preprocessor directive was of the

correct syntax, there are additional entries on the line that were not part of

the directive.

20

Empty input source file

Check for the existence of the file that is being compiled. Is the file name

and path name correct?

21

Unexpected END-OF-FILE in source file [NCC#21]

An incomplete source construct unexpectedly ended in an end-of-file

condition. This may indicate mismatched brace characters { and } or may
indicate the use of a function macro with an insufficient number of right

(ending) parentheses.

Advertising