Appendix A Errors and Warnings
LabWindows/CVI Programmer Reference Manual A-38
©
National Instruments Corporation
Subtraction of pointers
to freed memory. Non-Fatal
Run-time Error One of the pointer expressions in the
subtraction 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.
Switch statement with
no cases. Compile
Warni ng Switch statement contains no case or
default label.
Symbol NAME defined
in modules FILE and
FILE. In Borland
mode, multiple modules
must not contain
uninitialized
definitions of the
same global variable.
Borland creates a
separate variable
for each definition.
LabWindows/CVI and other
linkers resolve all
definitions to the same
variable. If you want
separate variables, use
different names or the
"static" keyword. If
you want one variable,
change all definitions
except one to "extern"
declarations.
Link Error In Borland mode, multiple modules must not
contain uninitialized definitions of the same
global variable. Borland creates a separate
variable for each definition.
LabWindows/CVI and other linkers resolve
all definitions to the same variable. If you
want separate variables, use different names
or the “static” keyword. If you want one
variable, change all definitions except one to
“extern” declarations.
Symbol NAME exported
from header FILE not
found in DLL.
DLL Link Error
or Import
Library
Creation Error.
When you used the Include File method for
specifying the symbols to export from a
DLL, one of the symbols you declared in the
include file was not in the DLL project. Or,
when you created import libraries from an
include file and a DLL, one of the symbols
you declared in the include file was not in
the DLL.
Table A-1. Error Messages (Continued)
Error Message Type E rror Comment
00ProRef.book : 07AppA.fm Page 38 Monday, March 9, 1998 3:23 PM