Appendix A Errors and Warnings
©
National Instruments Corporation A-33 LabWindows/CVI Programmer Reference Manual
Pointer is invalid. Non-Fatal
Run-time Error Pointer argument to the function contains an
invalid address.
Pointer points to freed
memory. Non-Fatal
Run-time Error Pointer argument to the function points to
memory that you already freed.
Pointer subtraction
involving address of
nonarray object.
Non-Fatal
Run-time Error One of the pointer expressions in the
subtraction is invalid because it does not
point into an array. Both expressions in
pointer subtractions must point into the same
object.
Pointer to a local is an
illegal return value. Compile
Error Value returned from the function is a pointer
to a parameter or local variable. Because the
lifetime of a parameter or local variable ends
when you return from the function, any
pointer to such an object is invalid.
Pointer to a parameter
is an illegal return
value.
Compile
Error Value returned from the function is a pointer
to a parameter or local variable. Because the
lifetime of a parameter or local variable ends
when you return from the function, any
pointer to such an object is invalid.
Pointer to free memory
passed to library
function.
Fatal
Run-timeError Pointer expression you passed to the library
function is invalid because it refers to a
location in dynamic memory that you
deallocated with the function free. Once
memory is free, all pointers into that block of
memory are invalid.
pragma pack(pop...) does
not set alignment. Use
separate pack pragma.
Compile
Warni ng You used a pragma pop with an alignment
value. Use separate pack pragmas for
popping and setting the alignment value.
Table A-1. Error Messages (Continued)
Error Message Type E rror Comment
00ProRef.book : 07AppA.fm Page 33 Monday, March 9, 1998 3:23 PM