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

📄 output - pc-lint.txt

📁 串口程序检测
💻 TXT
📖 第 1 页 / 共 5 页
字号:
UartDlg.h(49): error 830: (Info -- Location cited in prior message)
#... , AfxSig_vv, (AFX_PMSG)(AFX_PMSGW)(void (AFX_MSG_CALL CWnd::*)(void))&OnPa
    ON_WM_PAINT()
UartDlg.cpp(112): error 641: (Warning -- Converting enum 'AfxSig' to int)
#...  0, 0, 0, AfxSig_hv, (AFX_PMSG)(AFX_PMSGW)(HCURSOR (AFX_MSG_CALL CWnd::*)(
    ON_WM_QUERYDRAGICON()
UartDlg.cpp(113): error 641: (Warning -- Converting enum 'AfxSig' to int)
#... MSG_CALL CWnd::*)())&OnQueryDragIcon },
    ON_WM_QUERYDRAGICON()
UartDlg.cpp(113): error 1717: (Info -- empty prototype for function declaration, assumed '(void)')
#... D)0, (WORD)1008, (WORD)1008, AfxSig_vv, (AFX_PMSG)&OnOpenPort },
#... N_CONTROL(BN_CLICKED, 1008, OnOpenPort)
    ON_BN_CLICKED(IDC_OPEN_PORT, OnOpenPort)
UartDlg.cpp(114): error 641: (Warning -- Converting enum 'AfxSig' to int)
#... 0, (WORD)1027, (WORD)1027, AfxSig_vv, (AFX_PMSG)&OnRxFresh },
#... _CONTROL(BN_CLICKED, 1027, OnRxFresh)
    ON_BN_CLICKED(IDC_RX_FRESH, OnRxFresh)
UartDlg.cpp(115): error 641: (Warning -- Converting enum 'AfxSig' to int)
#... 0, (WORD)1025, (WORD)1025, AfxSig_vv, (AFX_PMSG)&OnTxCycle },
#... _CONTROL(BN_CLICKED, 1025, OnTxCycle)
    ON_BN_CLICKED(IDC_TX_CYCLE, OnTxCycle)
UartDlg.cpp(116): error 641: (Warning -- Converting enum 'AfxSig' to int)
#... , AfxSig_vw, (AFX_PMSG)(AFX_PMSGW)(void (AFX_MSG_CALL CWnd::*)(UINT))&OnTi
    ON_WM_TIMER()
UartDlg.cpp(117): error 641: (Warning -- Converting enum 'AfxSig' to int)
#... 0, AfxSig_hDWw, (AFX_PMSG)(AFX_PMSGW)(HBRUSH (AFX_MSG_CALL CWnd::*)(CDC*, 
    ON_WM_CTLCOLOR()
UartDlg.cpp(118): error 641: (Warning -- Converting enum 'AfxSig' to int)
#... D, (WORD)0, (WORD)1052, (WORD)1052, AfxSig_vv, (AFX_PMSG)&OnRxShowPause },
#...    ON_CONTROL(BN_CLICKED, 1052, OnRxShowPause)
    ON_BN_CLICKED(IDC_RX_SHOW_PAUSE, OnRxShowPause)
UartDlg.cpp(119): error 641: (Warning -- Converting enum 'AfxSig' to int)
#... MAND, (WORD)0, (WORD)1046, (WORD)1046, AfxSig_vv, (AFX_PMSG)&OnTxModeTimer
#...       ON_CONTROL(BN_CLICKED, 1046, OnTxModeTimer)
    ON_BN_CLICKED(IDC_TX_AUTO_SPAN_SEL, OnTxModeTimer)
UartDlg.cpp(120): error 641: (Warning -- Converting enum 'AfxSig' to int)
#... (WORD)0, (WORD)1021, (WORD)1021, AfxSig_vv, (AFX_PMSG)&OnTxModeManual },
#... N_CONTROL(BN_CLICKED, 1021, OnTxModeManual)
    ON_BN_CLICKED(IDC_TX_MANUAL, OnTxModeManual)
UartDlg.cpp(121): error 641: (Warning -- Converting enum 'AfxSig' to int)
#... D)0, (WORD)1023, (WORD)1023, AfxSig_vv, (AFX_PMSG)&OnCountClr },
#... N_CONTROL(BN_CLICKED, 1023, OnCountClr)
    ON_BN_CLICKED(IDC_COUNT_CLR, OnCountClr)
UartDlg.cpp(122): error 641: (Warning -- Converting enum 'AfxSig' to int)
#... ORD)0, (WORD)1041, (WORD)1041, AfxSig_vv, (AFX_PMSG)&OnErrDetect },
#... ON_CONTROL(BN_CLICKED, 1041, OnErrDetect)
    ON_BN_CLICKED(IDC_ERR_DETECT, OnErrDetect)
