diag0200.chk

来自「开放源码的编译器open watcom 1.6.0版的源代码」· CHK 代码 · 共 1,099 行 · 第 1/5 页

CHK
1,099
字号
  source conversion type is "void *" 
  target conversion type is "double" 
(12,16): Error! E306: cannot convert expression to type of cast 
  source conversion type is "double" 
  target conversion type is "void *" 
File: ..\diagnose\source\diag0211.c 
(56,16): Error! E042: symbol 'x49o4' already defined 
  'char x49o4[4]' defined at: (49,6) 
(57,16): Error! E042: symbol 'x50o2' already defined 
  'char x50o2[2]' defined at: (50,6) 
(58,16): Error! E042: symbol 'x51o1' already defined 
  'char x51o1[1]' defined at: (51,6) 
(59,16): Error! E042: symbol 'x52o4' already defined 
  'char x52o4[4]' defined at: (52,6) 
(60,16): Error! E042: symbol 'x53o4' already defined 
  'char x53o4[4]' defined at: (53,6) 
(61,16): Error! E042: symbol 'x54o2' already defined 
  'char x54o2[2]' defined at: (54,6) 
File: ..\diagnose\source\diag0212.c 
(56,10): Error! E186: attempt to modify a constant value 
(59,10): Error! E186: attempt to modify a constant value 
(62,11): Error! E186: attempt to modify a constant value 
(65,14): Error! E711: 'mutable' may only be used for non-static class members 
(67,33): Error! E182: invalid storage class for an argument 
(68,1): Error! E037: invalid storage class for function 
(69,19): Error! E711: 'mutable' may only be used for non-static class members 
(70,1): Warning! W014: no reference to symbol 'c' 
  'char mutable c' in 'void (mutable bar)( int )' defined at: (69,18) 
(70,1): Warning! W726: no reference to formal parameter 'y' 
  'int y' in 'void (mutable bar)( int )' defined at: (67,31) 
(73,21): Error! E117: too many storage class specifiers 
(75,26): Error! E712: 'mutable' member cannot also be 'const' 
(76,28): Error! E712: 'mutable' member cannot also be 'const' 
(87,5): Error! E714: operand cannot be of type 'bool' 
(88,10): Error! E714: operand cannot be of type 'bool' 
(89,10): Error! E713: left operand cannot be of type 'bool' 
  left operand type is 'bool (lvalue)' 
  right operand type is 'int' 
(90,10): Error! E713: left operand cannot be of type 'bool' 
  left operand type is 'bool (lvalue)' 
  right operand type is 'int' 
(91,10): Error! E713: left operand cannot be of type 'bool' 
  left operand type is 'bool (lvalue)' 
  right operand type is 'bool' 
(92,10): Error! E713: left operand cannot be of type 'bool' 
  left operand type is 'bool (lvalue)' 
  right operand type is 'bool' 
(109,12): Warning! W716: integral value may be truncated 
(112,10): Error! E713: left operand cannot be of type 'bool' 
  left operand type is 'bool (lvalue)' 
  right operand type is 'bool' 
(113,10): Error! E713: left operand cannot be of type 'bool' 
  left operand type is 'bool (lvalue)' 
  right operand type is 'int' 
(114,10): Error! E713: left operand cannot be of type 'bool' 
  left operand type is 'bool (lvalue)' 
  right operand type is 'int (lvalue)' 
(115,10): Error! E159: cannot assign a pointer value to an arithmetic item 
  left operand type is 'bool (lvalue)' 
  right operand type is 'char * (lvalue)' 
(116,10): Error! E153: right operand is neither a pointer nor an arithmetic type 
  left operand type is 'bool (lvalue)' 
  right operand type is 'int X103::* (lvalue)' 
