═══ 1. Watcom C Diagnostic Messages ═══ The following is a list of all warning and error messages produced by the Watcom C compilers. Diagnostic messages are issued during compilation and execution. The messages listed in the following sections contain references to %s, %d and %u. They represent strings that are substituted by the Watcom C compilers to make the error message more exact. %d and %u represent a string of digits; %s a string, usually a symbolic name. Consider the following program, named ERR.C, which contains errors. Example: #include void main() { int i; float i; i = 383; x = 13143.0; printf( "Integer value is %d\n", i ); printf( "Floating-point value is %f\n", x ); } If we compile the above program, the following messages will appear on the screen. err.c(6): Error! E1034: Symbol 'i' already defined err.c(9): Error! E1011: Symbol 'x' has not been declared err.c: 12 lines, included 191, 0 warnings, 2 errors The diagnostic messages consist of the following information: 1. the name of the file being compiled, 2. the line number of the line containing the error (in parentheses), 3. a message number, and 4. text explaining the nature of the error. In the above example, the first error occurred on line 6 of the file ERR.C. Error number 1034 (with the appropriate substitutions) was diagnosed. The second error occurred on line 9 of the file ERR.C. Error number 1011 (with the appropriate substitutions) was diagnosed. The following sections contain a complete list of the messages. Run-time messages (messages displayed during execution) do not have message numbers associated with them. ═══ 1.1. W100 Parameter %d contains inconsistent levels of indirection ═══ The function is expecting something like char ** and it is being passed a char * for instance. ═══ 1.2. W101 Non-portable pointer conversion ═══ This message is issued whenever you convert a non-zero constant to a pointer. ═══ 1.3. W102 Type mismatch (warning) ═══ This message is issued for a function return value or an assignment where both types are pointers, but they are pointers to different kinds of objects. ═══ 1.4. W103 Parameter count does not agree with previous definition (warning) ═══ You have either not enough parameters or too many parameters in a call to a function. If the function is supposed to have a variable number of parameters, then you can ignore this warning, or you can change the function declaration and prototypes to use the ",..." to indicate that the function indeed takes a variable number of parameters. ═══ 1.5. W104 Inconsistent levels of indirection ═══ This occurs in an assignment or return statement when one of the operands has more levels of indirection than the other operand. For example, a char ** is being assigned to a char *. Solution: Correct the levels of indirection or use a void *. ═══ 1.6. W105 Assignment found in boolean expression ═══ An assignment of a constant has been detected in a boolean expression. For example: "if( var = 0 )". It is most likely that you want to use "==" for testing for equality. ═══ 1.7. W106 Constant out of range - truncated ═══ This message is issued if a constant cannot be represented in 32 bits or if a constant is outside the range of valid values that can be assigned to a variable. ═══ 1.8. W107 Missing return value for function '%s' ═══ A function has been declared with a function return type, but no return statement was found in the function. Either add a return statement or change the function return type to void. ═══ 1.9. W108 Duplicate typedef already defined ═══ A duplicate typedef is not allowed in ANSI C. This warning is issued when compiling with extensions enabled. You should delete the duplicate typedef definition. ═══ 1.10. W109 not used ═══ unused message ═══ 1.11. W110 'fortran' pragma not defined ═══ You have used the fortran keyword in your program, but have not defined a #pragma for fortran. ═══ 1.12. W111 Meaningless use of an expression ═══ The line contains an expression that does nothing useful. In the example "i = (1,5);", the expression "1," is meaningless. ═══ 1.13. W112 Pointer truncated ═══ A far pointer is being passed to a function that is expecting a near pointer, or a far pointer is being assigned to a near pointer. ═══ 1.14. W113 Pointer type mismatch ═══ You have two pointers that either point to different objects, or the pointers are of different size, or they have different modifiers. ═══ 1.15. W114 Missing semicolon ═══ You are missing the semicolon ";" on the field definition just before the right curly brace "}". ═══ 1.16. W115 &array may not produce intended result ═══ The type of the expression "&array" is different from the type of the expression "array". Suppose we have the declaration char buffer[80] Then the expression (&buffer + 3) will be evaluated as (buffer + 3 * sizeof(buffer)) which is (buffer + 3 * 80) and not (buffer + 3 * 1) which is what most people expect to happen. The address of operator "&" is not required for getting the address of an array. ═══ 1.17. W116 Attempt to return address of auto variable ═══ This warning usually indicates a serious programming error. When a function exits, the storage allocated on the stack for auto variables is released. This storage will be overwritten by further function calls and/or hardware interrupt service routines. Therefore, the data pointed to by the return value may be destroyed before your program has a chance to reference it or make a copy of it. ═══ 1.18. W117 '##' tokens did not generate a single token (rest discarded) ═══ When two tokens are pasted together using ##, they must form a string that can be parsed as a single token. ═══ 1.19. W118 Label '%s' has been defined but not referenced ═══ You have defined a label that is not referenced in a goto statement. It is possible that you are missing the case keyword when using an enumerated type name as a case in a switch statement. If not, then the label can be deleted. ═══ 1.20. W119 Address of static function '%s' has been taken ═══ This warning may indicate a potential problem when the program is overlayed. ═══ 1.21. W120 lvalue cast is not standard C ═══ A cast operation does not yield an lvalue in ANSI standard C. However, to provide compatibility with code written prior to the availability of ANSI standard C compilers, if an expression was an lvalue prior to the cast operation, and the cast operation does not cause any conversions, the compiler treats the result as an lvalue and issues this warning. ═══ 1.22. W121 Text following pre-processor directives is not standard C ═══ Arbitrary text is not allowed following a pre-processor directive. Only comments are allowed following a pre-processor directive. ═══ 1.23. W122 Literal string too long for array - truncated ═══ The supplied literal string contains more characters than the specified dimension of the array. Either shorten the literal string, or increase the dimension of the array to hold all of the characters from the literal string. ═══ 1.24. W123 '//' style comment continues on next line ═══ The compiler has detected a line continuation during the processing of a C++ style comment ("//"). The warning can be removed by switching to a C style comment ("/**/"). If you require the comment to be terminated at the end of the line, make sure that the backslash character is not the last character in the line. Example: #define XX 23 // comment start \ comment \ end int x = XX; // comment start ...\ comment end ═══ 1.25. W124 Comparison result always %d ═══ The line contains a comparison that is alway true (1) or false (0). For example comparing an unsigned expression to see if it is >= 0 or < 0 is redundant. Check to see if the expression should be signed instead of unsigned. ═══ 1.26. W125 Nested include depth of %d exceeded ═══ The number of nested include files has reached a preset limit, check for recursive include statements. ═══ 1.27. W126 Constant must be zero for pointer compare ═══ A pointer is being compared using == or != to a non-zero constant. ═══ 1.28. W127 trigraph found in string ═══ Trigraph expansion occurs inside a string literal. This warning can be disabled via the command line or #pragma warning directive. Example: // string expands to "(?]?????"! char *e = "(???)???-????"; // possible work-arounds char *f = "(" "???" ")" "???" "-" "????"; char *g = "(\?\?\?)\?\?\?-\?\?\?\?"; ═══ 1.29. W128 %d padding byte(s) added ═══ The compiler has added slack bytes to align a member to the correct offset. ═══ 1.30. W129 #endif matches #if in different source file '%s' ═══ This warning may indicate a #endif nesting problem since the traditional usage of #if directives is confined to the same source file. This warning may often come before an error and it is hoped will provide information to solve a preprocessing directive problem. ═══ 1.31. W200 '%s' has been referenced but never assigned a value ═══ You have used the variable in an expression without previously assigning a value to that variable. ═══ 1.32. W201 Unreachable code ═══ The statement will never be executed, because there is no path through the program that causes control to reach this statement. ═══ 1.33. W202 Symbol '%s' has been defined, but not referenced ═══ There are no references to the declared variable. The declaration for the variable can be deleted. In some cases, there may be a valid reason for retaining the variable. You can prevent the message from being issued through use of #pragma off(unreferenced). ═══ 1.34. W203 Preprocessing symbol '%s' has not been declared ═══ The symbol has been used in a preprocessor expression. The compiler assumes the symbol has a value of 0 and continues. A #define may be required for the symbol, or you may have forgotten to include the file which contains a #define for the symbol. ═══ 1.35. W300 Nested comment found in comment started on line %u ═══ While scanning a comment for its end, the compiler detected /* for the start of another comment. Nested comments are not allowed in ANSI C. You may be missing the */ for the previous comment. ═══ 1.36. W301 No prototype found for '%s' ═══ A reference for a function appears in your program, but you do not have a prototype for that function defined. ═══ 1.37. W302 Expression is only useful for its side effects ═══ You have an expression that would have generated the warning "Meaningless use of an expression", except that it also contains a side-effect, such as ++, --, or a function call. ═══ 1.38. W303 Parameter '%s' has been defined, but not referenced ═══ There are no references to the declared parameter. The declaration for the parameter can be deleted. Since it is a parameter to a function, all calls to the function must also have the value for that parameter deleted. In some cases, there may be a valid reason for retaining the parameter. You can prevent the message from being issued through use of #pragma off(unreferenced). This warning is initially disabled. It must be specifically enabled with #pragma enable_message(303). It can be disabled later by using #pragma disable_message(303). ═══ 1.39. E1000 BREAK must appear in while, do, for or switch statement ═══ A break statement has been found in an illegal place in the program. You may be missing an opening brace { for a while, do, for or switch statement. ═══ 1.40. E1001 CASE must appear in switch statement ═══ A case label has been found that is not inside a switch statement. ═══ 1.41. E1002 CONTINUE must appear in while, do or for statement ═══ The continue statement must be inside a while, do or for statement. You may have too many } between the while, do or for statement and the continue statement. ═══ 1.42. E1003 DEFAULT must appear in switch statement ═══ A default label has been found that is not inside a switch statement. You may have too many } between the start of the switch and the default label. ═══ 1.43. E1004 Misplaced '}' or missing earlier '{' ═══ An extra } has been found which cannot be matched up with an earlier {. ═══ 1.44. E1005 Misplaced #elif directive ═══ The #elif directive must be inside an #if preprocessing group and before the #else directive if present. ═══ 1.45. E1006 Misplaced #else directive ═══ The #else directive must be inside an #if preprocessing group and follow all #elif directives if present. ═══ 1.46. E1007 Misplaced #endif directive ═══ A preprocessing directive has been found without a matching #if directive. You either have an extra or you are missing an #if directive earlier in the file. ═══ 1.47. E1008 Only 1 DEFAULT per switch allowed ═══ You cannot have more than one default label in a switch statement. ═══ 1.48. E1009 Expecting '%s' but found '%s' ═══ A syntax error has been detected. The tokens displayed in the message should help you to determine the problem. ═══ 1.49. E1010 Type mismatch ═══ For pointer subtraction, both pointers must point to the same type. For other operators, both expressions must be assignment compatible. ═══ 1.50. E1011 Symbol '%s' has not been declared ═══ The compiler has found a symbol which has not been previously declared. The symbol may be spelled differently than the declaration, or you may need to #include a header file that contains the declaration. ═══ 1.51. E1012 Expression is not a function ═══ The compiler has found an expression that looks like a function call, but it is not defined as a function. ═══ 1.52. E1013 Constant variable cannot be modified ═══ An expression or statement has been found which modifies a variable which has been declared with the const keyword. ═══ 1.53. E1014 Left operand must be an 'lvalue' ═══ The operand on the left side of an "=" sign must be a variable or memory location which can have a value assigned to it. ═══ 1.54. E1015 '%s' is already defined as a variable ═══ You are trying to declare a function with the same name as a previously declared variable. ═══ 1.55. E1016 Expecting identifier ═══ The token following "->" and "." operators must be the name of an identifier which appears in the struct or union identified by the operand preceding the "->" and "." operators. ═══ 1.56. E1017 Label '%s' already defined ═══ All labels within a function must be unique. ═══ 1.57. E1018 Label '%s' not defined in function ═══ A goto statement has referenced a label that is not defined in the function. Add the necessary label or check the spelling of the label(s) in the function. ═══ 1.58. E1019 Tag '%s' already defined ═══ All struct, union and enum tag names must be unique. ═══ 1.59. E1020 Dimension cannot be 0 or negative ═══ The dimension of an array must be positive and non-zero. ═══ 1.60. E1021 Dimensions of multi-dimension array must be specified ═══ All dimensions of a multiple dimension array must be specified. The only exception is the first dimension which can declared as "[]". ═══ 1.61. E1022 Missing or misspelled data type near '%s' ═══ The compiler has found an identifier that is not a predefined type or the name of a "typedef". Check the identifier for a spelling mistake. ═══ 1.62. E1023 Storage class of parameter must be register or unspecified ═══ The only storage class allowed for a parameter declaration is register. ═══ 1.63. E1024 Declared symbol '%s' is not in parameter list ═══ Make sure that all the identifiers in the parameter list match those provided in the declarations between the start of the function and the opening brace "{". ═══ 1.64. E1025 Parameter '%s' already declared ═══ A declaration for the specified parameter has already been processed. ═══ 1.65. E1026 Invalid declarator ═══ A syntax error has occurred while parsing a declaration. ═══ 1.66. E1027 Invalid storage class for function ═══ If a storage class is given for a function, it must be static or extern. ═══ 1.67. E1028 Variable '%s' cannot be void ═══ You cannot declare a void variable. ═══ 1.68. E1029 Expression must be 'pointer to ...' ═══ An attempt has been made to de-reference (*) a variable or expression which is not declared to be a pointer. ═══ 1.69. E1030 Cannot take the address of an rvalue ═══ You can only take the address of a variable or memory location. ═══ 1.70. E1031 Name '%s' not found in struct/union %s ═══ The specified identifier is not one of the fields declared in the struct or union. Check that the field name is spelled correctly, or that you are pointing to the correct struct or union. ═══ 1.71. E1032 Expression for '.' must be a 'structure' or 'union' ═══ The compiler has encountered the pattern "expression" "." "field_name" where the expression is not a struct or union type. ═══ 1.72. E1033 Expression for '->' must be 'pointer to struct or union' ═══ The compiler has encountered the pattern "expression" "->" "field_name" where the expression is not a pointer to struct or union type. ═══ 1.73. E1034 Symbol '%s' already defined ═══ The specified symbol has already been defined. ═══ 1.74. E1035 static function '%s' has not been defined ═══ A prototype has been found for a static function, but a definition for the static function has not been found in the file. ═══ 1.75. E1036 Right operand of '%s' is a pointer ═══ The right operand of "+=" and "-=" cannot be a pointer. The right operand of "-" cannot be a pointer unless the left operand is also a pointer. ═══ 1.76. E1037 Type cast must be a scalar type ═══ You cannot type cast an expression to be a struct, union, array or function. ═══ 1.77. E1038 Expecting label for goto statement ═══ The goto statement requires the name of a label. ═══ 1.78. E1039 Duplicate case value '%s' found ═══ Every case value in a switch statement must be unique. ═══ 1.79. E1040 Field width too large ═══ The maximum field width allowed is 16 bits. ═══ 1.80. E1041 Field width of 0 with symbol not allowed ═══ A bit field must be at least one bit in size. ═══ 1.81. E1042 Field width must be positive ═══ You cannot have a negative field width. ═══ 1.82. E1043 Invalid type specified for bit field ═══ The types allowed for bit fields are signed or unsigned varieties of char, short and int. ═══ 1.83. E1044 Variable '%s' has incomplete type ═══ A full definition of a struct or union has not been given. ═══ 1.84. E1045 Subscript on non-array ═══ One of the operands of "[]" must be an array. ═══ 1.85. E1046 Incomplete comment ═══ The compiler did not find */ to mark the end of a comment. ═══ 1.86. E1047 Argument for # must be a macro parm ═══ The argument for the stringize operator "#" must be a macro parameter. ═══ 1.87. E1048 Unknown preprocessing directive '#%s' ═══ An unrecognized preprocessing directive has been encountered. Check for correct spelling. ═══ 1.88. E1049 Invalid #include directive ═══ A syntax error has been encountered in a #include directive. ═══ 1.89. E1050 Not enough parameters given for macro '%s' ═══ You have not supplied enough parameters to the specified macro. ═══ 1.90. E1051 Not expecting a return value for function '%s' ═══ The specified function is declared as a void function. Delete the return statement, or change the type of the function. ═══ 1.91. E1052 Expression has void type ═══ You tried to use the value of a void expression inside another expression. ═══ 1.92. E1053 Cannot take the address of a bit field ═══ The smallest addressable unit is a byte. You cannot take the address of a bit field. ═══ 1.93. E1054 Expression must be constant ═══ The compiler expects a constant expression. This message can occur during static initialization if you are trying to initialize a non-pointer type with an address expression. ═══ 1.94. E1055 Unable to open '%s' ═══ The file specified in an #include directive could not be located. Make sure that the file name is spelled correctly, or that the appropriate path for the file is included in the list of paths specified in the INCLUDE environment variable or the "i=" option on the command line. ═══ 1.95. E1056 Too many parameters given for macro '%s' ═══ You have supplied too many parameters for the specified macro. ═══ 1.96. E1057 Modifiers disagree with previous definition of '%s' ═══ You have more than one definition or prototype for the variable or function which have different type modifiers. ═══ 1.97. E1058 Cannot use typedef '%s' as a variable ═══ The name of a typedef has been found when an operand or operator is expected. If you are trying to use a type cast, make sure there are parentheses around the type, otherwise check for a spelling mistake. ═══ 1.98. E1059 Invalid storage class for non-local variable ═══ A variable with module scope cannot be defined with the storage class of auto or register. ═══ 1.99. E1060 Invalid type ═══ An invalid combination of the following keywords has been specified in a type declaration: const, volatile, signed, unsigned, char, int, short, long, float and double. ═══ 1.100. E1061 Expecting data or function declaration, but found '%s' ═══ The compiler is expecting the start of a data or function declaration. If you are only part way through a function, then you have too many closing braces "}". ═══ 1.101. E1062 Inconsistent return type for function '%s' ═══ Two prototypes for the same function disagree. ═══ 1.102. E1063 Missing operand ═══ An operand is required in the expression being parsed. ═══ 1.103. E1064 Out of memory ═══ The compiler has run out of memory to store information about the file being compiled. Try reducing the number of data declarations and or the size of the file being compiled. Do not #include header files that are not required. For the 16-bit WATCOM C compiler, the "/d2" switch causes the compiler to use more memory. Try compiling with the "/d1" switch instead. ═══ 1.104. E1065 Invalid character constant ═══ This message is issued for an improperly formed character constant. ═══ 1.105. E1066 Cannot perform operation with pointer to void ═══ You cannot use a "pointer to void" with the operators +, -, ++, --, += and -=. ═══ 1.106. E1067 Cannot take address of variable with storage class 'register' ═══ If you want to take the address of a local variable, change the storage class from register to auto. ═══ 1.107. E1068 Variable '%s' already initialized ═══ The specified variable has already been statically initialized. ═══ 1.108. E1069 Ending \" missing for string literal ═══ The compiler did not find a second double quote to end the string literal. ═══ 1.109. E1070 Data for aggregate type must be enclosed in curly braces ═══ When an array, struct or union is statically initialized, the data must be enclosed in curly braces {}. ═══ 1.110. E1071 Type of parameter %d does not agree with previous definition ═══ The type of the specified parameter is incompatible with the prototype for that function. The following example illustrates a problem that can arise when the sequence of declarations is in the wrong order. Example: /* Uncommenting the following line will eliminate the error */ /* struct foo; */ void fn1( struct foo * ); struct foo { int a,b; }; void fn1( struct foo *bar ) { fn2( bar ); } The problem can be corrected by reordering the sequence in which items are declared (by moving the description of the structure foo ahead of its first reference or by adding the indicated statement). This will assure that the first instance of structure foo is defined at the proper outer scope. ═══ 1.111. E1072 Storage class disagrees with previous definition of '%s' ═══ The previous definition of the specified variable has a storage class of static. The current definition must have a storage class of static or extern. ═══ 1.112. E1073 Invalid option '%s' ═══ The specified option is not recognized by the compiler. ═══ 1.113. E1074 Invalid optimization option '%s' ═══ The specified option is an unrecognized optimization option. ═══ 1.114. E1075 Invalid memory model '%s' ═══ Memory model option must be one of "ms", "mm", "mc", "ml", "mh" or "mf" which selects the Small, Medium, Compact, Large, Huge or Flat memory model. ═══ 1.115. E1076 Missing semicolon at end of declaration ═══ You are missing a semicolon ";" on the declaration just before the left curly brace "{". ═══ 1.116. E1077 Missing '}' ═══ The compiler detected end of file before finding a right curly brace "}" to end the current function. ═══ 1.117. E1078 Invalid type for switch expression ═══ The type of a switch expression must be integral. ═══ 1.118. E1079 Expression must be integral ═══ An integral expression is required. ═══ 1.119. E1080 Expression must be arithmetic ═══ Both operands of the "*", "/" and "%" operators must be arithmetic. The operand of the unary minus must also be arithmetic. ═══ 1.120. E1081 Expression must be scalar type ═══ A scalar expression is required. ═══ 1.121. E1082 Statement required after label ═══ The C language definition requires a statement following a label. You can use a null statement which consists of just a semicolon (";"). ═══ 1.122. E1083 Statement required after 'do' ═══ A statement is required between the do and while keywords. ═══ 1.123. E1084 Statement required after 'case' ═══ The C language definition requires a statement following a case label. You can use a null statement which consists of just a semicolon (";"). ═══ 1.124. E1085 Statement required after 'default' ═══ The C language definition requires a statement following a default label. You can use a null statement which consists of just a semicolon (";"). ═══ 1.125. E1086 Expression too complicated, split it up and try again ═══ The expression contains too many levels of nested parentheses. Divide the expression up into two or more sub-expressions. ═══ 1.126. E1087 Missing matching #endif directive ═══ You are missing a to terminate a #if, #ifdef or #ifndef preprocessing directive. ═══ 1.127. E1088 Invalid macro definition, missing ) ═══ The right parenthesis ")" is required for a function-like macro definition. ═══ 1.128. E1089 Missing ) for expansion of '%s' macro ═══ The compiler encountered end-of-file while collecting up the argument for a function-like macro. A right parenthesis ")" is required to mark the end of the argument(s) for a function-like macro. ═══ 1.129. E1090 Invalid conversion ═══ A struct or union cannot be converted to anything. A float or double cannot be converted to a pointer and a pointer cannot be converted to a float or double. ═══ 1.130. E1091 %s ═══ This is a user message generated with the #error preprocessing directive. ═══ 1.131. E1092 Cannot define an array of functions ═══ You can have an array of pointers to functions, but not an array of functions. ═══ 1.132. E1093 Function cannot return an array ═══ A function cannot return an array. You can return a pointer to an array. ═══ 1.133. E1094 Function cannot return a function ═══ You cannot return a function. You can return a pointer to a function. ═══ 1.134. E1095 Cannot take address of local variable in static initialization ═══ You cannot take the address of an auto variable at compile time. ═══ 1.135. E1096 Inconsistent use of return statements ═══ The compiler has found a return statement which returns a value and a return statement that does not return a value both in the same function. The return statement which does not return a value needs to have a value specified to be consistent with the other return statement in the function. ═══ 1.136. E1097 Missing ? or misplaced : ═══ The compiler has detected a syntax error related to the "?" and ":" operators. You may need parenthesis around the expressions involved so that it can be parsed correctly. ═══ 1.137. E1098 Maximum struct or union size is 64K ═══ The size of a struct or union is limited to 64K so that the compiler can represent the offset of a member in a 16-bit register. ═══ 1.138. E1099 Statement must be inside function. Probable cause: missing { ═══ The compiler has detected a statement such as for, while, switch, etc., which must be inside a function. You either have too many closing braces "}" or you are missing an opening brace "{" earlier in the function. ═══ 1.139. E1100 Definition of macro '%s' not identical to previous definition ═══ If a macro is defined more than once, the definitions must be identical. If you want to redefine a macro to have a different definition, you must #undef it before you can define it with a new definition. ═══ 1.140. E1101 Cannot #undef '%s' ═══ The special macros __LINE__, __FILE__, __DATE__, __TIME__, and __STDC__, and the identifier "defined", cannot be deleted by the #undef directive. ═══ 1.141. E1102 Cannot #define the name 'defined' ═══ You cannot define a macro called defined. ═══ 1.142. E1103 ## must not be at start or end of replacement tokens ═══ There must be a token on each side of the "##" (token pasting) operator. ═══ 1.143. E1104 Type cast not allowed in #if or #elif expression ═══ A type cast is not allowed in a preprocessor expression. ═══ 1.144. E1105 'sizeof' not allowed in #if or #elif expression ═══ The sizeof operator is not allowed in a preprocessor expression. ═══ 1.145. E1106 Cannot compare a struct or union ═══ A struct or union cannot be compared with "==" or "!=". You must compare each member of a struct or union to determine equality or inequality. If the struct or union is packed (has no holes in it for alignment purposes) then you can compare two structs using memcmp. ═══ 1.146. E1107 Enumerator list cannot be empty ═══ You must have at least one identifier in an enum list. ═══ 1.147. E1108 Invalid floating-point constant ═══ The exponent part of the floating-point constant is not formed correctly. ═══ 1.148. E1109 Cannot take sizeof a bit field ═══ The smallest object that you can ask for the size of is a char. ═══ 1.149. E1110 Cannot initialize variable with storage class of extern ═══ A storage class of extern is used to associate the variable with its actual definition somewhere else in the program. ═══ 1.150. E1111 Invalid storage class for parameter ═══ The only storage class allowed for a parameter is register. ═══ 1.151. E1112 Initializer list cannot be empty ═══ An initializer list must have at least one item specified. ═══ 1.152. E1113 Expression has incomplete type ═══ An attempt has been made to access a struct or union whose definition is not known, or an array whose dimensions are not known. ═══ 1.153. E1114 Struct or union cannot contain itself ═══ You cannot have a struct or union contain itself. You can have a pointer in the struct which points to an instance of itself. Check for a missing "*" in the declaration. ═══ 1.154. E1115 Incomplete enum declaration ═══ The enumeration tag has not been previously defined. ═══ 1.155. E1116 An id list not allowed except for function definition ═══ A function prototype must contain type information. ═══ 1.156. E1117 Must use 'va_start' macro inside function with variable parameters ═══ The va_start macro is used to setup access to the parameters in a function that takes a variable number of parameters. A function is defined with a variable number of parameters by declaring the last parameter in the function as "...". ═══ 1.157. E1118 ***FATAL*** %s ═══ A fatal error has been detected during code generation time. The type of error is displayed in the message. ═══ 1.158. E1119 Internal compiler error %d ═══ A bug has been encountered in the WATCOM C compiler. Please report the specified internal compiler error number and any other helpful details about the program being compiled to WATCOM so that we can fix the problem. ═══ 1.159. E1120 Parameter number %d - invalid register in #pragma ═══ The designated registers cannot hold the value for the parameter. ═══ 1.160. E1121 Procedure '%s' has invalid return register in #pragma ═══ The size of the return register does not match the size of the result returned by the function. ═══ 1.161. E1122 Illegal register modified by '%s' #pragma ═══ For the 16-bit WATCOM C compiler: The BP, CS, DS, and SS registers cannot be modified in small data models. The BP, CS, and SS registers cannot be modified in large data models. For the 32-bit WATCOM C compiler: The EBP, CS, DS, ES, and SS registers cannot be modified in flat memory models. The EBP, CS, DS, and SS registers cannot be modified in small data models. The EBP, CS, and SS registers cannot be modified in large data models. ═══ 1.162. E1123 File must contain at least one external definition ═══ Every file must contain at least one global object, (either a data variable or a function). This message is only issued in strict ANSI mode (-za). ═══ 1.163. E1124 Out of macro space ═══ The compiler ran out of memory for storing macro definitions. ═══ 1.164. E1125 Keyboard interrupt detected ═══ The compile has been aborted with Ctrl/C or Ctrl/Break. ═══ 1.165. E1126 Array, struct or union cannot be placed in a register ═══ Only scalar objects can be specified with the register class. ═══ 1.166. E1127 Type required in parameter list ═══ If the first parameter in a function definition or prototype is defined with a type, then all of the parameters must have a type specified. ═══ 1.167. E1128 Enum constant too large ═══ All of the constants must fit in either an int or unsigned. ═══ 1.168. E1129 Type does not agree with previous definition of '%s' ═══ You have more than one definition of a variable or function that do not agree. ═══ 1.169. E1130 Duplicate name '%s' not allowed in struct or union ═══ All the field names in a struct or union must be unique. ═══ 1.170. E1131 Duplicate macro parameter '%s' ═══ The parameters specified in a macro definition must be unique. ═══ 1.171. E1132 Unable to open work file: error code = %d ═══ The compiler tries to open a new work file by the name "__wrkN__.tmp" where N is the digit 0 to 9. This message will be issued if all of those files already exist. ═══ 1.172. E1133 Write error on work file: error code = %d ═══ An error was encountered trying to write information to the work file. The disk could be full. ═══ 1.173. E1134 Read error on work file: error code = %d ═══ An error was encountered trying to read information from the work file. ═══ 1.174. E1135 Seek error on work file: error code = %d ═══ An error was encountered trying to seek to a position in the work file. ═══ 1.175. E1136 Token too long - truncated ═══ The token must be less than 510 bytes in length. ═══ 1.176. E1137 Out of enum space ═══ The compiler has run out of space allocated to store information on all of the enum constants defined in your program. ═══ 1.177. E1138 Filename required on command line ═══ The name of a file to be compiled must be specified on the command line. ═══ 1.178. E1139 Command line contains more than one file to compile ═══ You have more than one file name specified on the command line to be compiled. The compiler can only compile one file at a time. You can use the Watcom Compile and Link utility to compile multiple files with a single command. ═══ 1.179. E1140 _leave must appear in a _try statement ═══ The _leave keyword must be inside a _try statement. The _leave keyword causes the program to jump to the start of the _finally block. ═══ 1.180. E1141 Expecting end of line but found '%s' ═══ A syntax error has been detected. The token displayed in the message should help you determine the problem. ═══ 1.181. E1142 Too many bytes specified in #pragma ═══ There is an internal limit on the number of bytes for in-line code that can be specified with a pragma. Try splitting the function into two or more smaller functions. ═══ 1.182. E1143 Cannot resolve linkage conventions for routine '%s' #pragma ═══ The compiler cannot generate correct code for the specified routine because of register conflicts. Change the registers used by the parameters of the pragma. ═══ 1.183. E1144 Symbol '%s' in pragma must be global ═══ The in-line code for a pragma can only reference a global variable or function. You can only reference a parameter or local variable by passing it as a parameter to the in-line code pragma. ═══ 1.184. E1145 Internal compiler limit exceeded, break module into smaller pieces ═══ The compiler can handle 65535 quadruples, 65535 leaves, and 65535 symbol table entries and literal strings. If you exceed one of these limits, the program must be broken into smaller pieces until it is capable of being processed by the compiler. ═══ 1.185. E1146 Invalid initializer for integer data type ═══ Integer data types (int and long) can be initialized with numeric expressions or address expressions that are the same size as the integer data type being initialized. ═══ 1.186. E1147 Too many errors: compilation aborted ═══ The compiler stops compiling when the number of errors generated exceeds the error limit. The error limit can be set with the "-e" option. The default error limit is 20. ═══ 1.187. E1148 Expecting identifier but found '%s' ═══ A syntax error has been detected. The token displayed in the message should help you determine the problem. ═══ 1.188. E1149 Expecting constant but found '%s' ═══ The #line directive must be followed by a constant indicating the desired line number. ═══ 1.189. E1150 Expecting \"filename\" but found '%s' ═══ The second argument of the #line directive must be a filename enclosed in quotes. ═══ 1.190. E1151 Parameter count does not agree with previous definition ═══ You have either not enough parameters or too many parameters in a call to a function. If the function is supposed to have a variable number of parameters, then you are missing the ", ..." in the function prototype. ═══ 1.191. E1152 Segment name required ═══ A segment name must be supplied in the form of a literal string to the __segname() directive. ═══ 1.192. E1153 Invalid __based declaration ═══ The compiler could not recognize one of the allowable forms of __based declarations. See the WATCOM C Language Reference for description of all the allowable forms of __based declarations. ═══ 1.193. E1154 Variable for __based declaration must be of type __segment or pointer ═══ A based pointer declaration must be based on a simple variable of type __segment or pointer. ═══ 1.194. E1155 Duplicate external symbol %s ═══ Duplicate external symbols will exist when the specified symbol name is truncated to 8 characters. ═══ 1.195. E1156 Assembler error: '%s' ═══ An error has been detected by the in-line assembler. The message indicates the error detected. ═══ 1.196. E1157 Variable must be 'huge' ═══ A variable or an array that requires more than 64K of storage in the 16-bit compiler must be declared as huge. ═══ 1.197. E1158 Too many parm sets ═══ Too many parameter register sets have been specified in the pragma. ═══ 1.198. E1159 I/O error reading '%s': %s ═══ An I/O error has been detected by the compiler while reading the source file. The system dependent reason is also displayed in the message. ═══ 1.199. E1160 Attempt to access far memory with all segment registers disabled in '%s' ═══ The compiler does not have any segment registers available to access the desired far memory location. ═══ 1.200. E1161 No identifier provided for /D option ═══ The command line option /D must be followed by the name of the macro to be defined. ═══ 1.201. E1162 Invalid register pegged to a segment in '%s' ═══ The register specified in a #pragma data_seg, or a __segname expression must be a valid segment register. ═══ 1.202. E1163 Invalid octal constant ═══ An octal constant cannot contain the digits 8 or 9. ═══ 1.203. E1164 Invalid hexadecimal constant ═══ The token sequence "0x" must be followed by a hexadecimal character (0-9, a-f, or A-F). ═══ 1.204. E1165 Unexpected ')'. Probable cause: missing '(' ═══ A closing parenthesis was found in an expression without a corresponding opening parenthesis. ═══ 1.205. E1166 Symbol '%s' is unreachable from #pragma ═══ The in-line assembler found a jump instruction to a label that is too far away. ═══ 1.206. E1167 Division or remainder by zero in a constant expression ═══ The compiler found a constant expression containing a division or remainder by zero. ═══ 1.207. E1168 Cannot end string literal with backslash ═══ The argument to a macro that uses the stringize operator '#' on that argument must not end in a backslash character. Example: #define str(x) #x str(@#\) ═══ 1.208. E1169 Invalid __declspec declaration ═══ The only valid __declspec declarations are "__declspec(thread)", "__declspec(dllexport)", and "__declspec(dllimport)". ═══ 1.209. E1170 Too many storage class specifiers ═══ You can only specify one storage class specifier in a declaration. ═══ 1.210. E1171 Expecting '%s' but found end of file ═══ A syntax error has been detected. The compiler is still expecting more input when it reached the end of the source program. ═══ 1.211. E1172 Expecting struct/union tag but found '%s' ═══ The compiler expected to find an identifier following the struct or union keyword. ═══ 1.212. E1173 Operand of __builtin_isfloat() must be a type ═══ The __builtin_isfloat() function is used by the va_arg macro to determine if a type is a floating-point type. ═══ 1.213. E1174 Invalid constant ═══ The token sequence does not represent a valid numeric constant. ═══ 1.214. E1175 Too many initializers ═══ There are more initializers than objects to initialize. For example int X[2] = { 0, 1, 2 }; The variable "X" requires two initializers not three. ═══ 1.215. E1176 Parameter %d, pointer type mismatch ═══ You have two pointers that either point to different objects, or the pointers are of different size, or they have different modifiers. ═══ 1.216. E1177 Modifier repeated in declaration ═══ You have repeated the use of a modifier like "const" (an error) or "far" (a warning) in a declaration. ═══ 1.217. E1178 Type qualifier mismatch ═══ You have two pointers that have different "const" or "volatile" qualifiers. ═══ 1.218. E1179 Parameter %d, type qualifier mismatch ═══ You have two pointers that have different const or "volatile" qualifiers. ═══ 1.219. E1180 Sign specifier mismatch ═══ You have two pointers that point to types that have different sign specifiers. ═══ 1.220. E1181 Parameter %d, sign specifier mismatch ═══ You have two pointers that point to types that have different sign specifiers. ═══ 1.221. E1182 Missing \\ for string literal ═══ You need a '\' to continue a string literal across a line. ═══ 1.222. I2000 Not enough memory to fully optimize procedure '%s' ═══ The compiler did not have enough memory to fully optimize the specified procedure. The code generated will still be correct and execute properly. This message is purely informational. ═══ 1.223. I2001 Not enough memory to maintain full peephole ═══ Certain optimizations benefit from being able to store the entire module in memory during optimization. All functions will be individually optimized but the optimizer will not be able to share code between functions if this message appears. The code generated will still be correct and execute properly. This message is purely informational. It is only printed if the warning level is greater than or equal to 4. The main reason for this message is for those people who are concerned about reproducing the exact same object code when the same source file is compiled on a different machine. You may not be able to reproduce the exact same object code from one compile to the next unless the available memory is exactly the same. ═══ 1.224. H3000 Error reading PCH file ═══ The pre-compiled header file does not follow the correct format. ═══ 1.225. H3001 PCH file header is out of date ═══ The pre-compiled header file is out of date with the compiler. The current version of the compiler is expecting a different format. ═══ 1.226. H3002 Compile options differ with PCH file ═══ The command line options are not the same as used when making the pre-compiled header file. This can effect the values of the pre-compiled information. ═══ 1.227. H3003 Current working directory differs with PCH file ═══ The pre-compiled header file was compiled in a different directory. ═══ 1.228. H3004 Include file '%s' has been modified since PCH file was made ═══ The include files have been modified since the pre-compiled header file was made. ═══ 1.229. H3005 PCH file was made from a different include file ═══ The pre-compiled header file was made using a different include file. ═══ 1.230. H3006 Include path differs with PCH file ═══ The include paths have changed. ═══ 1.231. H3007 Preprocessor macro definition differs with PCH file ═══ The definition of a preprocessor macro has changed. ═══ 1.232. H3008 PCH cannot have data or code definitions. ═══ The include files used to build the pre-compiled header contain function or data definitions. This is not currently supported. ═══ 1.233. M4000 Code size ═══ String used in message construction. ═══ 1.234. M4001 Error! ═══ String used in message construction. ═══ 1.235. M4002 Warning! ═══ String used in message construction. ═══ 1.236. M4003 Note! ═══ String used in message construction. ═══ 1.237. M4004 (Press return to continue) ═══ String used in message construction.