UartDlg.cpp(123): error 641: (Warning -- Converting enum 'AfxSig' to int)
#...  (WORD)1051, (WORD)1051, AfxSig_vv, (AFX_PMSG)&OnErrClr },
#... CONTROL(BN_CLICKED, 1051, OnErrClr)
    ON_BN_CLICKED(IDC_ERR_CLR, OnErrClr)
UartDlg.cpp(124): error 641: (Warning -- Converting enum 'AfxSig' to int)
#... D, (WORD)0, (WORD)1036, (WORD)1036, AfxSig_vv, (AFX_PMSG)&OnErrCycleRst },
#...    ON_CONTROL(BN_CLICKED, 1036, OnErrCycleRst)
    ON_BN_CLICKED(IDC_ERR_CYCLE_RST, OnErrCycleRst)
UartDlg.cpp(125): error 641: (Warning -- Converting enum 'AfxSig' to int)
#... WORD)0, (WORD)1033, (WORD)1033, AfxSig_vv, (AFX_PMSG)&OnTxShowClr },
#...  ON_CONTROL(BN_CLICKED, 1033, OnTxShowClr)
    ON_BN_CLICKED(IDC_TX_SHOW_CLR, OnTxShowClr)
UartDlg.cpp(126): error 641: (Warning -- Converting enum 'AfxSig' to int)
#... ORD)0, (WORD)1007, (WORD)1007, AfxSig_vv, (AFX_PMSG)&OnStatusRts },
#... ON_CONTROL(BN_CLICKED, 1007, OnStatusRts)
    ON_BN_CLICKED(IDC_STATUS_RTS, OnStatusRts)
UartDlg.cpp(127): error 641: (Warning -- Converting enum 'AfxSig' to int)
#... ORD)0, (WORD)1013, (WORD)1013, AfxSig_vv, (AFX_PMSG)&OnStatusDtr },
#... ON_CONTROL(BN_CLICKED, 1013, OnStatusDtr)
    ON_BN_CLICKED(IDC_STATUS_DTR, OnStatusDtr)
UartDlg.cpp(128): error 641: (Warning -- Converting enum 'AfxSig' to int)
#... , (WORD)0, (WORD)1014, (WORD)1014, AfxSig_vv, (AFX_PMSG)&OnStatusBreak },
#...   ON_CONTROL(BN_CLICKED, 1014, OnStatusBreak)
    ON_BN_CLICKED(IDC_STATUS_BREAK, OnStatusBreak)
UartDlg.cpp(129): error 641: (Warning -- Converting enum 'AfxSig' to int)
#...  (WORD)0, (WORD)1034, (WORD)1034, AfxSig_vv, (AFX_PMSG)&OnTxCycleRst },
#...   ON_CONTROL(BN_CLICKED, 1034, OnTxCycleRst)
    ON_BN_CLICKED(IDC_TX_CYCLE_RST, OnTxCycleRst)
UartDlg.cpp(130): error 641: (Warning -- Converting enum 'AfxSig' to int)
#... WORD)0, (WORD)1028, (WORD)1028, AfxSig_vv, (AFX_PMSG)&OnRxShowClr },
#...  ON_CONTROL(BN_CLICKED, 1028, OnRxShowClr)
    ON_BN_CLICKED(IDC_RX_SHOW_CLR, OnRxShowClr)
UartDlg.cpp(131): error 641: (Warning -- Converting enum 'AfxSig' to int)
#... WORD)0, (WORD)1047, (WORD)1047, AfxSig_vv, (AFX_PMSG)&OnTxModeCts },
#...  ON_CONTROL(BN_CLICKED, 1047, OnTxModeCts)
    ON_BN_CLICKED(IDC_TX_AUTO_CTS, OnTxModeCts)
UartDlg.cpp(132): error 641: (Warning -- Converting enum 'AfxSig' to int)
#... ORD)1087, (WORD)1087, AfxSig_vv, (AFX_PMSG)&OnReset },
#... NTROL(BN_CLICKED, 1087, OnReset)
    ON_BN_CLICKED(IDC_RESET, OnReset)
UartDlg.cpp(133): error 641: (Warning -- Converting enum 'AfxSig' to int)
#... (WORD)1088, (WORD)1088, AfxSig_vv, (AFX_PMSG)&OnOption },
#... ONTROL(BN_CLICKED, 1088, OnOption)
    ON_BN_CLICKED(IDC_OPTION, OnOption)    
UartDlg.cpp(134): error 641: (Warning -- Converting enum 'AfxSig' to int)
#...  AfxSig_end, (AFX_PMSG)0 } };
END_MESSAGE_MAP()
UartDlg.cpp(136): error 641: (Warning -- Converting enum 'AfxSig' to int)
        SendMessage(WM_ICONERASEBKGND, (WPARAM) dc.GetSafeHdc(), 0);
