diag0200.chk

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

CHK
1,183
字号
File: source\diag0200.c
(8,13): Error! E709: cannot initialize array member 'S::arr'
  definition: 'int S::arr[3]'
File: source\diag0201.c
(14,16): Error! E125: invalid redefinition of the typedef name 'XX9'
  definition: 'XX9'
(25,1): Error! E229: function 'X17::foo' has already been defined
  definition: 'void X17::foo( void )'
(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'
  definition: 'int v2' in 'int x56( void )'
(62,5): Warning! W014: no reference to symbol 'S::UNDECLARED_TYPE2'
  definition: 'int S::UNDECLARED_TYPE2' in 'int x56( void )'
(64,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'
  definition: 'int S::v3' in 'int x66( void )'
(72,1): Error! E121: syntax error
(82,0): Error! E079: missing ')' for expansion of 'assert' macro
  macro 'assert' defined at: (77,9)
(82,0): Error! E121: syntax error
(82,0): Error! E003: missing return value
(82,0): Warning! W726: no reference to formal parameter 'x'
  definition: 'int * x' in 'int end_of_the_file( int * )'
(82,0): Error! E121: syntax error
File: source\diag0202.c
(33,11): Warning! W836: symbol has different type than previous symbol in same declaration
  companion definition is 'v'
  definition: 'S v' in 'void f( void )'
(54,2): Error! E080: at least one error
File: source\diag0203.c
(44,22): Error! E400: cannot convert right expression for initialization
  'D' defined at: (6,12)
  source conversion type is 'Prime_print<2>::<enum>'
  target conversion type is 'D<2>'
(25,26): Error! E400: cannot convert right expression for initialization
  template class instantiation for 'Prime_print<30>' was at: (50,16)
  'D' defined at: (6,12)
  source conversion type is 'Prime_print<3>::<enum>'
  target conversion type is 'D<3>'
(25,26): Error! E400: cannot convert right expression for initialization
  template class instantiation for 'Prime_print<30>' was at: (50,16)
  'D' defined at: (6,12)
  source conversion type is 'Prime_print<5>::<enum>'
  target conversion type is 'D<5>'
(25,26): Error! E400: cannot convert right expression for initialization
  template class instantiation for 'Prime_print<30>' was at: (50,16)
  'D' defined at: (6,12)
  source conversion type is 'Prime_print<7>::<enum>'
  target conversion type is 'D<7>'
(25,26): Error! E400: cannot convert right expression for initialization
  template class instantiation for 'Prime_print<30>' was at: (50,16)
  'D' defined at: (6,12)
  source conversion type is 'Prime_print<11>::<enum>'
  target conversion type is 'D<11>'
(25,26): Error! E400: cannot convert right expression for initialization
  template class instantiation for 'Prime_print<30>' was at: (50,16)
  'D' defined at: (6,12)
  source conversion type is 'Prime_print<13>::<enum>'
  target conversion type is 'D<13>'
(25,26): Error! E400: cannot convert right expression for initialization
  template class instantiation for 'Prime_print<30>' was at: (50,16)
  'D' defined at: (6,12)
  source conversion type is 'Prime_print<17>::<enum>'
  target conversion type is 'D<17>'
(25,26): Error! E400: cannot convert right expression for initialization
  template class instantiation for 'Prime_print<30>' was at: (50,16)
  'D' defined at: (6,12)
  source conversion type is 'Prime_print<19>::<enum>'
  target conversion type is 'D<19>'
(25,26): Error! E400: cannot convert right expression for initialization
  template class instantiation for 'Prime_print<30>' was at: (50,16)
  'D' defined at: (6,12)
  source conversion type is 'Prime_print<23>::<enum>'
  target conversion type is 'D<23>'
(25,26): Error! E400: cannot convert right expression for initialization
  template class instantiation for 'Prime_print<30>' was at: (50,16)
  'D' defined at: (6,12)
  source conversion type is 'Prime_print<29>::<enum>'
  target conversion type is 'D<29>'
File: source\diag0204.c
(18,19): 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,19): 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,19): 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,19): 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,19): 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,19): 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: source\diag0205.h
  included from source\diag0205.c(1)
