Appendix A Errors and Warnings
©
National Instruments Corporation A-39 LabWindows/CVI Programmer Reference Manual
Syntax error; found
TOKEN1 expecting TOKEN2. Compile
Error Syntax error occurred because the compiler
found TOKEN1 instead of TOKEN2.
The __cdecl calling
convention is not
supported with functions
returning floats,
doubles, or structures
in WATCOM Compatibility
Mode.
Compile
Error Function with an explicit __cdecl qualifier
returns a double, float or structure, and
your current compatible compiler is
Watcom. Either remove the qualifier or
change the function.
The callback function,
NAME, differs only by a
leading underscore from
another function or
variable. Change one of
the names for proper
linking.
Non-Fatal
Run-time Error When trying to match a callback name you
specified in a .uir file to the callback
function, the compiler found two symbols
that are the same except for a leading
underscore. Resolve this ambiguity by
changing one of the names.
Thread data is not
supported. Compile
Error You cannot implement thread-local storage
in LabWindows/CVI.
Too many arguments to
FUNCTION. Compile
Error Declaration for function
FUNCTION
contains
fewer parameters than the number of
arguments you passed in this function call.
Too many arguments to
variable argument
function.
Non-Fatal
Run-time Error You passed more arguments to the variable
argument function than it expected. The
extra arguments do not affect the function
call in any way.
Too many function
parameters. Compile
Error Number of parameter declarations exceeds
compiler limitations. Declare the function
with fewer parameters.
Too many initializers. Compile
Error Size of the initializer exceeds the size of the
object. Ensure that the initializer matches the
number/size of the object type.
Too many macro
parameters. Compile
Error Number of parameter declarations exceeds
compiler limitations. Declare the macro with
fewer parameters.
Table A-1. Error Messages (Continued)
Error Message Type E rror Comment
00ProRef.book : 07AppA.fm Page 39 Monday, March 9, 1998 3:23 PM