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

📄 output - pc-lint.txt

📁 串口程序检测
💻 TXT
📖 第 1 页 / 共 5 页
字号:
PC-lint for C/C++ (NT) Vers. 8.00x, Copyright Gimpel Software 1985-2008

--- Module:   UartDlg.cpp (C++)
    public:
Uart.h(30): error 1736: (Info -- Redundant access specifier (public))
#... Y _messageEntries[]; protected: static AFX_DATA const AFX_MSGMAP messageMa
    DECLARE_MESSAGE_MAP()
Uart.h(41): error 1516: (Warning -- Member declaration hides inherited member 'CWinApp::_messageEntries' (line 4238, file D:\Program\Microsoft Visual Studio\VC98\MFC\INCLUDE\afxwin.h))
D:\Program\Microsoft Visual Studio\VC98\MFC\INCLUDE\afxwin.h(4238): error 830: (Info -- Location cited in prior message)
#... X_MSGMAP messageMap; virtual const AFX_MSGMAP* GetMessageMap() const;
    DECLARE_MESSAGE_MAP()
Uart.h(41): error 1516: (Warning -- Member declaration hides inherited member 'CWinApp::messageMap' (line 4238, file D:\Program\Microsoft Visual Studio\VC98\MFC\INCLUDE\afxwin.h))
D:\Program\Microsoft Visual Studio\VC98\MFC\INCLUDE\afxwin.h(4238): error 830: (Info -- Location cited in prior message)
    DECLARE_DYNCREATE(CMSComm)
mscomm.h(18): error 1511: (Warning -- Member hides non-virtual member 'CWnd::CreateObject(void)' (line 1901, file D:\Program\Microsoft Visual Studio\VC98\MFC\INCLUDE\afxwin.h))
D:\Program\Microsoft Visual Studio\VC98\MFC\INCLUDE\afxwin.h(1901): error 830: (Info -- Location cited in prior message)
public:
mscomm.h(19): error 1736: (Info -- Redundant access specifier (public))
    { return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID); }
mscomm.h(31): error 1735: (Info -- Virtual function 'CMSComm::Create(const char *, const char *, unsigned long, const struct tagRECT &, CWnd *, unsigned int, CCreateContext *)' has default parameter)
    { return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID,
mscomm.h(37): error 1411: (Warning -- Member with different signature hides virtual member 'CWnd::Create(const char *, const char *, unsigned long, const struct tagRECT &, CWnd *, unsigned int, CCreateContext *)' (line 1942, file D:\Program\Microsoft Visual Studio\VC98\MFC\INCLUDE\afxwin.h))
D:\Program\Microsoft Visual Studio\VC98\MFC\INCLUDE\afxwin.h(1942): error 830: (Info -- Location cited in prior message)
public:
mscomm.h(41): error 1736: (Info -- Redundant access specifier (public))
public:
mscomm.h(44): error 1736: (Info -- Redundant access specifier (public))
    }
mscomm.h(25): error 1762: (Info -- Member function 'CMSComm::GetClsid(void)' could be made const)
    { return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID); }
mscomm.h(31): error 715: (Info -- Symbol 'pContext' (line 30) not referenced)
mscomm.h(30): error 830: (Info -- Location cited in prior message)
    { return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID); }
mscomm.h(31): error 715: (Info -- Symbol 'lpszClassName' (line 26) not referenced)
mscomm.h(26): error 830: (Info -- Location cited in prior message)
protected:    
UartDlg.h(106): error 1736: (Info -- Redundant access specifier (protected))
    virtual BOOL OnInitDialog();
UartDlg.h(111): error 1768: (Info -- Virtual function 'CUartDlg::OnInitDialog(void)' has an access (protected) different from the access (public) in the base class (CDialog))
    afx_msg void OnPaint();
UartDlg.h(112): error 1511: (Warning -- Member hides non-virtual member 'CWnd::OnPaint(void)' (line 357, file D:\Program\Microsoft Visual Studio\VC98\MFC\INCLUDE\afxwin2.inl))
D:\Program\Microsoft Visual Studio\VC98\MFC\INCLUDE\afxwin2.inl(357): error 830: (Info -- Location cited in prior message)
    afx_msg HCURSOR OnQueryDragIcon();
UartDlg.h(113): error 1511: (Warning -- Member hides non-virtual member 'CWnd::OnQueryDragIcon(void)' (line 359, file D:\Program\Microsoft Visual Studio\VC98\MFC\INCLUDE\afxwin2.inl))
D:\Program\Microsoft Visual Studio\VC98\MFC\INCLUDE\afxwin2.inl(359): error 830: (Info -- Location cited in prior message)
    afx_msg void OnTimer(UINT nIDEvent);
