Appendix A Errors and Warnings
©
National Instruments Corporation A-15 LabWindows/CVI Programmer Reference Manual
Extraneous formal
parameter
specification.
Compile
Error This error occurs when the compiler is
processing what it assumes to be an old-style
function declaration and encounters what it
assumes to be the function’s parameter
names. If this is an old-style function
declaration, make sure that the parameter
names appear only in the function definition
and not in any declaration of that function. If
this is a new-style function declaration
(prototype), then probably the identifier that
the compiler assumes to be a parameter
name is really a typedef name. Make sure
that you previously declared the identifier as
a typedef.
Extraneous identifier
NAME. Compile
Error Identifier appears in a context where the
compiler expects a type name, such as in a
cast operation or as the operand of
sizeof(). Syntactically, a type name is a
declaration of a function or an object of that
type that omits the identifier.
Extraneous return value. Compile
Error Return statement appears in a void function
and therefore no return value is necessary;
eliminate the expression from the return
statement.
Failed to load DLL FILE. Link Error LabWindows/CVI could not find the DLL.
Ensure that it is in one of the default
directories searched by Microsoft Windows,
or that it includes a complete path name.
Failed to open external
module. Object Load
Error LabWindows/CVI could not open the
external module for loading. Ensure that the
external module has read access and that you
did not inadvertently rename or delete it.
Field name expected. Compile
Error The compiler expects an identifier to follow
a . or –>.
Table A-1. Error Messages (Continued)
Error Message Type E rror Comment
00ProRef.book : 07AppA.fm Page 15 Monday, March 9, 1998 3:23 PM