diag0200.chk
来自「开放源码的编译器open watcom 1.6.0版的源代码」· CHK 代码 · 共 1,099 行 · 第 1/5 页
CHK
1,099 行
(118,23): Error! E071: expression must be integral
(126,9): Warning! W139: enumeration variable is not assigned a constant from its enumeration
left operand type is 'colour (lvalue)'
right operand type is 'int'
(127,9): Warning! W139: enumeration variable is not assigned a constant from its enumeration
left operand type is 'colour (lvalue)'
right operand type is 'int'
(128,8): Warning! W139: enumeration variable is not assigned a constant from its enumeration
operand type is 'colour (lvalue)'
(129,9): Warning! W139: enumeration variable is not assigned a constant from its enumeration
left operand type is 'colour (lvalue)'
right operand type is 'int'
End of file
Warning! W014: no reference to symbol 'f1'
'char * f1( void )' defined at: (30,14)
Warning! W014: no reference to symbol 'i1'
'int i1' defined at: (32,12)
Warning! W014: no reference to symbol 'i2'
'int i2' defined at: (35,12)
File: ..\diagnose\source\diag0225.c
(13,1): Warning! W011: all members are private
(30,7): Error! E186: attempt to modify a constant value
(32,9): Error! E186: attempt to modify a constant value
(65,10): Error! E062: only one type is allowed in declaration specifiers
(66,1): Error! E415: type cannot be defined or declared in a return type
semicolon (';') may be missing after class/enum definition
(82,10): Error! E241: 'class bli' has not been declared
(83,9): Error! E241: 'class pc' has not been declared
(82,10): Error! E029: symbol 'a' has not been declared
(84,15): Error! E241: 'class int_type' has not been declared
(83,9): Error! E029: symbol 'b' has not been declared
(84,15): Error! E029: symbol 'c' has not been declared
(85,12): Error! E253: '::' qualifier cannot be used in this context
(86,15): Error! E241: 'class function' has not been declared
(86,15): Error! E029: symbol 'e' has not been declared
(87,14): Error! E029: symbol 'f' has not been declared
(89,9): Error! E241: 'class bc' has not been declared
(88,14): Error! E374: object (or object pointer) required to access non-static data member
(97,14): Error! E158: right expression must be integral
left operand type is 'long * (lvalue)'
right operand type is 'float (lvalue)'
(98,14): Error! E050: subscript on non-array
left operand type is 'long (lvalue)'
right operand type is 'int (lvalue)'
(99,19): Error! E654: left operand cannot be a function
left operand type is 'void ( char * )'
right operand type is 'int (lvalue)'
(100,14): Error! E655: right operand cannot be a function
left operand type is 'long (lvalue)'
right operand type is 'void ( char * )'
(105,10): Error! E029: symbol 'undeclared_function' has not been declared
(108,7): Error! E151: operand is neither a pointer nor an arithmetic type
operand type is 'complex (lvalue)'
(109,7): Error! E194: expression pointer type cannot be incremented or decremented
operand type is 'void * (lvalue)'
(110,7): Error! E151: operand is neither a pointer nor an arithmetic type
operand type is 'complex (lvalue)'
(111,7): Error! E194: expression pointer type cannot be incremented or decremented
operand type is 'void * (lvalue)'
(112,13): Error! E194: expression pointer type cannot be incremented or decremented
operand type is 'void ( char * )'
(113,13): Error! E194: expression pointer type cannot be incremented or decremented
operand type is 'void ( char * )'
(116,10): Error! E038: expression must be 'pointer to ...'
operand type is 'long (lvalue)'
(117,10): Error! E038: expression must be 'pointer to ...'
operand type is 'long (lvalue)'
(118,8): Error! E159: cannot assign a pointer value to an arithmetic item
left operand type is 'int (lvalue)'
right operand type is 'long __near *'
(119,10): Error! E072: expression must be arithmetic
operand type is 'long * (lvalue)'
(120,11): Error! E554: expression must have type arithmetic, pointer, or pointer to class member
expression type is 'complex (lvalue)'
(121,8): Error! E475: cannot assign right expression to class object
'complex & complex::operator =( complex const & )' defined at: (122,8)
cannot convert argument 1 defined at: (121,10)
source conversion type is "complex __near *"
target conversion type is "complex const (lvalue)"
(122,8): Error! E159: cannot assign a pointer value to an arithmetic item
left operand type is 'int (lvalue)'
right operand type is 'void (* )( char * )'
(123,10): Error! E038: expression must be 'pointer to ...'
operand type is 'complex (lvalue)'
(124,10): Error! E071: expression must be integral
operand type is 'complex (lvalue)'
(125,10): Error! E071: expression must be integral
operand type is 'float (lvalue)'
(126,11): Error! E071: expression must be integral
operand type is 'long * (lvalue)'
(127,11): Error! E071: expression must be integral
operand type is 'void ( char * )'
(128,10): Error! E039: cannot take address of an rvalue
(130,5): Error! E194: expression pointer type cannot be incremented or decremented
operand type is 'void * (lvalue)'
(131,5): Error! E151: operand is neither a pointer nor an arithmetic type
operand type is 'complex (lvalue)'
(132,5): Error! E194: expression pointer type cannot be incremented or decremented
operand type is 'void * (lvalue)'
(133,5): Error! E151: operand is neither a pointer nor an arithmetic type
operand type is 'complex (lvalue)'
(134,5): Error! E194: expression pointer type cannot be incremented or decremented
operand type is 'void ( char * )'
(135,5): Error! E194: expression pointer type cannot be incremented or decremented
operand type is 'void ( char * )'
(138,10): Error! E196: 'sizeof' is not allowed for a type 'void'
(139,11): Error! E195: 'sizeof' is not allowed for a function
(142,10): Warning! W604: must look ahead to determine whether construct is a declaration/type or an expression
(142,22): Warning! W594: construct resolved as a declaration/type
(143,10): Warning! W604: must look ahead to determine whether construct is a declaration/type or an expression
(143,22): Warning! W594: construct resolved as a declaration/type
(144,20): Error! E326: defining 'c5_4' is not possible because its type has unknown size
'C5_4 c5_4' in 'C5_5 main( void )' defined at: (144,16)
(146,9): Error! E166: cannot convert right pointer to type of left operand
source conversion type is "void *"
target conversion type is "long *"
(150,39): Warning! W011: all members are private
(150,40): Error! E197: type cannot be defined in this context
(150,41): Error! E435: cannot convert a type of unknown size
source conversion type is "C5_4 (lvalue)"
'class C5_4' has not been defined
target conversion type is "C5_4"
(151,16): Error! E591: operand must be an 'lvalue' (cast produces 'rvalue')
(160,13): Warning! W604: must look ahead to determine whether construct is a declaration/type or an expression
(160,20): Warning! W594: construct resolved as a declaration/type
(160,43): Error! E029: symbol 'f' has not been declared
(161,13): Warning! W604: must look ahead to determine whether construct is a declaration/type or an expression
(161,24): Warning! W594: construct resolved as a declaration/type
(162,17): Error! E530: function accessed with '.*' or '->*' can only be called
(163,17): Error! E530: function accessed with '.*' or '->*' can only be called
(166,20): Error! E777: expecting 'id' after '::' but found '*'
(166,20): Error! E118: nameless declaration is not allowed
(166,20): Error! E006: syntax error; probable cause: missing ';'
(168,12): Error! E029: symbol 'pmi' has not been declared
(169,5): Warning! W014: no reference to symbol 'pf'
'int (* pf)( int )' in 'C5_5 main( void )' defined at: (161,15)
(173,15): Error! E155: left expression must be arithmetic
left operand type is 'long * (lvalue)'
right operand type is 'long (lvalue)'
(174,15): Error! E156: right expression must be arithmetic
left operand type is 'long (lvalue)'
right operand type is 'long * (lvalue)'
(175,13): Error! E156: right expression must be arithmetic
left operand type is 'float (lvalue)'
right operand type is 'long * (lvalue)'
(176,14): Error! E155: left expression must be arithmetic
left operand type is 'long * (lvalue)'
right operand type is 'float (lvalue)'
(177,13): Error! E157: left expression must be integral
left operand type is 'float (lvalue)'
right operand type is 'int (lvalue)'
(178,13): Error! E158: right expression must be integral
left operand type is 'int (lvalue)'
right operand type is 'float (lvalue)'
(179,14): Error! E157: left expression must be integral
left operand type is 'long * (lvalue)'
right operand type is 'int (lvalue)'
(180,13): Error! E158: right expression must be integral
left operand type is 'int (lvalue)'
right operand type is 'long * (lvalue)'
(183,14): Error! E192: left expression pointer type cannot be incremented or decremented
left operand type is 'void * (lvalue)'
right operand type is 'int (lvalue)'
(184,15): Error! E150: operation does not allow both operands to be pointers
left operand type is 'long * (lvalue)'
right operand type is 'float * (lvalue)'
(185,14): Error! E150: operation does not allow both operands to be pointers
left operand type is 'float * (lvalue)'
right operand type is 'long * (lvalue)'
(186,13): Error! E344: cannot subtract pointers to different objects
left operand type is 'float *'
right operand type is 'long *'
(189,13): Error! E158: right expression must be integral
left operand type is 'int (lvalue)'
right operand type is 'float (lvalue)'
(190,13): Error! E157: left expression must be integral
left operand type is 'float (lvalue)'
right operand type is 'int (lvalue)'
(191,15): Error! E157: left expression must be integral
left operand type is 'long double (lvalue)'
right operand type is 'long (lvalue)'
(192,15): Error! E158: right expression must be integral
left operand type is 'long (lvalue)'
right operand type is 'double (lvalue)'
(193,15): Error! E157: left expression must be integral
left operand type is 'long * (lvalue)'
right operand type is 'int'
(194,13): Error! E158: right expression must be integral
left operand type is 'int'
right operand type is 'long * (lvalue)'
(197,14): Error! E158: right expression must be integral
left operand type is 'int (lvalue)'
right operand type is 'float (lvalue)'
(198,13): Error! E157: left expression must be integral
left operand type is 'double (lvalue)'
right operand type is 'long (lvalue)'
(199,15): Error! E157: left expression must be integral
left operand type is 'void (* )( char * ) (lvalue)'
right operand type is 'int (lvalue)'
(200,15): Error! E158: right expression must be integral
left operand type is 'long (lvalue)'
right operand type is 'float * (lvalue)'
(203,14): Error! E158: right expression must be integral
left operand type is 'int (lvalue)'
right operand type is 'float (lvalue)'
(204,13): Error! E157: left expression must be integral
left operand type is 'double (lvalue)'
right operand type is 'long (lvalue)'
(205,15): Error! E157: left expression must be integral
left operand type is 'void (* )( char * ) (lvalue)'
right operand type is 'int (lvalue)'
(206,15): Error! E158: right expression must be integral
left operand type is 'long (lvalue)'
right operand type is 'float * (lvalue)'
(209,14): Error! E158: right expression must be integral
left operand type is 'int (lvalue)'
right operand type is 'float (lvalue)'
(210,13): Error! E157: left expression must be integral
left operand type is 'doubl
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?