Build Errors and Warnings

The following table is an alphabetized list of compile errors and warnings, DLL load errors and warnings, link errors and warnings, external load module errors, and watchpoint errors generated by LabWindows/CVI.

Error Message Type Error Comment
"defined" expects an identifier argument.
Compile Error
Preprocessor defined() operator requires a single identifier argument; ensure that you use an identifier and not an expression.
## at beginning of macro definition.
Compile Error
## preprocessing token is at the beginning of a macro definition. Ensure that a preprocessing token precedes ##.
## at end of macro definition.
Compile Error
## preprocessing token is at the end of a macro definition. Ensure that a preprocessing token(s) follows ##.
#elif missing constant expression.
Compile Error
Ensure that a conditional expression follows #elif on the same line.
#if missing constant expression.
Compile Error
Ensure that a conditional expression follows #if on the same line.
#ifdef expects an identifier.
Compile Error
Ensure that an identifier follows #ifdef on the same line.
#ifndef expects an identifier.
Compile Error
Preprocessor conditional directive #ifndef requires an identifier following it on the same line. Make sure that an identifier follows #ifndef on the same line.
#line directive cannot specify line 0.
Compile Error
#line preprocessor directive requires a non-zero line number value.
#line directive cannot specify line greater than 32767.
Compile Error
#line preprocessor directive cannot set the line greater than 32,767.
#line directive expects numeric argument.
Compile Error
#line preprocessor directive requires a line number value to be specified following #line.
, or ) expected.
Compile Error
Ensure that the function macro argument list terminates with a ) and that a , separates all the macro arguments.
‘struct NAME’ declared inside parameter list has scope only for this declaration.
Compile Warning
Structure declared in the parameter list has scope only within the parameter list. As a result, its type is incompatible with all other types. You must declare the structure type before you declare function types that use it.
Aborted load of library FILE.
Link Error
Library load operation aborted. A more specific diagnostic of the library load error precedes this message.
Aborted load of member NAME from library FILE.
Link Error
Library member load operation aborted. A more specific diagnostic of the library member load error precedes this message.
Aborted load of object module FILE.
Link Error
Object file load aborted. A more specific diagnostic of the object file load error precedes this message.
Absolute segments not supported: segment name NAME.
PC/Windows Load Error
OMF object file contains a segment to load at an absolute address.
Anonymous enum declared inside parameter list has scope only for this declaration.
Compile Warning
Enumeration declared in the parameter list has scope only within the parameter list. As a result, its type is incompatible with all other types. You must declare the enumeration type before declaring function types that use it.
Anonymous struct declared inside parameter list has scope only for this declaration.
Compile Warning
Structure declared in the parameter list has scope only within the parameter list. As a result, its type is incompatible with all other types. You must declare the structure type before declaring function types that use it.
Anonymous union declared inside parameter list has scope only for this declaration.
Compile Warning
Union declared in the parameter list has scope only within the parameter list. As a result, its type is incompatible with all other types. You must declare the union type before declaring function types that use it.
Assignment between TYPE and TYPE is compiler-dependent.
Compile Warning
Although allowed, use caution because an assignment of an integer type expression value to an enum type target might not correspond to any known enumeration constant for that enum type. Depending on the enumeration, the size of the enum type can be 1, 2, or 4 bytes and therefore may be incapable of representing all integer values.
Assignment to const identifier NAME.
Compile Error
const variables or parameters are read-only values that you cannot modify once initialized. Ensure that no assignment operations modify the identifier.
Assignment to const location.
Compile Error
const variables or parameters are read-only values that you cannot modify once initialized. Ensure that no assignment operations modify the lvalue (such as an array reference, or a pointer dereference) that specifies the const location.
Bad BSS section encountered while reading external module: FILE.
Load Error
Object module is corrupt or is of a type that you cannot load into LabWindows/CVI.
Bad COFF Library header.
Load Error
Library file you are loading is either corrupt or not in the COFF format.
Bad COFF Library member header.
Load Error
COFF library you are loading contains a module that is corrupt or in an invalid format.
Bad location code: OMF record position NUMBER: OMF record type NAME.
Link Error
Object module is corrupt or is of a type that you cannot load into LabWindows/CVI.
Bad magic number encountered while reading external module: FILE.
Link Error
Object module is corrupt or is of a type that you cannot load into LabWindows/CVI.
Bad method: OMF record position NUMBER: OMF record type NAME.
Link Error
Object module is corrupt or is of a type that you cannot load into LabWindows/CVI.
Bad name: OMF record position NUMBER: OMF record type NAME.
Link Error
Object module is corrupt or is of a type that you cannot load into LabWindows/CVI.
Bad OMF record at position NUMBER: OMF record type NAME.
PC/Windows Load Error
OMF object file contains an unknown object record. Make sure that the object file is OMF and conforms to the 32-bit format LabWindows/CVI supports.
Bad OMF record at position NUMBER: OMF record type NAME.
PC/Windows Load Error
OMF object file contains an unknown object record. Make sure that the object file is OMF and conforms to the 32-bit format LabWindows/CVI supports.
Bad relocation record encountered while reading external module: FILE.
Link Error
Object module is corrupt or is of a type that you cannot load into LabWindows/CVI.
Calling conventions have no effect on variables; calling convention ignored. The position of the calling convention modifier may be incorrect.
Compile Warning
You placed a calling convention keyword before a variable name.
For function pointers, you must place the calling convention to the left of the "*", for example:
int (__cdecl * funptr)();
Cannot concatenate wide and regular string literals.
Compile Warning
Make sure the string literals you concatenate are either both wide string literals or regular string literals.
Cannot generate glue for a function without a prototype: NAME.
Glue Code Generation Error
In order to generate glue code for a DLL function, you must specify a complete prototype for the function. You must specify the types of the parameters in the prototype.
Cannot generate glue for a static function: FUNCTION.
Glue Code Generation Error
You cannot export static functions in a DLL, so it is useless to generate glue code for them.
Cannot generate glue for a variable argument function: FUNCTION.
Glue Code Generation Error
In LabWindows/CVI, you cannot use DLL functions that accept a variable number of arguments.
Cannot initialize undefined TYPE.
Compile Error
You attempted to initialize a declaration of an incomplete struct or union type, such as a struct or union type whose members you have not yet specified. Ensure that the initialization appears after the full struct or union declaration.
Cannot link variable NAME to import library without __import 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 __import qualifier in the declaration.
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.
Compile Error
ANSI C does not allow a cast between the two types.
COFF Name too long.
Load Error
COFF object or library you are loading contains a symbol name that is longer than the maximum legal length.
Compound statements nested too deeply.
Compile Error
Program has exceeded the compiler limitations on the number of nested compound statements; reduce the depth of the nested compound statements in the program.
Conditional inclusion nested too deeply.
Compile Error
Program has exceeded the compiler limitations on the number of nested conditional preprocessor directives; reduce the depth of the conditional preprocessor directives nested in the program.
Conflicting argument declarations for function FUNCTION.
Compile Error
Arguments of the named function prototype declaration do not match those for the old-style function definition of the same name; ensure that the function declaration matches that of the old-style function definition. A better course is to change the old-style function definition to a new-style definition that matches the function prototype declaration.
Conflicting GRPDEFs: group name NAME.
Link Error
Object module is probably corrupt.
Constant expression must be integer.
Compile Error
Constant integer expression is expected in this context. Ensure the expression conforms to the semantics of a constant expression that computes an integer value.
Conversion from TYPEtoTYPE is compiler-dependent.
Compile Warning
Avoid converting between a function pointer and other types of pointers, because you should not access functions as data, and you cannot execute data as functions.
Could not find the DLL header file HEADER FILE.
Glue Code Generation Error
LabWindows/CVI could not find the file that contains the prototypes for the functions in the DLL. When generating glue code, ensure that you specify the correct filename. When loading a DLL, ensure that a header file with the same base name as the DLL exists.
Declaration of NAME does not match previous declaration at POSITION.
Compile Error
You declared a variable or function twice, and its type in the first declaration does not match its type in the second declaration.
Declared parameter NAME is missing.
Compile Error
Declaration for a parameter in an old style parameter list is missing, or the declaration does not match to any parameter name in the list. Ensure that the names in the old-style function definition have corresponding parameter declarations. A better course is to convert the old-style function definition to the new-style function definition requiring prototypes.
Duplicate case label NAME.
Compile Error
Case label value appears more than once in the switch statement. Eliminate any duplicate case label values in the switch statement.
Duplicate definition for NAME previously declared at POSITION.
Compile Error
You redeclared a previously defined parameter name; eliminate one of the parameter declarations.
Duplicate field name NAME in TYPE.
Compile Error
You have already declared the member name of the struct or union type. Eliminate one of the member declarations from the struct or union type declaration.
Elf library is out of date.
Load Error
LabWindows/CVI expects a more recent version of the shared library (libelf.so) that it uses to load ELF objects. As a result, LabWindows/CVI is unable to read or write object and library files.
Empty declaration.
Compile Error or Warning
You did not declare an object or type. It is an error if the empty declaration appears in the context of an old-style parameter declaration.
'enum NAME' declared inside parameter list has scope only for this declaration.
Compile Warning
Enumeration you declared in the parameter list has scope only within the parameter list. As a result, its type is incompatible with all other types. You must declare the enumeration type before you declare function types that use it.
Error in Elf Library encountered while reading external module: NAME.
Load Error
Object module is corrupt or is of a type that LabWindows/CVI cannot load.
Error: compiling FILE for DLL exports.
DLL Import Library Creation Error
When creating a DLL using the Include File method for specifying exported symbols, an error occurred while compiling the include file.
Error: Incompatible type for function or variable NAME in header FILE used to specify exports.
DLL Link Error
When creating a DLL using the Include File method for specifying exported symbols, the type of the symbol in the include file did not match the type in the source file.
Expecting an enumerator identifier.
Compile Error
Compiler expects an enumeration constant identifier after the opening brace, {, in an enum type declaration.
Expecting an identifier.
Compile Error
Compiler expects an identifier in the current syntactic context. Check the syntax of the declaration, statement, or preprocessor directive.
Expecting integer constant, push, or pop.
Compile Error
pack pragma requires at least one parameter.
Extra default label.
Compile Error
default label has already appeared for this switch statement. Eliminate the extraneous default label.
Extraneous 0-width bit field TYPE NAME ignored.
Compile Warning
Named bit field has no width and therefore has no storage allocated to it.
Extraneous formal parameter specification.
Compile Error
This error occurs when the compiler is processing what it assumes to be an old-style function declaration and encounters what it assumes to be the function’s parameter names. If this is an old-style function declaration, make sure that the parameter names appear only in the function definition and not in any declaration of that function. If this is a new-style function declaration (prototype), then probably the identifier that the compiler assumes to be a parameter name is really a typedef name. Make sure that you previously declared the identifier as a typedef.
Extraneous identifier NAME.
Compile Error
Identifier appears in a context where the compiler expects a type name, such as in a cast operation or as the operand of sizeof. Syntactically, a type name is a declaration of a function or an object of that type that omits the identifier.
Extraneous return value.
Compile Error
Return statement appears in a void function and therefore no return value is necessary; eliminate the expression from the return statement.
Failed to load DLL FILE.
Link Error
LabWindows/CVI could not find the DLL. Ensure that it is in one of the default directories searched by Microsoft Windows, or that it includes a complete path name.
Failed to open external module.
Load Error
LabWindows/CVI could not open the external module for loading. Ensure that the external module has read access and that you did not inadvertently rename or delete it.
Field name expected.
Compile Error
The compiler expects an identifier to follow a . or >.
Field name missing.
Compile Error
Identifier is missing from a member (field) declaration in a struct or union type declaration. Make sure an identifier follows the member type specifier.
Found TYPE expected a function.
Compile Error or Warning
In an expression, the compiler expects the name of a function or pointer to function to precede a (. In a #pragma line, the compiler expects the name of a function after the pragma type.
Function definitions are not allowed in the interactive window.
Compile Error
Function definitions cannot appear in the Interactive Execution window.
Function FUNCTION has an unsupported return type size.
Glue Code Generation Error
Glue code generation or the DLL loading facilities do not support the return type of the function.
Function requires extra code to handle Callbacks: FUNCTION.
Glue Code Generation Error
Automatic glue code generation facility cannot generate complete code for this function because one of its parameters is a function pointer or it returns a function pointer. You must generate and modify the glue source code.
Header name literal toolong.
Compile Error
Header name length exceeds implementation limitations. Ensure that the header name is properly terminated with a > or a ", or shorten the string literal.
Illegal case label.
Compile Error
Case label appears outside the context of a switch statement. Remove the case label.
Illegal character CHAR.
Compile Error
Character or character escape sequence outside the legal character set for an ANSI C source file appears in a context other than a character string or character literal.
Illegal continue statement.
Compile Error
continue statement appears outside a loop statement. Remove the continue statement.
Illegal default label.
Compile Error
default label appears outside the context of a switch statement. Remove the default label.
Illegal expression.
Compile Error
Compiler encountered the wrong type of token while parsing an expression where it expected an identifier, string literal, integer constant, floating constant, or (.
Illegal extern definition of NAME; all interactive window variable definitions must be static.
Compile Error
No Interactive Execution window definitions are visible outside the scope of the Interactive Execution window. You cannot initialize external symbols in the Interactive Execution window.
Illegal formal parameter types.
Compile Error
Parameter type of void appears in a function prototype declaration that has more than one argument. Remove the void parameter type or change the function prototype so that it contains only the single void parameter type.
Illegal header name; #include expects "FILE" or <FILE>.
Compile Error
Unexpected character follows an #include where a header filename of the form "FILE" or <FILE> is expected. It is also possible that the header filename beginning quote character is different than the expected closing quote character, such as <FILE".
Illegal initialization for NAME.
Compile Error
Ensure that the initialization is not for a function declaration rather than a pointer to a function.
Illegal initialization for parameter NAME.
Compile Error
Parameter declarations cannot have default value initializations in ANSI C. Eliminate the initialization.
Illegal initialization for parameter.
Compile Error
Parameter declarations cannot have default value initializations in ANSI C. Eliminate the initialization.
Illegal initialization of extern NAME.
Compile Error
You attempted to initialize an extern declaration that appears in a local scope. Eliminate the initialization.
Illegal return type;found TYPE expected TYPE.
Compile Error
Return statement expression type is not the same as the return type of the function in which it appears. Ensure that the type of the return expression is consistent (assignment compatible) with the function return type.
Illegal return typeTYPE.
Compile Error
Function is declared with an illegal return type, or a return statement expression type is not the same as the return type of the function in which it appears. If the diagnostic is for a function declaration, ensure that the return type is not an array type or a function type. If the diagnostic is for a return statement, the containing function is probably declared void and can contain no expression in its return statement.
Illegal source filename specified for #line; s-char-sequence expected.
Compile Error
Only token that can follow the line number specification in a #line preprocessor directive is an optional string literal specifying a source filename. A sequence of tokens also can follow the #line token if, after the compiler performs macro expansion on the source line, the source line conforms to one of the two allowable forms of #line preprocessor directives:
#line line-number-digit-sequence
#line line-number-digit-sequence "filename"
Illegal statement termination.
Compile Error
During compilation of a sequence of statements, the compiler encountered a token that it expected either to begin a new statement, begin an else clause of an if statement, be a statement label, be a case label, or terminate a compound statement, such as }. Depending on the context of the location of where the compiler issued the diagnostic, ensure that the statement syntax is correct for the cases listed above.
Illegal type array ofTYPE.
Compile Error
You attempted to declare an array of functions. You probably intended to declare an array of function pointers instead.
Illegal type const TYPE.
Compile Error
You used more than one qualifier, such as const or volatile, in a type specification; for example, const const int. Do not use the const and volatile qualifiers more than once each in the same type.
Illegal type for symbol 'DllMain': TYPE.
Compile Error
DllMain does not conform to the accepted prototype.
int__stdcall DllMain (HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved);
Illegal type for symbol 'WinMain': TYPE.
Compile Error
WinMain does not conform to the accepted prototype.
int__stdcall WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpszCmdLine, int nCmdShow);
Illegal type volatile TYPE.
Compile Error
You used more than one qualifier, such as const or volatile, in a type specification, for example, const const int. Do not use the const and volatile qualifiers more than once each in the same type.
Illegal use of type nameNAME.
Compile Error
You used a typedef name in the context of a primary expression. If you intended to use a type cast, parenthesize the typedef name. Otherwise you must use a macro name, enumeration constant, variable name, or function name in this context.
Illegal variable declaration; only static and extern variable classes are valid in the interactive window.
Compile Error
Change the variable declaration to be either static or extern.
Ill-formed constant integer expression.
Compile Error
Constant integer expression that appears in a preprocessor directive is syntactically invalid. Check the expression for trailing tokens.
Ill-formed hexadecimal escape sequence \xCHAR.
Compile Error
Ensure that a hexadecimal character ([09,af, or AF]) follows the \x escape sequence introduction.
Ill-formed hexadecimal escape sequence.
Compile Error
Ensure that a hexadecimal character (09,af, or AF]) follows the \x escape sequence introduction.
Import Variables cannot be used in global variable initialization.
Compile Error
You used a global variable marked as __import or declspec(dllimport) in an initializer of another variable.
Include files nested too deeply.
Compile Error
Number of nested #include files exceeds compiler limits. Reduce the number of nested #include preprocessor directives.
Inconsistent linkage for NAME previously declared at POSITION.
Compile Error
Current declaration of the identifier is inconsistent with a previous declaration of the same identifier with regard to linkage. Ensure that all declarations of the identifier that you intend to be static do not conflict with declarations without the static keyword in the same scope.
Inconsistent type declarations for external symbol NAME in modules FILE1 and FILE2.
Link Error
You declared two or more external symbols with the same name but not the same type. Check each program file that contains an external declaration of the symbol for type consistency.
Initializer exceeds bit-field width.
Compile Warning
Number of bits necessary to represent the initialization value of a bit field exceeds its declared width. The compiler truncates the initialization value to fit the bit field. The initialization value must be smaller or the bit field declaration must be wider.
Initializer must be constant.
Compile Error
Initializer must be an expression that conforms to the semantics for a constant expression.
Insufficient number of arguments to FUNCTION.
Compile Error
Function expects more arguments than you passed to it. Check the function declaration for the number of parameters to the function.
Insufficient system memory for Interactive Window
Link Error
There is not enough memory to run the code in the Interactive Execution window.
Insufficient system memory for project.
Link Error
There is not enough memory to link the project.
Insufficient user data memory for project.
Link Error
There is not enough memory to link the project.
Invalid hexadecimal constant.
Compile Error
A token the compiler assumes to be a hexadecimal constant is badly formed. Ensure that token conforms to the syntax for hexadecimal constants, especially that a valid hexadecimal digit follows the 0x or 0Xprefix.
Invalid initialization type; found TYPE expected TYPE.
Compile Error
Expression that initializes the object declaration is type incompatible with the object. Ensure that the initialization expression is assignment compatible with the object type. Ensure that all constituent values of an aggregate expression match the corresponding positional types of the aggregate type, such as member types of a struct or union type.
Invalid octal constant.
Compile Error
A token the compiler assumes to be an octal constant is badly formed. Ensure that the token conforms to syntax for octal constants, especially that a valid octal digit follows the leading 0 prefix.
Invalid operand of unary &; NAME is declared register.
Compile Error
It is illegal to take the address (&prefix operator) of an object you declare to be of register class. Remove the register keyword from the object declaration if you want to apply the address operator to it.
Invalid storage class.
Compile Error
extern is the only allowable explicit storage class specifier for a function declaration that has block scope.
declarations.
Compile Error
Compiler encountered an invalid token while processing a struct or union type declaration. The compiler expected a token that begins a member type specifier where the type specifier is one of void, char, short, int, long, float, double, signed, unsigned, <struct-or-union-specifier>, <enum-specifier>, or <typedef-name>.
Invalid type argument TYPE to sizeof.
Compile Error
You applied sizeof operator to a function type or incomplete struct or union type. A function type has no size, and the size of an incomplete struct or union type is unknown before its full declaration.
Invalid type specification.
Compile Error
Combination of type specifiers is incompatible. You can use the type specifier short only in combination with int. You can use the type specifier long only in combination with int and double. You can use the type specifiers signed and unsigned only in combination with one of the basic integer types (char, short, int, long).
Invalid union field declarations.
Compile Error
Compiler encountered an invalid token while processing a struct or union type declaration. The compiler expected a token that begins a member type specifier where the type specifier is one of void, char, short, int, long, float, double, signed, unsigned, <struct-or-union-specifier>, <enum-specifier>, or <typedef-name>.
Invalid use of TOKEN.
Compile Error
This error occurs during compilation of a type specification. The specified TOKEN is not valid in the context of the type specifier. Two common errors are use of a storage class other than register for a parameter declaration and using the storage class register for a global object declaration.
Left operand of . has incompatible type TYPE.
Compile Error
Left operand of the . member selection operation must be a struct or union type.
Left operand of > has incompatible type TYPE.
Compile Error
Left operand of the > dereference operation is either not a pointer to struct or union type, or it is not a pointer type at all.
Lvalue required.
Compile Error
An lvalue is required in this context. Ensure that the expression conforms to the semantics of an lvalue.
Macro expansion too large.
Compile Error
Macro expansion has exceeded the compiler implementation size limitation.
Macro parameter must follow # operator.
Compile Error
# operator requires that a macro parameter immediately follow it in a macro replacement list.
Matching push not encountered or already popped.
Compile Error
pack pragma used a named pop that does not balance with the push of the same name.
Missing #endif
Compile Error
#if, #ifdef preprocessor directive must have a corresponding #endif in the same source file.
Missing #include file name; #include expects "FILE" or <FILE>.
Compile Error
No include filename follows the #include preprocessor directive. Ensure that a filename of the correct form follows #include or that any macro that follows #include expands into the correct form for an include filename.
Missing '.
Compile Error
Termination single quote character ' is missing from a character or wide character literal.
Missing { in initialization of TYPE.
Compile Error
Initialization of a struct, union, or array type, is missing a starting brace, {, for an aggregate initialization value.
Missing array size.
Compile Error
You attempted to define a block scope object or type that is an array which has an element type that is an incomplete array type, such as an array with unspecified size. The array element type must be a complete array type, such as an array type with a known size.
Missing CHAR.
Compile Error
Check for unterminated string or character literal.
Missing identifier.
Compile Error
Identifier that specifies the object name is missing from the object declaration. Ensure that an identifier follows the object type specifier.
Missing label in goto.
Compile Error
Goto statement is missing an identifier label.
Missing parameter name to function FUNCTION.
Compile Error
Parameter list of the function definition is missing an identifier for one of its parameter declarations. All parameter declarations for a function definition must include an identifier except for the special case of a parameter list consisting of a single parameter of type void, in which there must not be an identifier.
Missing parameter type.
Compile Error
Type specifier is missing from a parameter declaration in a new-style (prototype) function declaration. Ensure that the function declaration is not mixing old-style parameter declarations with new-style (prototype) declarations.
Missing prototype.
Compile Error
Function declaration or call is for a function without prototype declaration information. The compiler issues the diagnostic if the Require Function Prototypes compiler option is enabled.
Missing return value.
Compile Warning
Non-void function does not return a value. Add a return statement with an expression of the function return type. The compiler issues the diagnostic if the Require Return Value for Non-void Functions compiler option is enabled.
Missing struct tag.
Compile Error
Tag name is missing from an incomplete struct or union declaration.
Missing union tag.
Compile Error
Tag name is missing from an incomplete struct or union declaration.
Multiply defined symbol NAME in modules FILE1 and FILE2.
Link Error
The files being linked contain more than one definition for NAME.
Naked functions are not supported.
Compile Error
LabWindows/CVI does not work with the naked keyword.
NAME is a predefined macro and cannot be the subject of an #undef.
Compile Error
Make sure that the name you specify for the #undef preprocessor directive is not that of a predefined macro.
No data relocation section found for external module: FILE.
Link Error
External object module does not contain the relocation information necessary to link it in with the rest of the project. You cannot load an executable as an object module.
No data section found for external module: FILE.
Link Error
External object module does not contain the initialized data necessary to link it in with the rest of the project. Ensure that you built the external object file correctly.
No pack settings currently pushed.
Compile Error
pack pragma used a pop when there were no pushes.
No symbol table found for external module: FILE.
Link Error
External object module does not contain the symbol table information necessary to link it in with the rest of the project. Ensure that you built the external object file correctly.
No text relocation section found for external module: FILE.
Link Error
External object module does not contain the relocation information necessary to link it in with the rest of the project. You cannot load a linked executable as an object module.
No text section found for external module: FILE.
Link Error
External object module does not contain the initialized instruction data necessary to link it in with the rest of the project. Ensure that you built the external object file correctly.
NUMBER is an illegal array size.
Compile Error
Make sure that the size of the array declaration is > 0.
NUMBER is an illegal bit field size.
Compile Error
Make sure that the size you specified for the bit field is between 0 and 32.
NUMBER line(s) truncated. File set to read-only.
Compile Error
Occurs when reading in source or include file. Lines are limited to 1,020 characters, where tabs count as one character. Use the editor in which you created the file to split the line.
Object module contains unsupported FAR pointers.
Load Error
External object module contains FAR pointers, which you cannot implement in LabWindows/CVI.
One of the arguments to FUNCTION has an unsupported size.
Glue Code Generation Error
One of the function arguments has a type that the LabWindows/CVI glue code generation and DLL loader do not support.
Operand of unary OPERATOR has illegal type TYPE.
Compile Error
Type of the operand to the unary operator is not valid.
Operands of [one from set of binary operators] have illegal types TYPE and TYPE.
Compile Error
Types of the two operands to the binary operator are illegal according to the ANSI C standard.
Operands of [one from set of binary operators] have incompatible types.
Compile Error
Types of the two operands to the binary operator are not compatible according to the ANSI C standard.
Operands of ‘=‘ have incompatible calling conventions.
Compile Error
Function pointer is assigned an expression that does not match its calling convention.
Overflow in constant CONSTANT.
Compile Warning
Value of a constant or constant expression exceeds the limits of the type. Ensure that the value does not exceed the maximum value for the expression type.
Overflow in constant expression.
Compile Warning
Value of a constant or constant expression exceeds the limits of the type. Ensure that the value does not exceed the maximum value for the expression type.
Overflow in floating constant CONSTANT.
Compile Warning
Value of a constant or constant expression exceeds the limits of the type. Ensure that the value does not exceed the maximum value for the expression type.
Overflow in hexadecimal escape sequence.
Compile Warning
Value of a constant or constant expression exceeds the limits of the type. Ensure that the value does not exceed the maximum value for the expression type.
Overflow in octal escape sequence.
Compile Warning
Value of a constant or constant expression exceeds the limits of the type. Ensure that the value does not exceed the maximum value for the expression type.
Overflow in value for enumeration constant CONSTANT.
Compile Error
Value of a constant or constant expression exceeds the limits of the type. Ensure that the value does not exceed the maximum value for the expression type.
Pack pragma valid values are 1, 2, 4, 8, and 16.
Compile Error
pack pragma alignment value parameter must be 1, 2, 4, 8, or 16.
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.
Pragma pack(pop...) does not set alignment. Use separate pack pragma.
Compile Warning
You used a pragma pop with an alignment value. Use separate pack pragmas for popping and setting the alignment value.
Project not linked.
Link Warning
This error occurs when the compiler reports one or more link errors in the Interactive Execution window and the project is not in a linked state. This warning provides a possible explanation for the link errors. The Interactive Execution window does not link to the project unless the project is in a linked state. If you are referencing project symbols from the Interactive Execution window, use the Build Project command from the Build menu to compile and link the project first.
Qualified function type ignored.
Compile Warning
Any qualification of a function declaration is extraneous but harmless.
Read error.
Link Error
Error has occurred while attempting to read a file. Ensure that the file has access permission and that it is in the correct format.
Redeclaration of ‘%s’ with different calling convention, previously declared at %w.
Compile Error
Function has been redeclared with a different calling convention.
Redeclaration of macro parameter NAME.
Compile Error
Parameter name has already been used once by the macro. Choose another parameter name.
Redeclaration of NAME previously declared at POSITION.
Compile Error
Declared name conflicts with a previous declaration in the same scope and name space. You have already used the name in this scope. Choose another name for this declaration.
Redeclaration of NAME.
Compile Error
Declared name conflicts with a previous declaration in the same scope and name space. You have already used the name in this scope. Choose another name for this declaration.
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 macroNAME.
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 as 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.
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.
Result of unsigned comparison is constant.
Compile Warning
Result of <UNSIGNED INTEGER EXPRESSION> 0 always evaluates to 1.
Segment must be of classCODE, DATA, BSS, or STACK: segment nameNAME.
Load Error
External object module contains an unknown segment class. Object modules must not contain any specially-named segments.
Segment must be USE32: segment name NAME.
Link Error
External object module you loaded contains unsupported 16-bit segments. LabWindows/CVI supports only 32-bit object modules. Ensure that the external object module was compiled with a 32-bit compiler.
'signed' type mismatch between TYPE and TYPE.
Compile Warning
This warning is issued when the signs of the lvalue and rvalue expressions in a pointer assignment operation do not agree. Both lvalue and rvalue are pointers to integer types but they point to integer types of differing signs, which might cause problems if you later dereference the lvalue. This diagnostic is issued if you select the Enable Signed/Unsigned Pointer Mismatch Warning compiler option.
Size of array of TYPE exceeds SIZE bytes.
Compile Error
Size of the array or struct/union type exceeds the compiler limitation of INT_MAX bytes.
Size of TYPE exceedsSIZE bytes.
Compile Error
Size of the array or struct/union type exceeds the compiler limitation of INT_MAXbytes.
sizeof applied to a bit field.
Compile Error
Do not use the sizeof operation on a bit-field.
Structures containing unspecified size array fields must contain other fields.
Compile Error
Structures that contain arrays with unspecified size must contain at least one other non-zero size member. LabWindows/CVI supports these types of structures as an extension to the ANSI C standard.
Switch statement with nocases.
Compile Warning
Switch statement contains no case or default label.
Symbol NAME defined in modules FILE and FILE.
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.
Syntax error; found TOKEN1 expecting TOKEN2.
Compile Error
Syntax error occurred because the compiler found TOKEN1 instead of TOKEN2.
Thread data is not supported.
Compile Error
You cannot implement thread-local storage in LabWindows/CVI.
Too many arguments to FUNCTION.
Compile Error
Declaration for function FUNCTION contains fewer parameters than the number of arguments you passed in this function call.
Too many function parameters.
Compile Error
Number of parameter declarations exceeds compiler limitations. Declare the function with fewer parameters.
Too many initializers.
Compile Error
Size of the initializer exceeds the size of the object. Ensure that the initializer matches the number/size of the object type.
Too many macro parameters.
Compile Error
Number of parameter declarations exceeds compiler limitations. Declare the macro with fewer parameters.
Type error in argument %d to %s, calling convention mismatch.
Compile Error
Function or function pointer you passed to a function does not have the correct calling convention.
Type error in argument NUMBER to NAME; found TYPE expected TYPE.
Compile Error
You passed an argument that is not type compatible with the prototype declaration for the parameter in that position. Ensure that the actual argument is type compatible with the parameter declaration.
Type error in argument NUMBER to NAME; TYPE is illegal.
Compile Error
Argument you passed is an illegal array type or an incomplete type of which the size is unknown. Ensure that the argument is of a complete type.
Type error: pointerexpected.
Compile Error
Expression you dereferenced with the '*', '->' or '[]' operator does not have pointer type.
TYPE is an illegal bit field type.
Compile Error
Only int and unsigned types are valid for bit field declarations; ensure that you use one of these types.
TYPE used as an lvalue.
Compile Warning
Type that cannot be modified is used as the target of an assignment. This was probably caused by an lvalue that is a dereference of an object declared as (void*).
Unclosed comment.
Compile Error
Comment is missing the closing */delimiter.
Undeclared identifier NAME.
Compile Error
You did not previously declare NAME. You must declare all names before use. Ensure that you did not conditionally exclude NAME from compilation.
Undefined label NAME.
Compile Error
You used the label NAME as the target of a go to statement in the function but it never appears as a statement label. Ensure the label appears in the same function as the go to statements of which it is a target. Non-local go to statements are illegal.
Undefined size for field TYPE NAME.
Compile Error
Member (field) declaration has no size for the declared type. You probably declared the member with an empty struct or union type declaration.
Undefined size for fieldTYPE.
Compile Error
Member (field) declaration has no size for the declared type. You probably declared the member with an empty struct or union type declaration.
Undefined size for parameter TYPE NAME.
Compile Error
You declared a parameter with an incomplete type. Because the size of an incomplete type is unknown, storage cannot be allocated for the object.
Undefined size for static TYPE NAME.
Compile Error
You declared a static object with an incomplete type or without an initialization expression from which the compiler can calculate a size for the type. Because the size of an incomplete type is unknown, you cannot allocate storage for the object.
Undefined size for TYPENAME.
Compile Error
You have defined an object with an incomplete type. Because the size of an incomplete type is unknown, storage cannot be allocated for the object.
Undefined static TYPENAME.
Compile Error or Warning
You declared the static function but never defined it. Because a static function is only visible within the file in which you declared it, you must define it at some point within the file in order to use it. If you called the function anywhere in the file, this diagnostic is an error. Otherwise it is a warning.
Undefined symbol NAME.
Link Error
You used a variable or function in the project but did not define it anywhere.
Unexpected #elif; #endifexpected.
Compile Error
Compiler encountered an #else preprocessor directive immediately prior to this #elif at the same level of conditional inclusion. Ensure that the conditional preprocessor #include directives at this level are in the proper order.
Unexpected #elif; #ifnot seen.
Compile Error
Compiler encountered an #elif preprocessor directive but it has not yet seen a beginning #if, #ifdef, or ifndef at this level.
Unexpected #else; #endifexpected.
Compile Error
Compiler encountered an #else preprocessor directive immediately following a prior #else at the same level of conditional inclusion. Ensure that the conditional preprocessor #include directives at this level are in the proper order.
Unexpected #else; #ifnot seen.
Compile Error
Compiler encountered an #else preprocessor directive, but it has not yet seen a beginning #if, #ifdef, or ifndef at this level.
Unexpected #endif; nomatching #if, #ifdef, or #ifndef.
Compile Error
Compiler encountered an #endif preprocessor directive but has not yet seen a beginning #if, #ifdef, or ifndef at this level.
Unexpected EOF.
Load Error
LabWindows/CVI encountered an unexpected End Of File (EOF) condition when loading an external object module. Ensure that the object file has not been truncated.
Unexpected EOF; TOKENexpected.
Compile Error
The compiler encountered an End Of File (EOF) condition while parsing a syntactic construct. Ensure that syntactic structure is complete, such as matching parenthesis and matching braces.
Unexpected token.
Compile Error
Compiler encountered an unexpected token while processing a #define preprocessor directive. Check for missing ) in your macro parameter lists.
Unexpected trailing tokens on directive line ignored.
Compile Warning
Preprocessor line contains harmless trailing tokens that the compiler ignored.
'union NAME' declared inside parameter list has scope only for this declaration.
Compile Warning
Union declared in the parameter list has scope only within the parameter list. As a result, its type is incompatible with all other types. You should declare the union type before you declare function types that use it.
Unknown enumeration NAME.
Compile Error
NAME is an undeclared enumeration type.
Unknown field NAME ofTYPE.
Compile Error
Member selection or dereference has attempted to access an undeclared member, (field) name of a struct, or union type. Ensure that the member is declared for the struct or union type you select or dereference.
Unknown or unsupported OMF record at position NUMBER: OMF record type NUMBER.
Load Error
LabWindows/CVI encountered an unknown OMF record while loading an external object module. Ensure that the external object module was compiled properly.
Unknown size of typeTYPE.
Compile Error
You performed pointer arithmetic on operand(s) that are pointers to types of unknown size. The types are probably incomplete types or pointer to function types. Ensure that the pointer types point to fully declared types and are not pointers to functions.
Unnamed pop matching named push.
Compile Warning
pack pragma used an unnamed pop that balances a name push.
Unrecognized character escape sequence CHAR.
Compile Warning
Character escape sequence does not conform to any known character escape sequence, octal escape sequence, or hexadecimal escape sequence.
Unrecognized character escape sequence.
Compile Warning
Character escape sequence does not conform to any known character escape sequence, octal escape sequence, or hexadecimal escape sequence.
Unrecognized declaration.
Compile Error
Declaration is unrecognizable. Check the declaration syntax for the function, object, or type you want to use.
Unrecognized preprocessor directive.
Compile Error
# character begins an unknown preprocessor directive. Check the spelling of the preprocessor directive.
Unrecognized statement.
Compile Error
Statement syntax is unrecognizable. Check the statement syntax for the type of statement you want to use.
Unsigned operand of unary.
Compile Warning
You performed a nonsensical unary negation operation on an unsigned type. A negation operation on an unsigned type is not effective.
Unsupported segment combination type NUMBER: segment name NAME.
Load Error
LabWindows/CVI encountered a bad segment while loading an external object module. Ensure that the external object module was compiled properly.
Use of keyword '__declspec(dllexport)' contradicts previous use of keyword '__declspec(dllimport)' at POSITION.
Compile Error
Use of a keyword in a variable definition contradicts a previous definition, for example: int __declspec(dllimport) x; int __declspec(dllexport) x=0;
Use of keyword '__declspec(dllimport)' contradicts previous use of keyword '__declspec(dllexport)' at POSITION.
Compile Error
Use of a keyword in a variable definition contradicts a previous definition, for example: int __declspec(dllexport) x; int __declspec(dllimport) x=0;
Use of keyword '__export' contradicts previous use of keyword '__import' at POSITION.
Compile Error
Use of a keyword in a variable definition contradicts a previous definition, for example: int __import x; int __export x=0;
Use of keyword '__import' contradicts previous use of keyword '__export' at POSITION.
Compile Error
Use of a keyword in a variable definition contradicts a previous definition, for example: int __export x; int __import x=0;
Variables defined as DLLimports cannot be defined with an initial value.
Compile Error
You assigned an initial value to a variable defined as a DLL import, for example: int __import i = 0;
You must initialize the variable in a separate assignment statement.
Warning: Import libraries other than the one for the current compatibility mode may not work for symbols exported from an object file. It is recommended that you export using header files instead.
DLL Link Warning
When creating a DLL using the symbols marked for export method for specifying exported symbols, one of the modules was an object or library file. LabWindows/CVI does not have sufficient information to ensure that the import libraries it generates for both compatible external compilers will have the correct names of the symbols in that module.
WatchPoint: module name is not valid.
Watchpoint Error
Module name you specified in the watch point is not present in the project or in any of the loaded instrument drivers.