diag0200.chk
来自「开放源码的编译器open watcom 1.6.0版的源代码」· CHK 代码 · 共 1,183 行 · 第 1/5 页
CHK
1,183 行
(84,15): Error! E241: class or namespace '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 or namespace '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 or namespace '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 * ) (lvalue)'
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 * ) (lvalue)'
(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 * ) (lvalue)'
(113,13): Error! E194: expression pointer type cannot be incremented or decremented
operand type is 'void ( char * ) (lvalue)'
(116,10): Error! E038: expression must have pointer type
operand type is 'long (lvalue)'
(117,10): Error! E038: expression must have pointer type
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 *'
(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
'complex' defined at: (10,7)
expression type is 'complex (lvalue)'
(121,8): Error! E475: cannot assign right expression to class object
definition: 'complex & complex::operator =( complex const & )'
cannot convert argument 1 defined at: (121,10)
source conversion type is 'complex *'
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 have pointer type
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 * ) (lvalue)'
(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 * ) (lvalue)'
(135,5): Error! E194: expression pointer type cannot be incremented or decremented
operand type is 'void ( char * ) (lvalue)'
(138,10): Error! E196: 'sizeof' is not allowed for type void
(139,11): Error! E195: 'sizeof' is not allowed for a function
(144,20): Error! E326: defining 'c5_4' is not possible because its type has unknown size
definition: 'C5_4 c5_4' in 'C5_5 main( void )'
(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,40): Error! E306: cannot convert expression to type of cast
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,43): Error! E029: symbol 'f' has not been declared
(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'
definition: 'int (* pf)( int )' in 'C5_5 main( void )'
(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 'double (lvalue)'
right operand type is 'long (lvalue)'
(211,15): Error! E157: left expression must be integral
left operand type is 'void (* )( char * ) (lvalue)'
right operand type is 'int (lvalue)'
(212,15): Error! E158: right expression must be integral
left operand type is 'long (lvalue)'
right operand type is 'float * (lvalue)'
(215,21): Error! E191: expression must be a pointer or a zero constant
expression type is 'long (lvalue)'
(216,27): Error! E191: expression must be a pointer or a zero constant
expression type is 'float (lvalue)'
(217,10): Error! E899: cannot convert expression to target type
source conversion type is 'complex (lvalue)'
target conversion type is 'bool'
(224,9): Error! E186: attempt to modify a constant value
(225,9): Error! E186: attempt to modify a constant value
(226,9): Error! E186: attempt to modify a constant value
(227,9): Error! E186: attempt to modify a constant value
(230,9): Error! E186: attempt to modify a constant value
(231,9): Error! E186: attempt to modify a constant value
(232,9): Error! E186: attempt to modify a constant value
(233,9): Error! E186: attempt to modify a constant value
(234,9): Error! E186: attempt to modify a constant value
(236,9): Error! E155: left expression must be arithmetic
left operand type is 'long * (lvalue)'
right operand type is 'int (lvalue)'
(237,8): Error! E156: right expression must be arithmetic
left operand type is 'int (lvalue)'
right operand type is 'long * (lvalue)'
(238,8): Error! E155: left expression must be arithmetic
left operand type is 'complex (lvalue)'
right operand type is 'int (lvalue)'
(239,8): Error! E156: right expression must be arithmetic
left operand type is 'int (lvalue)'
right operand type is 'complex (lvalue)'
(241,9): Error! E155: left expression must be arithmetic
left operand type is 'long * (lvalue)'
right operand type is 'int (lvalue)'
(242,8): Error! E156: right expression must be arithmetic
left operand type is 'int (lvalue)'
right operand type is 'long * (lvalue)'
(243,8): Error! E155: left expression must be arithmetic
left operand type is 'complex (lvalue)'
right operand type is 'int (lvalue)'
(244,8): Error! E156: right expression must be arithmetic
left operand type is 'int (lvalue)'
right operand type is 'complex (lvalue)'
(246,8): Error! E152: left operand is neither a pointer nor an arithmetic type
left operand type is 'complex (lvalue)'
right operand type is 'int (lvalue)'
(247,8): Error! E153: right operand is neither a pointer nor an arithmetic type
left operand t
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?