⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 test2.out

📁 PC-Lint是一种静态代码检测工具
💻 OUT
字号:

--- Module:   module3.cpp 
    _
    };
test.h  14  Info 1712: default constructor not defined for class 'Array'
                     _
	~NamedArray();
test.h  22  Warning 1509: base class destructor for class 'Array' is not
    virtual
    _
    };
test.h  23  Info 1712: default constructor not defined for class 'NamedArray'
                    _
    size = upp-low+1;
module3.cpp  5  Info 732: Loss of sign (assignment) (int to unsigned int)
    _
    }
module3.cpp  8  Warning 1401: member Array::data (line 8, file test.h) not
    initialized by constructor

--- Module:   module4.cpp 
    _
    };
test.h  14  Info 1712: default constructor not defined for class 'Array'
                     _
	~NamedArray();
test.h  22  Warning 1509: base class destructor for class 'Array' is not
    virtual
    _
    };
test.h  23  Info 1712: default constructor not defined for class 'NamedArray'
                 _
    NamedArray na;
module4.cpp  6  Error 1024: No function has same argument count as
    'NamedArray::NamedArray(void)', 2 candidates found
module4.cpp  6  Info 1703: Function 'NamedArray::NamedArray(int, int, const
    char *)' arbitrarily selected.  Refer to Error 1024
module4.cpp  6  Error 118: Too few arguments (0) for prototype
    'NamedArray::NamedArray(int, int, const char *)'
    _
    }
module4.cpp  7  Warning 533: function main(void) should return a value (see
    line 4)

--- Global Wrap-up

Warning 1512: destructor for base class Array (line 5, file test.h, module
    module3.cpp) is not virtual
Info 768: global struct member Array::data (line 8, file test.h) not referenced
Info 1714: Member function Array::Array(int, int) (line 3, file module3.cpp)
    not referenced
Info 768: global struct member NamedArray::arrayName (line 19, file test.h) not
    referenced
Warning 1526: Member function NamedArray::NamedArray(int, int, const char *)
    (line 21, file test.h) not defined

⌨️ 快捷键说明

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