Appendix A Errors and Warnings
©
National Instruments Corporation A-3 LabWindows/CVI Programmer Reference Manual
Anonymous union declared
inside parameter list
has scope only for this
declaration.
Compile
Warning
Union declared in the parameter list has
scope only within the parameter list. As a
result, its type is incompatible with all other
types. You must declare the union type
before declaring function types that use it.
Argument 4 must be 0
or 1.
Fatal
Run-time Error
Value of the argument to the library function
must be
0 or 1.
Argument NUMBER must be
0, 1, or 2.
Fatal
Run-time Error
Value of the argument to the library function
must be
0, 1, or 2.
Argument must be a
function pointer to the
correct type of callback
function.
Non-Fatal
Run-time Error
Argument to the function is not a pointer to
the expected type of callback function.
Argument must be an open
stream.
Fatal
Run-time Error
Argument to the I/O library function must be
one of the standard streams (
stdin,
stdout, stderr) or a stream you open with
the
fopen() or freopen()functions.
Argument must be
character.
Fatal
Run-time Error
Value of the argument to the library function
must be less than
256.
Array argument too
small.
Fatal
Run-time Error
Library function requires an array that is
larger than the specified argument. Make
sure you declare or allocate the array with
sufficient elements for the function call.
Array argument too small
(NUMBER bytes). Argument
must contain at least
NUMBER bytes (NUMBER
elements).
Fatal
Run-time Error
Library function requires an array that is
larger than the specified argument. Make
sure you declare or allocate the array with
the number of elements this error message
reports.
Array index (NUMBER) too
large (maximum: NUMBER).
Non-Fatal
Run-time Error
You indexed an array past the last element.
Assertion error:
EXPRESSION.
Fatal
Run-time Error
Value of the argument
EXPRESSION
to the
Standard C Library macro
assert is 0.
Table A-1.
Error Messages (Continued)
Error Message Type Error Comment
00ProRef.book : 07AppA.fm Page 3 Monday, March 9, 1998 3:23 PM