National Instruments 320685D-01 Drums User Manual


 
Appendix A Errors and Warnings
LabWindows/CVI Programmer Reference Manual A-18
©
National Instruments Corporation
Illegal formal parameter
types.
Compile
Error
Parameter type of void appears in a function
prototype declaration that has more than one
argument. Remove the void parameter type
or change the function prototype so that it
contains only the single void parameter type.
Illegal header name;
#include expects "FILE"
or <FILE>.
Compile
Error
Unexpected character follows an #include
where a header filename of the form "
FILE"
or <
FILE>
is expected. It is also possible that
the header filename beginning quote
character is different than the expected
closing quote character, such as
<FILE
".
Illegal initialization
for NAME.
Compile
Error
Ensure that the initialization is not for a
function declaration rather than a pointer to
a function.
Illegal initialization
for parameter.
Compile
Error
Parameter declarations cannot have default
value initializations in ANSI C. Eliminate
the initialization.
Illegal initialization
for parameter NAME.
Compile
Error
Parameter declarations cannot have default
value initializations in ANSI C. Eliminate
the initialization.
Illegal initialization
of extern NAME.
Compile
Error
You attempted to initialize an extern
declaration that appears in a local scope.
Eliminate the initialization.
Illegal return
type TYPE.
Compile
Error
Function is declared with an illegal return
type, or a return statement expression type is
not the same as the return type of the
function in which it appears. If the
diagnostic is for a function declaration,
ensure that the return type is not an array
type or a function type. If the diagnostic is
for a return statement, the containing
function is probably declared void and can
contain no expression in its return statement.
Table A-1.
Error Messages (Continued)
Error Message Type Error Comment
00ProRef.book : 07AppA.fm Page 18 Monday, March 9, 1998 3:23 PM