Appendix A Errors and Warnings
©
National Instruments Corporation A-27 LabWindows/CVI Programmer Reference Manual
Missing prototype. Compile
Error Function declaration or call is for a function
without prototype declaration information.
The compiler issues the diagnostic if the
Require Function Prototypes compiler
option is enabled.
Missing return value. Fatal
Run-timeError Function does not return a value, although
you declared it with a return type. If you did
not intend for the function to return a value,
you must declare it as a void function.
Otherwise, you must use a return
statement to return a value.
Missing return value. Compile
Warni ng Non-void function does not return a value.
Add a return statement with an expression of
the function return type. The compiler issues
the diagnostic if the Require Return Value
for Non-void Functions compiler option is
enabled.
Missing right
bracket (]). Fatal
Run-timeError Format string has mismatched brackets.
Missing struct tag. Compile
Error Tag name is missing from an incomplete
struct or union declaration.
Missing terminating null
in string argument. Fatal
Run-timeError Library function expects a string argument,
but the argument you passed points to an
array of characters that is not
null-terminated.
Missing union tag. Compile
Error Tag name is missing from an incomplete
struct or union declaration.
Multiply defined symbol
NAME in modules FILE1
and FILE2.
Link Error The files being linked contain more than one
definition for
NAME
.
Naked functions are not
supported. Compile
Error LabWindows/CVI does not work with the
naked keyword.
NAME is a predefined
macro and cannot be the
subject of an #undef.
Compile
Error Make sure that the name you specify for the
#undef preprocessor directive is not that of
a predefined macro.
Table A-1. Error Messages (Continued)
Error Message Type Er ror Comment
00ProRef.book : 07AppA.fm Page 27 Monday, March 9, 1998 3:23 PM