(2,10): Error! E710: file 'source\diag0205.c' will #include itself forever
(2,10): Error! E059: unable to open 'diag0205.c'
File: source\diag0206.c
(15,8): Error! E814: user-defined conversion is ambiguous
  'A' defined at: (4,7)
  ambiguous function: B::operator A () defined at: (10,9)
  ambiguous function: A::A( B ) defined at: (6,9)
  source conversion type is 'B (lvalue)'
  target conversion type is 'A'
(20,2): Error! E080: at least one error
File: source\diag0207.c
(20,5): Error! E419: cannot call non-const function for a constant object
  'S' defined at: (3,8)
  definition: 'S & S::operator =( S const & )'
(21,5): Error! E467: cannot call a non-volatile function for a volatile object
  'S' defined at: (3,8)
  definition: 'S & S::operator =( S const & )'
(22,5): Error! E419: cannot call non-const function for a constant object
  'S' defined at: (3,8)
  definition: 'S & S::operator =( S const & )'
(24,5): Error! E419: cannot call non-const function for a constant object
  'S' defined at: (3,8)
  definition: 'S & S::operator =( S const & )'
(25,5): Error! E467: cannot call a non-volatile function for a volatile object
  'S' defined at: (3,8)
  definition: 'S & S::operator =( S const & )'
(26,5): Error! E419: cannot call non-const function for a constant object
  'S' defined at: (3,8)
  definition: 'S & S::operator =( S const & )'
(27,11): Error! E475: cannot assign right expression to class object
  definition: 'S & S::operator =( S const & )'
  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
  definition: 'S & S::operator =( S const & )'
  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
  definition: 'S & S::operator =( S const & )'
  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
  definition: 'S & S::operator =( S const & )'
  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
  definition: 'S & S::operator =( S const & )'
  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
  definition: 'S & S::operator =( S const & )'
  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
  definition: 'S & S::operator =( S const & )'
  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
  definition: 'S & S::operator =( S const & )'
  cannot convert argument 1 defined at: (34,13)
  source conversion type is 'S const volatile (lvalue)'
  target conversion type is 'S const (lvalue)'
File: source\diag0208.c
(26,30): Error! E400: cannot convert right expression for initialization
  'S' defined at: (3,8)
  source conversion type is 'S volatile (lvalue)'
  target conversion type is 'S'
(27,30): Error! E400: cannot convert right expression for initialization
  'S' defined at: (3,8)
  source conversion type is 'S volatile (lvalue)'
  target conversion type is 'S volatile'
(28,30): Error! E400: cannot convert right expression for initialization
  'S' defined at: (3,8)
  source conversion type is 'S volatile (lvalue)'
  target conversion type is 'S const'
(29,30): Error! E400: cannot convert right expression for initialization
  'S' defined at: (3,8)
  source conversion type is 'S volatile (lvalue)'
  target conversion type is 'S const volatile'
(30,30): Error! E400: cannot convert right expression for initialization
  'S' defined at: (3,8)
  source conversion type is 'S const volatile (lvalue)'
  target conversion type is 'S'
(31,30): Error! E400: cannot convert right expression for initialization
  'S' defined at: (3,8)
  source conversion type is 'S const volatile (lvalue)'
  target conversion type is 'S volatile'
(32,30): Error! E400: cannot convert right expression for initialization
  'S' defined at: (3,8)
  source conversion type is 'S const volatile (lvalue)'
  target conversion type is 'S const'
(33,30): Error! E400: cannot convert right expression for initialization
  'S' defined at: (3,8)
  source conversion type is 'S const volatile (lvalue)'
  target conversion type is 'S const volatile'
File: source\diag0209.c
(1,2): Error! E053: unknown preprocessing directive '#ackbar'
(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: 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
  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'

⌨️ 快捷键说明

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