Appendix A Errors and Warnings
©
National Instruments Corporation A-35 LabWindows/CVI Programmer Reference Manual
Redefinition of label
NAME previously defined
at POSITION.
Compile
Error
You already used the statement label in this
function. A statement label must be unique
within the function in which you use it.
Redefinition of
macro NAME.
Compile
Error
Macro has already been defined with a
replacement list different from the current
definition. The same macro definition for a
name may appear in the same file more than
once as long both definitions agree in name
and number of parameters and their
replacement lists are identical.
Redefinition of NAME
previously defined at
POSITION.
Compile
Error
You have already defined the object or
function in the current scope. Eliminate one
of the two definitions.
Reference parameter
expected.
Non-Fatal
Run-time Error
Function expected a pointer but you passed it
a scalar.
Register declaration
ignored for TYPE NAME.
Compile
Warning
register storage class conflicts with the
semantics of the type declared for the object.
If you declared the object to be of an array,
struct, or union type, or you qualified it
as
volatile, remove the register
keyword from the declaration.
Register declaration
ignored for TYPE
parameter.
Compile
Warning
register storage class conflicts with the
semantics of the type you declared for the
parameter prototype. If you declared the
object to be of
struct or union type, or
you qualified it as
volatile, remove the
register keyword from the prototype
parameter declaration.
Repeat value not valid
with s/l format
specifiers.
Non-Fatal
Run-time Error
You cannot use a repeat value with the s and
l format specifiers.
Result of unsigned
comparison is constant.
Compile
Warning
Result of <
UNSIGNED INTEGER
always evaluates
to 1.
Table A-1.
Error Messages (Continued)
Error Message Type Error Comment
EXPRESSION
> 0
≥
00ProRef.book : 07AppA.fm Page 35 Monday, March 9, 1998 3:23 PM