(126,9): Warning! W368: conditional expression in if statement is always false 
(127,9): Warning! W367: conditional expression in if statement is always true 
(128,9): Warning! W367: conditional expression in if statement is always true 
(129,9): Warning! W367: conditional expression in if statement is always true 
(130,9): Warning! W367: conditional expression in if statement is always true 
(131,9): Warning! W368: conditional expression in if statement is always false 
(132,9): Warning! W368: conditional expression in if statement is always false 
(133,9): Warning! W690: conditional expression is always false (zero) 
(133,9): Warning! W368: conditional expression in if statement is always false 
(134,9): Warning! W368: conditional expression in if statement is always false 
(135,9): Warning! W367: conditional expression in if statement is always true 
(136,9): Warning! W367: conditional expression in if statement is always true 
(137,10): Warning! W690: conditional expression is always false (zero) 
(137,9): Warning! W367: conditional expression in if statement is always true 
(138,17): Warning! W368: conditional expression in if statement is always false 
(139,17): Warning! W367: conditional expression in if statement is always true 
(140,17): Warning! W367: conditional expression in if statement is always true 
(141,9): Warning! W689: conditional expression is always true (non-zero) 
(141,20): Warning! W689: conditional expression is always true (non-zero) 
(141,17): Warning! W367: conditional expression in if statement is always true 
(142,17): Warning! W368: conditional expression in if statement is always false 
(143,17): Warning! W367: conditional expression in if statement is always true 
(144,17): Warning! W367: conditional expression in if statement is always true 
(145,9): Warning! W689: conditional expression is always true (non-zero) 
(145,20): Warning! W689: conditional expression is always true (non-zero) 
(145,17): Warning! W367: conditional expression in if statement is always true 
(146,18): Warning! W367: conditional expression in if statement is always true 
(147,18): Warning! W367: conditional expression in if statement is always true 
(148,18): Warning! W367: conditional expression in if statement is always true 
(149,9): Warning! W690: conditional expression is always false (zero) 
(149,21): Warning! W689: conditional expression is always true (non-zero) 
(149,18): Warning! W367: conditional expression in if statement is always true 
(150,18): Warning! W368: conditional expression in if statement is always false 
(151,18): Warning! W368: conditional expression in if statement is always false 
(152,18): Warning! W368: conditional expression in if statement is always false 
(153,9): Warning! W690: conditional expression is always false (zero) 
(153,21): Warning! W689: conditional expression is always true (non-zero) 
(153,18): Warning! W368: conditional expression in if statement is always false 
(158,20): Error! E028: expecting ')' but found '/' 
(159,21): Error! E028: expecting ',' but found '+' 
(159,21): Error! E028: expecting 'constant' but found 'end of line' 
(160,23): Error! E028: expecting 'constant' but found '*' 
(161,25): Error! E028: expecting ')' but found '-' 
(163,35): Error! E028: expecting ')' but found '$' 
File: ..\diagnose\source\diag0213.c 
(1,16): Error! E360: typedef 'DOUBLE1' defined without an explicit type 
(30,7): Error! E386: attempt to use pointer to undefined class 
  expression type is 'X * (lvalue)' 
(31,9): Error! E194: expression pointer type cannot be incremented or decremented 
  operand type is 'int (* )[] (lvalue)' 
(42,12): Warning! W007: "&array" may not produce intended result 
(44,9): Error! E194: expression pointer type cannot be incremented or decremented 
  operand type is 'int (* )[] (lvalue)' 
(57,9): Warning! W002: constant out of range; truncated 
(62,9): Warning! W002: constant out of range; truncated 
(63,9): Error! E678: invalid octal constant 
(65,9): Warning! W002: constant out of range; truncated 
(65,27): Error! E678: invalid octal constant 
(65,27): Error! E071: expression must be integral 
(72,16): Error! E715: member 's' has not been declared in 'X68::D' 
(73,5): Error! E041: expression for '->' must be pointer to class, struct or union 
  operand type is 'int *' 
(74,8): Error! E715: member 'x' has not been declared in 'X68' 
(75,8): Error! E715: member 'n' has not been declared in 'X68::N' 
(79,7): Error! E029: symbol 'e' has not been declared 
File: ..\diagnose\source\diag0214.c 
(21,12): Warning! W716: integral value may be truncated 
(22,21): Warning! W716: integral value may be truncated 
(23,19): Warning! W716: integral value may be truncated 
(24,13): Warning! W716: integral value may be truncated 
(25,22): Warning! W716: integral value may be truncated 
(34,22): Warning! W389: integral value may be truncated during assignment or initialization 
(35,31): Warning! W389: integral value may be truncated during assignment or initialization 
(36,25): Warning! W389: integral value may be truncated during assignment or initialization 
(37,20): Warning! W716: integral value may be truncated 
(38,21): Warning! W389: integral value may be truncated during assignment or initialization 
(39,30): Warning! W389: integral value may be truncated during assignment or initialization 
(44,31): Warning! W389: integral value may be truncated during assignment or initialization 
(45,40): Warning! W389: integral value may be truncated during assignment or initialization 
(46,34): Warning! W389: integral value may be truncated during assignment or initialization 
(47,29): Warning! W716: integral value may be truncated 
(48,30): Warning! W389: integral value may be truncated during assignment or initialization 
(49,39): Warning! W389: integral value may be truncated during assignment or initialization 
(54,29): Warning! W389: integral value may be truncated during assignment or initialization 
(55,38): Warning! W389: integral value may be truncated during assignment or initialization 
(56,32): Warning! W389: integral value may be truncated during assignment or initialization 
(57,27): Warning! W716: integral value may be truncated 
(58,28): Warning! W389: integral value may be truncated during assignment or initialization 
(59,37): Warning! W389: integral value may be truncated during assignment or initialization 
(67,21): Warning! W716: integral value may be truncated 
(68,22): Warning! W389: integral value may be truncated during assignment or initialization 
(69,31): Warning! W389: integral value may be truncated during assignment or initialization 
(77,30): Warning! W716: integral value may be truncated 
(78,31): Warning! W389: integral value may be truncated during assignment or initialization 
(79,40): Warning! W389: integral value may be truncated during assignment or initialization 
(123,19): Warning! W364: adjacent >=, <=, >, < operators 
(169,34): Error! E721: virtual function 'X::fn' cannot have its return type changed 
  'X159::B * X159::X::fn( int, ... )' defined at: (166,20) 
