Appendix A Errors and Warnings
LabWindows/CVI Programmer Reference Manual A-4
©
National Instruments Corporation
Assignment between
TYPE and TYPE is
compiler-dependent.
Compile
Warni ng Although allowed, use caution because an
assignment of an integer type expression
value to an enum type target might not
correspond to any known enumeration
constant for that enum type. Depending on
the enumeration, the size of the enum type
can be 1, 2, or 4 bytes and therefore may be
incapable of representing all integer values.
Assignment of invalid
pointer value. Non-Fatal
Run-time Error Value you assigned to a pointer is an invalid
pointer value. Check the right side of the
assignment to determine if it is the result of
a previous invalid pointer operation.
Assignment of
out-of-bounds pointer:
NUMBER bytes before
start of array.
Non-Fatal
Run-time Error Value you assigned to the pointer refers to an
invalid location, which is
NUMBER
bytes
before an array. The right side of the
assignment is probably the result of previous
illegal pointer arithmetic.
Assignment of
out-of-bounds pointer:
NUMBER bytes past end of
array.
Non-Fatal
Run-time Error Value you assigned to the pointer refers to an
invalid location, which is
NUMBER
bytes past
the end of an array. The right side of the
assignment is probably the result of previous
illegal pointer arithmetic.
Assignment of pointer to
freed memory. Non-Fatal
Run-time Error Value you assigned to the pointer is invalid
because it refers to a location in dynamic
memory that the free function deallocated.
After memory is free, all pointers into that
block of memory are invalid.
Assignment of
uninitialized pointer
value.
Non-Fatal
Run-time Error Value you assigned to the pointer is invalid
because it was not initialized. The right side
of the assignment is probably an
uninitialized local variable or an object in
dynamic memory that you allocated with
malloc. Initialize local variables and
dynamic memory before you use them.
calloc both allocates and initializes
dynamic memory.
Table A-1. Error Messages (Continued)
Error Message Type E rror Comment
00ProRef.book : 07AppA.fm Page 4 Monday, March 9, 1998 3:23 PM