diag0200.chk
来自「开放源码的编译器open watcom 1.6.0版的源代码」· CHK 代码 · 共 1,183 行 · 第 1/5 页
CHK
1,183 行
target conversion type is 'void *'
File: source\diag0211.c
(56,16): Error! E042: symbol 'x49o4' already defined
definition: 'char x49o4[4]'
(57,16): Error! E042: symbol 'x50o2' already defined
definition: 'char x50o2[2]'
(58,16): Error! E042: symbol 'x51o1' already defined
definition: 'char x51o1[1]'
(59,16): Error! E042: symbol 'x52o4' already defined
definition: 'char x52o4[4]'
(60,16): Error! E042: symbol 'x53o4' already defined
definition: 'char x53o4[4]'
(61,16): Error! E042: symbol 'x54o2' already defined
definition: 'char x54o2[2]'
File: 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,18): Error! E373: invalid modifier for auto variable
(69,19): Error! E711: 'mutable' may only be used for non-static class members
(70,1): Warning! W014: no reference to symbol 'c'
definition: 'char c' in 'void (mutable bar)( int )'
(70,1): Warning! W726: no reference to formal parameter 'y'
definition: 'int y' in 'void (mutable bar)( int )'
(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
(109,12): Warning! W716: integral value may be truncated
(114,13): Warning! W716: integral value may be truncated
(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): Warning! W894: unexpected character (36) in source file
(163,35): Error! E028: expecting ')' but found '$'
File: 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
(57,44): Warning! W889: hexadecimal escape sequence out of range; truncated
(62,9): Warning! W388: integral constant will be truncated during assignment or initialization
(63,9): Error! E678: invalid octal constant
(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: 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
(151,1): Warning! W849: base class virtual function has not been overridden
virtual function is 'A145::foo'
definition: 'int A145::foo( unsigned, unsigned )'
cannot be called with a 'DA149 *'
(169,34): Error! E721: virtual function 'X::fn' cannot have its return type changed
definition: 'X159::B * X159::X::fn( int, ... )'
(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
definition: 'D229::operator D229 ()'
(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
definition: 'D229::operator B229 ()'
(251,21): Error! E178: const object must be initialized
(251,32): Warning! W836: symbol has different type than previous symbol in same declaration
companion definition is 'i244'
definition: 'int i244'
(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' defined at: (244,16)
definition: 'X244 & X244::operator =( X244 const & )'
(259,5): Error! E419: cannot call non-const function for a constant object
'X244' defined at: (244,16)
definition: 'X244 & X244::operator =( X244 const & )'
(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
definition: 'void X298::foo( void )'
(314,5): Error! E419: cannot call non-const function for a constant object
definition: 'void X298::foo( void )'
(316,6): Error! E419: cannot call non-const function for a constant object
'X298' defined at: (298,8)
definition: 'void X298::foo( void )'
(318,5): Error! E419: cannot call non-const function for a constant object
definition: 'void X298::foo( void )'
(320,5): Error! E419: cannot call non-const function for a constant object
definition: 'void X298::foo( void )'
(322,6): Error! E419: cannot call non-const function for a constant object
'X298' defined at: (298,8)
definition: 'void X298::foo( void )'
Compiling generated function: DD::DD
definition: 'X173::DD::DD( void )'
Error! E505: implementation restriction: cannot generate thunk from 'VV::foo'
definition: 'int X173::VV::foo( int, ... )'
function being overridden is 'DD::foo'
definition: 'int X173::DD::foo( int, ... )'
Compiling generated function: VV::$Wvt0ufoo:DD$:X173$o8$:0:1foo$n(ie)i
Error! E610: 'DD::DD' could not be generated by the compiler
definition: 'X173::DD::DD( void )'
File: source\diag0215.c
(8,6): Error! E419: cannot call non-const function for a constant object
definition: 'void S::foo( void )'
(9,1): Warning! W726: no reference to formal parameter 'q1'
definition: 'int q1' in 'void foo( S const *, int, int, int, int, int )'
(9,1): Warning! W726: no reference to formal parameter 'q2'
definition: 'int q2' in 'void foo( S const *, int, int, int, int, int )'
(9,1): Warning! W726: no reference to formal parameter 'q3'
definition: 'int q3' in 'void foo( S const *, int, int, int, int, int )'
(9,1): Warning! W726: no reference to formal parameter 'q4'
definition: 'int q4' in 'void foo( S const *, int, int, int, int, int )'
(9,1): Warning! W726: no reference to formal parameter 'q5'
definition: 'int q5' in 'void foo( S const *, int, int, int, int, int )'
(13,6): Error! E419: cannot call non-const function for a constant object
definition: 'void S::foo( void )'
(14,5): Error! E419: cannot call non-const function for a constant object
definition: 'void S::foo( void )'
(15,5): Error! E133: too many errors: compilation aborted
File: source\diag0216.c
(22,18): Warning! W005: pointer or reference truncated
'NONPODS' defined at: (10,8)
source conversion type is 'NONPODS __far (lvalue)'
target conversion type is 'NONPODS (lvalue)'
(39,5): Error! E161: attempt to call member function for far object when the data model is near
(39,10): Warning! W005: pointer or reference truncated
(40,10): Warning! W005: pointer or reference truncated
(41,5): Error! E161: attempt to call member function for far object when the data model is near
(44,5): Error! E161: attempt to call member function for far object when the data model is near
'NONPODS' defined at: (10,8)
definition: 'NONPODS & NONPODS::operator =( NONPODS const & )'
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?