UartDlg.cpp(147): error 534: (Warning -- Ignoring return value of function 'CWnd::SendMessageA(unsigned int, unsigned int, long)' (compare with line 38, file D:\Program\Microsoft Visual Studio\VC98\MFC\INCLUDE\afxwin2.inl))
D:\Program\Microsoft Visual Studio\VC98\MFC\INCLUDE\afxwin2.inl(38): error 830: (Info -- Location cited in prior message)
        int x = (rect.Width() - cxIcon + 1) / 2;
UartDlg.cpp(154): error 834: (Info -- Operator '-' followed by operator '+' is confusing.  Use parentheses.)
        int y = (rect.Height() - cyIcon + 1) / 2;
UartDlg.cpp(155): error 834: (Info -- Operator '-' followed by operator '+' is confusing.  Use parentheses.)
        dc.DrawIcon(x, y, m_hIcon);
UartDlg.cpp(158): error 534: (Warning -- Ignoring return value of function 'CDC::DrawIcon(int, int, struct HICON__ *)' (compare with line 674, file D:\Program\Microsoft Visual Studio\VC98\MFC\INCLUDE\afxwin1.inl))
D:\Program\Microsoft Visual Studio\VC98\MFC\INCLUDE\afxwin1.inl(674): error 830: (Info -- Location cited in prior message)
#...                                                               { _T(""), 1,
    ON_EVENT(CUartDlg, IDC_MSCOMM, 1 /* OnComm */, OnOnCommMscomm, VTS_NONE)
UartDlg.cpp(175): error 651: (Warning -- Potentially confusing initializer)
#...                                                { _T(""), 1, 0, VT_BOOL, (A
    ON_EVENT(CUartDlg, IDC_MSCOMM, 1 /* OnComm */, OnOnCommMscomm, VTS_NONE)
UartDlg.cpp(175): error 641: (Warning -- Converting enum 'VARENUM' to int)
#... NONE, VT_VOID, (AFX_PMSG)NULL, (AFX_PMSG)NULL, (size_t)-1, afxDispCustom, 
END_EVENTSINK_MAP()
UartDlg.cpp(177): error 641: (Warning -- Converting enum 'VARENUM' to int)
        pDC->SetTextColor(ColorRGB);
UartDlg.cpp(206): error 534: (Warning -- Ignoring return value of function 'CDC::SetTextColor(unsigned long)' (compare with line 725, file D:\Program\Microsoft Visual Studio\VC98\MFC\INCLUDE\afxwin.h))
D:\Program\Microsoft Visual Studio\VC98\MFC\INCLUDE\afxwin.h(725): error 830: (Info -- Location cited in prior message)
        pDC->SetTextColor(ColorRGB);
UartDlg.cpp(218): error 534: (Warning -- Ignoring return value of function 'CDC::SetTextColor(unsigned long)' (compare with line 725, file D:\Program\Microsoft Visual Studio\VC98\MFC\INCLUDE\afxwin.h))
D:\Program\Microsoft Visual Studio\VC98\MFC\INCLUDE\afxwin.h(725): error 830: (Info -- Location cited in prior message)
        pDC->SetTextColor(ColorRGB);
UartDlg.cpp(229): error 534: (Warning -- Ignoring return value of function 'CDC::SetTextColor(unsigned long)' (compare with line 725, file D:\Program\Microsoft Visual Studio\VC98\MFC\INCLUDE\afxwin.h))
D:\Program\Microsoft Visual Studio\VC98\MFC\INCLUDE\afxwin.h(725): error 830: (Info -- Location cited in prior message)
        pDC->SetTextColor(ColorRGB);
UartDlg.cpp(246): error 534: (Warning -- Ignoring return value of function 'CDC::SetTextColor(unsigned long)' (compare with line 725, file D:\Program\Microsoft Visual Studio\VC98\MFC\INCLUDE\afxwin.h))
D:\Program\Microsoft Visual Studio\VC98\MFC\INCLUDE\afxwin.h(725): error 830: (Info -- Location cited in prior message)
        pDC->SetTextColor(ColorRGB);
UartDlg.cpp(260): error 534: (Warning -- Ignoring return value of function 'CDC::SetTextColor(unsigned long)' (compare with line 725, file D:\Program\Microsoft Visual Studio\VC98\MFC\INCLUDE\afxwin.h))
D:\Program\Microsoft Visual Studio\VC98\MFC\INCLUDE\afxwin.h(725): error 830: (Info -- Location cited in prior message)
        ColorRGB = RGB(128,0,128);

⌨️ 快捷键说明

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