Appendix A Errors and Warnings
©
National Instruments Corporation A-19 LabWindows/CVI Programmer Reference Manual
Illegal return
type; found TYPE
expected TYPE.
Compile
Error
Return statement expression type is not the
same as the return type of the function in
which it appears. Ensure that the type of the
return expression is consistent (assignment
compatible) with the function return type.
Illegal separator
character or illegal
position of separator
character.
Non-Fatal
Run-time Error
Either the separation characters < and > were
not present in the format string, or they were
in the wrong place.
Illegal source filename
specified for #line;
s-char-sequence
expected.
Compile
Error
Only token that can follow the line number
specification in a
#line preprocessor
directive is an optional string literal
specifying a source filename. A sequence of
tokens also can follow the
#line token if,
after the compiler performs macro expansion
on the source line, the source line conforms
to one of the two allowable forms of
#line
preprocessor directives:
#line
line-number-digit-sequence
#line
line-number-digit-sequence
"filename"
Illegal statement
termination.
Compile
Error
During compilation of a sequence of
statements, the compiler encountered a
token that it expected either to begin a new
statement, begin an
else clause of an if
statement, be a statement label, be a case
label, or terminate a compound statement,
such as
}. Depending on the context of the
location of where the compiler issued the
diagnostic, ensure that the statement syntax
is correct for the cases listed above.
Illegal type array
of TYPE.
Compile
Error
You attempted to declare an array of
functions. You probably intended to declare
an array of function pointers instead.
Table A-1.
Error Messages (Continued)
Error Message Type Error Comment
00ProRef.book : 07AppA.fm Page 19 Monday, March 9, 1998 3:23 PM