National Instruments 320685D-01 Drums User Manual


 
Appendix A Errors and Warnings
©
National Instruments Corporation A-9 LabWindows/CVI Programmer Reference Manual
Cannot link variable
NAME to import
library without
declspec(dllimport)
keyword in declaration.
Link Error Variable that you have declared as extern is
defined in a DLL import library, but you did
not include the
declspec(dllimport)
qualifier in the declaration.
Case label must be a
constant integer
expression.
Compile
Error
Case labels must be known integer values at
compile time; make sure the case label
conforms to the requirements for a constant
integer expression.
Cast from TYPE to TYPE
is illegal in constant
expressions.
Compile
Error
You cannot cast a pointer type to arithmetic
type in a constant expression.
Cast from TYPE to TYPE
is illegal.
Compiler Error ANSI C does not allow a cast between the
two types.
COFF Name too long. Object Load
Error
COFF object or library you are loading
contains a symbol name that is longer than
the maximum legal length.
Comparison involving
null pointer.
Non-Fatal
Run-time Error
One of the pointer expressions in the
comparison has the value
NULL. Both
expressions in pointer comparisons must
point into the same array object.
Comparison involving
uninitialized pointer.
Non-Fatal
Run-time Error
One of the pointer expressions in the
comparison is invalid because you did not
initialize it.
Comparison of pointers
to different objects.
Non-Fatal
Run-time Error
Pointer expressions in the comparison point
to two distinct objects. Both expressions in
pointer comparisons must point into the
same array object.
Comparison of pointers
to freed memory.
Non-Fatal
Run-time Error
One of the pointer expressions in the
comparison is invalid because it refers to a
location in dynamic memory that you
deallocated with the
free function. Once
you free the memory, all pointers into that
block of memory become invalid.
Table A-1.
Error Messages (Continued)
Error Message Type Error Comment
00ProRef.book : 07AppA.fm Page 9 Monday, March 9, 1998 3:23 PM