National Instruments 320685D-01 Drums User Manual


 
Chapter 1 LabWindows/CVI Compiler
©
National Instruments Corporation 1-9 LabWindows/CVI Programmer Reference Manual
invalid or when the arithmetic operation results in an invalid pointer expression. The
following user protection errors involve pointer arithmetic:
Pointer arithmetic involving uninitialized pointer
Pointer arithmetic involving null pointer
Out-of-bounds pointer arithmetic (calculation of an array address that results in a pointer
value either before the start, or past the end of the array)
Pointer arithmetic involving pointer to freed memory
Pointer arithmetic involving invalid pointer
Pointer arithmetic involving address of non-array object
Pointer arithmetic involving pointer to function
Array index too large
Negative array index
Pointer Assignment (Non-Fatal)
LabWindows/CVI generates pointer assignment errors when you assign invalid values to
pointer variables. These warnings can help determine when a particular pointer becomes
invalid. The following user protection errors involve pointer assignment:
Assignment of uninitialized pointer value
Assignment of out-of-bounds pointer expression (assignment of an address before the
start, or past the last element, of an array)
Assignment of pointer to freed memory
Assignment of invalid pointer expression
Pointer Dereference Errors (Fatal)
Dereferencing of invalid pointer values is a fatal error because it can cause a memory fault or
other serious problem. The following user protection errors involve pointer dereferencing:
Dereference of uninitialized pointer
Dereference of null pointer
Dereference of out-of-bounds pointer (dereference using a pointer value before the start,
or past the end, of an array)
Dereference of pointer to freed memory
Dereference of invalid pointer expression
Dereference of data pointer for use as a function
Dereference of function pointer for use as data
00ProRef.book : 06chap01.fm Page 9 Monday, March 9, 1998 3:23 PM