UartDlg.h(117): error 1511: (Warning -- Member hides non-virtual member 'CWnd::OnTimer(unsigned int)' (line 469, file D:\Program\Microsoft Visual Studio\VC98\MFC\INCLUDE\afxwin2.inl))
D:\Program\Microsoft Visual Studio\VC98\MFC\INCLUDE\afxwin2.inl(469): error 830: (Info -- Location cited in prior message)
    afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
UartDlg.h(118): error 1511: (Warning -- Member hides non-virtual member 'CDialog::OnCtlColor(CDC *, CWnd *, unsigned int)' (line 2665, file D:\Program\Microsoft Visual Studio\VC98\MFC\INCLUDE\afxwin.h))
D:\Program\Microsoft Visual Studio\VC98\MFC\INCLUDE\afxwin.h(2665): error 830: (Info -- Location cited in prior message)
#... Y _eventsinkEntries[]; static UINT _eventsinkEntryCount; protected: static
    DECLARE_EVENTSINK_MAP()
UartDlg.h(136): error 1516: (Warning -- Member declaration hides inherited member 'CCmdTarget::_eventsinkEntries' (line 1651, file D:\Program\Microsoft Visual Studio\VC98\MFC\INCLUDE\afxwin.h))
D:\Program\Microsoft Visual Studio\VC98\MFC\INCLUDE\afxwin.h(1651): error 830: (Info -- Location cited in prior message)
#...  _eventsinkEntryCount; protected: static AFX_DATA const AFX_EVENTSINKMAP e
    DECLARE_EVENTSINK_MAP()
UartDlg.h(136): error 1516: (Warning -- Member declaration hides inherited member 'CCmdTarget::_eventsinkEntryCount' (line 1651, file D:\Program\Microsoft Visual Studio\VC98\MFC\INCLUDE\afxwin.h))
D:\Program\Microsoft Visual Studio\VC98\MFC\INCLUDE\afxwin.h(1651): error 830: (Info -- Location cited in prior message)
#... TSINKMAP eventsinkMap; virtual const AFX_EVENTSINKMAP* GetEventSinkMap() c
    DECLARE_EVENTSINK_MAP()
UartDlg.h(136): error 1516: (Warning -- Member declaration hides inherited member 'CCmdTarget::eventsinkMap' (line 1651, file D:\Program\Microsoft Visual Studio\VC98\MFC\INCLUDE\afxwin.h))
D:\Program\Microsoft Visual Studio\VC98\MFC\INCLUDE\afxwin.h(1651): error 830: (Info -- Location cited in prior message)
#... Y _messageEntries[]; protected: static AFX_DATA const AFX_MSGMAP messageMa
    DECLARE_MESSAGE_MAP()
UartDlg.h(138): error 1516: (Warning -- Member declaration hides inherited member 'CDialog::_messageEntries' (line 2667, file D:\Program\Microsoft Visual Studio\VC98\MFC\INCLUDE\afxwin.h))
D:\Program\Microsoft Visual Studio\VC98\MFC\INCLUDE\afxwin.h(2667): error 830: (Info -- Location cited in prior message)
#... X_MSGMAP messageMap; virtual const AFX_MSGMAP* GetMessageMap() const;
    DECLARE_MESSAGE_MAP()
UartDlg.h(138): error 1516: (Warning -- Member declaration hides inherited member 'CDialog::messageMap' (line 2667, file D:\Program\Microsoft Visual Studio\VC98\MFC\INCLUDE\afxwin.h))
D:\Program\Microsoft Visual Studio\VC98\MFC\INCLUDE\afxwin.h(2667): error 830: (Info -- Location cited in prior message)
protected:
DlgOption.h(38): error 1736: (Info -- Redundant access specifier (protected))
    virtual BOOL OnInitDialog();
DlgOption.h(42): error 1768: (Info -- Virtual function 'CDlgOption::OnInitDialog(void)' has an access (protected) different from the access (public) in the base class (CDialog))
#... Y _messageEntries[]; protected: static AFX_DATA const AFX_MSGMAP messageMa
    DECLARE_MESSAGE_MAP()
DlgOption.h(46): error 1516: (Warning -- Member declaration hides inherited member 'CDialog::_messageEntries' (line 2667, file D:\Program\Microsoft Visual Studio\VC98\MFC\INCLUDE\afxwin.h))
D:\Program\Microsoft Visual Studio\VC98\MFC\INCLUDE\afxwin.h(2667): error 830: (Info -- Location cited in prior message)
#... X_MSGMAP messageMap; virtual const AFX_MSGMAP* GetMessageMap() const;
    DECLARE_MESSAGE_MAP()
