beautypg.com

Zilog ZUSBOPTS User Manual

Page 228

background image

Warning and Error Messages

UM017105-0511

200

Zilog Developer Studio II – ZNEO™
User Manual

102 Constant integer expression expected.

A non-integral expression was encountered

where only an integral expression can be.

103 Constant expression overflow.

In the process of evaluating a constant expression,

value became too large to be stored in 32 bits.

104 Function return type mismatch for "<name>".

A function prototype or function

declaration was encountered that has a different result from a previous declaration.

105 Argument type mismatch for argument <name>.

The type of an actual parameter

does not match the type of the formal parameter of the function called.

106 Cannot take address of unsubscripted array.

An attempt was made to take the

address of an array with no index. The address of the array is already implicitly calculated.

107 Function call argument cannot be void type.

An attempt was made to pass an

argument to a function that has type void.

108 Identifier "<name>" is not a variable or enumeration constant name.

In a decla-

ration, a reference to an identifier was made that was not a variable name or an enumera-
tion constant name.

109 Cannot return a value from a function returning "void".

An attempt was made to

use a function defined as returning void in an expression.

110 Expression must be arithmetic, structure, union or pointer type.

The type of an

operand to a conditional expression was not arithmetic, structure, union or pointer type.

111 Integer constant too large.

Reduce the size of the integer constant.

112 Expression not compatible with function return type.

An attempt was made to

return a value from function that cannot be promoted to the type defined by the function
declaration.

113 Function cannot return value of type array or function.

An attempt was made to

return a value of type array or function.

114 Structure or union member may not be of function type.

An attempt was made to

define a member of structure or union that has type function.

115 Cannot declare a typedef within a structure or union.

An attempt was made to

declare a typedef within a structure or union.

116 Illegal bit field declaration.

An attempt was made to declare a structure or union

member that is a bit field and is syntactically incorrect.

This manual is related to the following products: