diag0200.chk
来自「开放源码的编译器open watcom 1.6.0版的源代码」· CHK 代码 · 共 1,099 行 · 第 1/5 页
CHK
1,099 行
File: ..\diagnose\source\diag0200.c
(8,19): Error! E709: cannot initialize array member 'S::arr'
'int S::arr[3]' defined at: (4,9)
File: ..\diagnose\source\diag0201.c
(14,16): Error! E125: invalid redefinition of the typedef name 'XX9'
'XX9' defined at: (11,8)
(25,1): Error! E229: function 'X17::foo' has already been defined
'void X17::foo( void )' defined at: (21,11)
(53,12): Error! E324: conversion of return value is impossible
source conversion type is "x47 (lvalue)"
target conversion type is "x47 *"
(58,21): Error! E006: syntax error; probable cause: missing ';'
(59,12): Error! E006: syntax error; probable cause: missing ';'
(61,28): Error! E336: declaration specifiers are required to declare 'UNDECLARED_TYPE2'
(61,26): Error! E006: syntax error; probable cause: missing ';'
(62,5): Error! E003: missing return value
(62,5): Warning! W014: no reference to symbol 'v2'
'int v2' in 'int x56( void )' defined at: (59,9)
(62,5): Warning! W014: no reference to symbol 'S::UNDECLARED_TYPE2'
'int S::UNDECLARED_TYPE2' in 'int x56( void )' defined at: (61,9)
(63,1): Error! E121: syntax error
(69,16): Error! E006: syntax error; probable cause: missing ';'
(70,5): Error! E003: missing return value
(70,5): Warning! W014: no reference to symbol 'S::v3'
'int S::v3' in 'int x66( void )' defined at: (69,13)
(71,1): Error! E121: syntax error
(82,0): Error! E079: missing ) for expansion of 'assert' macro
(82,0): Error! E121: syntax error
(82,0): Error! E003: missing return value
(82,0): Warning! W726: no reference to formal parameter 'x'
'int * x' in 'int end_of_the_file( int * )' defined at: (78,27)
(82,0): Error! E121: syntax error
File: ..\diagnose\source\diag0202.c
(54,2): Error! E080: at least one error
File: ..\diagnose\source\diag0203.c
(44,22): Error! E400: cannot convert right expression for initialization
rejected function: D<2>::D( void * ) defined at: (7,9)
rejected function: D<2>::D( D<2> const & ) defined at: (9,5)
(25,26): Error! E400: cannot convert right expression for initialization
template class instantiation for 'Prime_print<30>' was at: (50,16)
rejected function: D<3>::D( void * ) defined at: (7,9)
rejected function: D<3>::D( D<3> const & ) defined at: (9,5)
(25,26): Error! E400: cannot convert right expression for initialization
template class instantiation for 'Prime_print<30>' was at: (50,16)
rejected function: D<5>::D( void * ) defined at: (7,9)
rejected function: D<5>::D( D<5> const & ) defined at: (9,5)
(25,26): Error! E400: cannot convert right expression for initialization
template class instantiation for 'Prime_print<30>' was at: (50,16)
rejected function: D<7>::D( void * ) defined at: (7,9)
rejected function: D<7>::D( D<7> const & ) defined at: (9,5)
(25,26): Error! E400: cannot convert right expression for initialization
template class instantiation for 'Prime_print<30>' was at: (50,16)
rejected function: D<11>::D( void * ) defined at: (7,9)
rejected function: D<11>::D( D<11> const & ) defined at: (9,5)
(25,26): Error! E400: cannot convert right expression for initialization
template class instantiation for 'Prime_print<30>' was at: (50,16)
rejected function: D<13>::D( void * ) defined at: (7,9)
rejected function: D<13>::D( D<13> const & ) defined at: (9,5)
(25,26): Error! E400: cannot convert right expression for initialization
template class instantiation for 'Prime_print<30>' was at: (50,16)
rejected function: D<17>::D( void * ) defined at: (7,9)
rejected function: D<17>::D( D<17> const & ) defined at: (9,5)
(25,26): Error! E400: cannot convert right expression for initialization
template class instantiation for 'Prime_print<30>' was at: (50,16)
rejected function: D<19>::D( void * ) defined at: (7,9)
rejected function: D<19>::D( D<19> const & ) defined at: (9,5)
(25,26): Error! E400: cannot convert right expression for initialization
template class instantiation for 'Prime_print<30>' was at: (50,16)
rejected function: D<23>::D( void * ) defined at: (7,9)
rejected function: D<23>::D( D<23> const & ) defined at: (9,5)
(25,26): Error! E400: cannot convert right expression for initialization
template class instantiation for 'Prime_print<30>' was at: (50,16)
rejected function: D<29>::D( void * ) defined at: (7,9)
rejected function: D<29>::D( D<29> const & ) defined at: (9,5)
File: ..\diagnose\source\diag0204.c
(18,21): Error! E400: cannot convert right expression for initialization
template class instantiation for 'Acker<1,2>' was at: (29,10)
source conversion type is "Acker_is<0,1,2> (lvalue)"
target conversion type is "int"
(18,21): Error! E400: cannot convert right expression for initialization
template class instantiation for 'Acker<1,2>' was at: (29,10)
source conversion type is "Acker_is<1,0,2> (lvalue)"
target conversion type is "int"
(18,21): Error! E400: cannot convert right expression for initialization
template class instantiation for 'Acker<1,2>' was at: (29,10)
source conversion type is "Acker_is<0,2,3> (lvalue)"
target conversion type is "int"
(18,21): Error! E400: cannot convert right expression for initialization
template class instantiation for 'Acker<1,2>' was at: (29,10)
source conversion type is "Acker_is<1,1,3> (lvalue)"
target conversion type is "int"
(18,21): Error! E400: cannot convert right expression for initialization
template class instantiation for 'Acker<1,2>' was at: (29,10)
source conversion type is "Acker_is<0,3,4> (lvalue)"
target conversion type is "int"
(18,21): Error! E400: cannot convert right expression for initialization
template class instantiation for 'Acker<1,2>' was at: (29,10)
source conversion type is "Acker_is<1,2,4> (lvalue)"
target conversion type is "int"
File: ..\diagnose\source\diag0205.h
included from ..\diagnose\source\diag0205.c(1)
(2,10): Error! E710: file '..\diagnose\source\diag0205.c' will #include itself forever
(2,10): Error! E059: unable to open 'diag0205.c'
File: ..\diagnose\source\diag0206.c
(15,8): Error! E334: conversion ambiguity: [argument] to [argument type in prototype]
source conversion type is "B (lvalue)"
target conversion type is "A"
(20,2): Error! E080: at least one error
File: ..\diagnose\source\diag0207.c
(20,5): Error! E419: cannot call non-const function for a constant object
'S & S::operator =( S const & )' defined at: (21,11)
(21,5): Error! E467: cannot call a non-volatile function for a volatile object
'S & S::operator =( S const & )' defined at: (21,11)
(22,5): Error! E419: cannot call non-const function for a constant object
'S & S::operator =( S const & )' defined at: (21,11)
(24,5): Error! E419: cannot call non-const function for a constant object
'S & S::operator =( S const & )' defined at: (21,11)
(25,5): Error! E467: cannot call a non-volatile function for a volatile object
'S & S::operator =( S const & )' defined at: (21,11)
(26,5): Error! E419: cannot call non-const function for a constant object
'S & S::operator =( S const & )' defined at: (21,11)
(27,11): Error! E475: cannot assign right expression to class object
'S & S::operator =( S const & )' defined at: (21,11)
cannot convert argument 1 defined at: (27,13)
source conversion type is "S volatile (lvalue)"
target conversion type is "S const (lvalue)"
(28,11): Error! E475: cannot assign right expression to class object
'S & S::operator =( S const & )' defined at: (21,11)
cannot convert argument 1 defined at: (28,13)
source conversion type is "S volatile (lvalue)"
target conversion type is "S const (lvalue)"
(29,11): Error! E475: cannot assign right expression to class object
'S & S::operator =( S const & )' defined at: (21,11)
cannot convert argument 1 defined at: (29,13)
source conversion type is "S volatile (lvalue)"
target conversion type is "S const (lvalue)"
(30,11): Error! E475: cannot assign right expression to class object
'S & S::operator =( S const & )' defined at: (21,11)
cannot convert argument 1 defined at: (30,13)
source conversion type is "S volatile (lvalue)"
target conversion type is "S const (lvalue)"
(31,11): Error! E475: cannot assign right expression to class object
'S & S::operator =( S const & )' defined at: (21,11)
cannot convert argument 1 defined at: (31,13)
source conversion type is "S const volatile (lvalue)"
target conversion type is "S const (lvalue)"
(32,11): Error! E475: cannot assign right expression to class object
'S & S::operator =( S const & )' defined at: (21,11)
cannot convert argument 1 defined at: (32,13)
source conversion type is "S const volatile (lvalue)"
target conversion type is "S const (lvalue)"
(33,11): Error! E475: cannot assign right expression to class object
'S & S::operator =( S const & )' defined at: (21,11)
cannot convert argument 1 defined at: (33,13)
source conversion type is "S const volatile (lvalue)"
target conversion type is "S const (lvalue)"
(34,11): Error! E475: cannot assign right expression to class object
'S & S::operator =( S const & )' defined at: (21,11)
cannot convert argument 1 defined at: (34,13)
source conversion type is "S const volatile (lvalue)"
target conversion type is "S const (lvalue)"
File: ..\diagnose\source\diag0208.c
(26,30): Error! E400: cannot convert right expression for initialization
'S::S( S const & )' defined at: (18,35)
cannot convert argument 1 defined at: (26,30)
source conversion type is "S volatile (lvalue)"
target conversion type is "S const (lvalue)"
(27,30): Error! E400: cannot convert right expression for initialization
'S::S( S const & )' defined at: (18,35)
cannot convert argument 1 defined at: (27,30)
source conversion type is "S volatile (lvalue)"
target conversion type is "S const (lvalue)"
(28,30): Error! E400: cannot convert right expression for initialization
'S::S( S const & )' defined at: (18,35)
cannot convert argument 1 defined at: (28,30)
source conversion type is "S volatile (lvalue)"
target conversion type is "S const (lvalue)"
(29,30): Error! E400: cannot convert right expression for initialization
'S::S( S const & )' defined at: (18,35)
cannot convert argument 1 defined at: (29,30)
source conversion type is "S volatile (lvalue)"
target conversion type is "S const (lvalue)"
(30,30): Error! E400: cannot convert right expression for initialization
'S::S( S const & )' defined at: (18,35)
cannot convert argument 1 defined at: (30,30)
source conversion type is "S const volatile (lvalue)"
target conversion type is "S const (lvalue)"
(31,30): Error! E400: cannot convert right expression for initialization
'S::S( S const & )' defined at: (18,35)
cannot convert argument 1 defined at: (31,30)
source conversion type is "S const volatile (lvalue)"
target conversion type is "S const (lvalue)"
(32,30): Error! E400: cannot convert right expression for initialization
'S::S( S const & )' defined at: (18,35)
cannot convert argument 1 defined at: (32,30)
source conversion type is "S const volatile (lvalue)"
target conversion type is "S const (lvalue)"
(33,30): Error! E400: cannot convert right expression for initialization
'S::S( S const & )' defined at: (18,35)
cannot convert argument 1 defined at: (33,30)
source conversion type is "S const volatile (lvalue)"
target conversion type is "S const (lvalue)"
File: ..\diagnose\source\diag0209.c
(1,2): Error! E053: unknown preprocessing directive '#ackbar'
(15,23): Warning! W604: must look ahead to determine whether construct is a declaration/type or an expression
(15,27): Warning! W595: construct resolved as an expression
(58,17): Error! E306: cannot convert expression to type of cast
source conversion type is "void *"
target conversion type is "double"
(59,17): Error! E306: cannot convert expression to type of cast
source conversion type is "double"
target conversion type is "void *"
File: ..\diagnose\source\diag0210.c
(9,15): Error! E306: cannot convert expression to type of cast
source conversion type is "void *"
target conversion type is "float"
(10,21): Error! E306: cannot convert expression to type of cast
source conversion type is "void *"
target conversion type is "long double"
(11,16): Error! E306: cannot convert expression to type of cast
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?