(224,20): Error! E447: user-defined conversion cannot convert to 'void' 
(232,20): Warning! W446: user-defined conversion cannot convert to its own class or base class 
(233,28): Warning! W446: user-defined conversion cannot convert to its own class or base class 
(234,31): Warning! W446: user-defined conversion cannot convert to its own class or base class 
(235,22): Warning! W446: user-defined conversion cannot convert to its own class or base class 
(235,22): Error! E226: function 'D229::operator D229 ' is not distinct 
  'D229::operator D229 ()' defined at: (232,5) 
(236,20): Warning! W446: user-defined conversion cannot convert to its own class or base class 
(237,28): Warning! W446: user-defined conversion cannot convert to its own class or base class 
(238,31): Warning! W446: user-defined conversion cannot convert to its own class or base class 
(239,22): Warning! W446: user-defined conversion cannot convert to its own class or base class 
(239,22): Error! E226: function 'D229::operator B229 ' is not distinct 
  'D229::operator B229 ()' defined at: (236,5) 
(251,21): Error! E178: const object must be initialized 
(256,10): Error! E186: attempt to modify a constant value 
(257,14): Error! E186: attempt to modify a constant value 
(258,5): Error! E419: cannot call non-const function for a constant object 
  'X244 & X244::operator =( X244 const & )' defined at: (259,5) 
(259,5): Error! E419: cannot call non-const function for a constant object 
  'X244 & X244::operator =( X244 const & )' defined at: (259,5) 
(269,5): Warning! W013: unreachable code 
(274,1): Warning! W017: label 'here' has not been referenced by a goto 
  label defined at: (266,5) 
(274,1): Error! E033: label 'anywhere' is not defined in function 
  label referenced at: (268,10) 
(281,13): Error! E045: duplicate case value '97' found 
  previous 'case' label defined at: (279,13) 
(284,12): Error! E200: duplicate case value '255' after conversion to type of switch expression 
  previous 'case' label defined at: (282,16) 
(293,5): Warning! W015: nested comment found in comment started on line 293 
(294,5): Warning! W015: nested comment found in comment started on line 294 
(295,5): Warning! W015: nested comment found in comment started on line 295 
(296,5): Warning! W015: nested comment found in comment started on line 296 
(306,7): Error! E186: attempt to modify a constant value 
(308,13): Error! E186: attempt to modify a constant value 
(310,15): Error! E186: attempt to modify a constant value 
(312,5): Error! E419: cannot call non-const function for a constant object 
  'void X298::foo( void )' defined at: (299,10) 
(314,5): Error! E419: cannot call non-const function for a constant object 
  'void X298::foo( void )' defined at: (299,10) 
(316,6): Error! E419: cannot call non-const function for a constant object 
  'void X298::foo( void )' defined at: (299,10) 
(318,5): Error! E419: cannot call non-const function for a constant object 
  'void X298::foo( void )' defined at: (299,10) 
(320,5): Error! E419: cannot call non-const function for a constant object 
  'void X298::foo( void )' defined at: (299,10) 
(322,6): Error! E419: cannot call non-const function for a constant object 
  'void X298::foo( void )' defined at: (299,10) 
Compiling generated function: DD::DD 
  'X173::DD::DD( void )' defined at: (179,5) 
Error! E505: implementation restriction: cannot generate thunk from 'VV::foo' 
  'int X173::VV::foo( int, ... )' defined at: (175,21) 
  function being overridden is 'DD::foo' 
  'int X173::DD::foo( int, ... )' defined at: (178,21) 
Compiling generated function: VV::$Wvt0ufoo:DD$:X173$o8$:0:1foo$n(ie)i 
Error! E610: 'DD::DD' could not be generated by the compiler 
  'X173::DD::DD( void )' defined at: (179,5) 
File: ..\diagnose\source\diag0215.c 
(8,6): Error! E419: cannot call non-const function for a constant object 

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?