DlgOption.h(46): error 1516: (Warning -- Member declaration hides inherited member 'CDialog::messageMap' (line 2667, file D:\Program\Microsoft Visual Studio\VC98\MFC\INCLUDE\afxwin.h))
D:\Program\Microsoft Visual Studio\VC98\MFC\INCLUDE\afxwin.h(2667): error 830: (Info -- Location cited in prior message)
}
UartDlg.cpp(72): error 1401: (Warning -- member 'CUartDlg::m_bOpen' (line 31, file UartDlg.h) not initialized by constructor)
UartDlg.h(31): error 830: (Info -- Location cited in prior message)
}
UartDlg.cpp(72): error 1401: (Warning -- member 'CUartDlg::m_bRxShowPause' (line 32, file UartDlg.h) not initialized by constructor)
UartDlg.h(32): error 830: (Info -- Location cited in prior message)
}
UartDlg.cpp(72): error 1401: (Warning -- member 'CUartDlg::m_cTxCycleIndex' (line 33, file UartDlg.h) not initialized by constructor)
UartDlg.h(33): error 830: (Info -- Location cited in prior message)
}
UartDlg.cpp(72): error 1401: (Warning -- member 'CUartDlg::m_cErrCycleIndex' (line 34, file UartDlg.h) not initialized by constructor)
UartDlg.h(34): error 830: (Info -- Location cited in prior message)
}
UartDlg.cpp(72): error 1401: (Warning -- member 'CUartDlg::m_RxBuf' (line 35, file UartDlg.h) not initialized by constructor)
UartDlg.h(35): error 830: (Info -- Location cited in prior message)
}
UartDlg.cpp(72): error 1401: (Warning -- member 'CUartDlg::m_TxBuf' (line 36, file UartDlg.h) not initialized by constructor)
UartDlg.h(36): error 830: (Info -- Location cited in prior message)
}
UartDlg.cpp(72): error 1401: (Warning -- member 'CUartDlg::m_iTxByteCounterConv' (line 37, file UartDlg.h) not initialized by constructor)
UartDlg.h(37): error 830: (Info -- Location cited in prior message)
}
UartDlg.cpp(72): error 1401: (Warning -- member 'CUartDlg::m_iIniBaudRate' (line 39, file UartDlg.h) not initialized by constructor)
UartDlg.h(39): error 830: (Info -- Location cited in prior message)
}
UartDlg.cpp(72): error 1401: (Warning -- member 'CUartDlg::m_iIniCheckBit' (line 40, file UartDlg.h) not initialized by constructor)
UartDlg.h(40): error 830: (Info -- Location cited in prior message)
}
UartDlg.cpp(72): error 1401: (Warning -- member 'CUartDlg::m_iIniDataBit' (line 41, file UartDlg.h) not initialized by constructor)
UartDlg.h(41): error 830: (Info -- Location cited in prior message)
}
UartDlg.cpp(72): error 1401: (Warning -- member 'CUartDlg::m_iIniPortNum' (line 42, file UartDlg.h) not initialized by constructor)
UartDlg.h(42): error 830: (Info -- Location cited in prior message)
}
UartDlg.cpp(72): error 1401: (Warning -- member 'CUartDlg::m_iIniStopBit' (line 43, file UartDlg.h) not initialized by constructor)
UartDlg.h(43): error 830: (Info -- Location cited in prior message)
}
UartDlg.cpp(72): error 1401: (Warning -- member 'CUartDlg::m_tClockStart' (line 45, file UartDlg.h) not initialized by constructor)
UartDlg.h(45): error 830: (Info -- Location cited in prior message)
}
UartDlg.cpp(72): error 1401: (Warning -- member 'CUartDlg::m_tClockEnd' (line 46, file UartDlg.h) not initialized by constructor)
UartDlg.h(46): error 830: (Info -- Location cited in prior message)
}
UartDlg.cpp(72): error 1401: (Warning -- member 'CUartDlg::m_hEventTxCts' (line 48, file UartDlg.h) not initialized by constructor)
UartDlg.h(48): error 830: (Info -- Location cited in prior message)
}
UartDlg.cpp(72): error 1401: (Warning -- member 'CUartDlg::m_pThread' (line 49, file UartDlg.h) not initialized by constructor)

⌨️ 快捷键说明

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