beautypg.com

Echelon Neuron User Manual

Page 78

background image

70

Neuron C Compiler Errors (NCC)

NCC#

Description

193

Function does not allow parameters [NCC#193]

The compiler outputs these diagnostics when the number of actual

parameters or the actual parameter types, do not match those in the
prototype, and they cannot be automatically converted.

194

Not enough parameters passed to function [NCC#194]

The compiler outputs these diagnostics when the number of actual

parameters or the actual parameter types, do not match those in the
prototype, and they cannot be automatically converted.

195

Object cannot be a function parameter [NCC#195]

Objects that have no type (such as message tags or I/O objects) cannot be

function parameters. Likewise, if p were declared void *, *p would not be a

valid function parameter (nor would it be any other valid expression, for
that matter).

196

Cannot convert address of const into non-const pointer [NCC#196]

To prevent data that is declared const from being modified, Neuron C will

not permit pointers including the const attribute from being cast such that

the const attribute is removed. Neither does the compiler permit an
implicit conversion of pointer (for example, through a function call) such

that the const attribute would be removed. However, these changes are

permitted (and this message will appear as a warning rather than an error)
if the compiler directive #pragma relaxed_casting_on is specified in the

program. See the

Compiler Directives

chapter of the

Neuron C Reference

Guide

for more details.

197

Implicit pointer conversion is not permitted [NCC#197]

ANSI C does not permit a pointer of one type to be implicitly converted to a

pointer of another type by assignment or by passing as a function

parameter. Use explicit casting.

198

Type mismatch in function parameter [NCC#198]

The compiler outputs these diagnostics when the number of actual
parameters or the actual parameter types, do not match those in the

prototype, and they cannot be automatically converted.

199

Too many parameters passed to function [NCC#199]

The compiler outputs these diagnostics when the number of actual
parameters or the actual parameter types, do not match those in the

prototype, and they cannot be automatically converted.