I read the manual, and created a file called suppress-list.ini with some suppressions. But, when I call CppCheckGui.exe --suppress-list=suppress-list.ini, I get the error message 'No suitable files found to analyze!'. How can I set the suppressed list? (Why isn't this part of the settings anyway?!?!?!?)
THE TOPIC SHOULD HAVE BEEN CALLED: "How does shadowFunction work for member functions?" I get this error: Id: shadowFunction CWE: 398 Shadow variable The error is at the line where I close the TCP port during clean up by calling the member function Tcp_MonitorPort(): // The destructor CWndHomeScreen::~CWndHomeScreen() { ENTER_FUNCTION_DEBUG_LOG_TO_MEM try { CHECK_MEM_LEAKS // Free the resources Tcp_MonitorPort(false, false); PostMessage_Show(m_tabInfo.hWndLauncher, WMU_FINGERPRINT_REMOVE_CLIENT,...
I get this error: Id: shadowFunction CWE: 398 Shadow variable The error is at the line where I close the TCP port during clean up by calling the member function Tcp_MonitorPort(): // The destructor CWndHomeScreen::~CWndHomeScreen() { ENTER_FUNCTION_DEBUG_LOG_TO_MEM try { CHECK_MEM_LEAKS // Free the resources Tcp_MonitorPort(false, false); PostMessage_Show(m_tabInfo.hWndLauncher, WMU_FINGERPRINT_REMOVE_CLIENT, NULL, LPARAM(m_hWnd)); WaitForSingleObject(m_hInitMembersThread, 5000); SAFE_CLOSE_HANDLE(m_hInitMembersThread);...
I get the following error for my code: Id: shadowVariable CWE: 398 Local variable 'm_u64TickCountStart' shadows outer variable m_u64TickCountStart is a member variable of my CLauncher class. This is my code: // This functions shows the dialog void CLauncher::ShowDialog(std::wstring *pWstrDebugLog, HINSTANCE hInst, bool bForceNewLicense, const CCmdLineParams &cmdLineParams) { // Set the debug log m_pWstrDebugLog = pWstrDebugLog; ENTER_FUNCTION_DEBUG_LOG_TO_MEM try { CHECK_MEM_LEAKS // Initialize the...
I get the following error for my code: Id: shadowVariable CWE: 398 Local variable 'm_u64TickCountStart' shadows outer variable m_u64TickCountStart is a member variable of my CLauncher class. This is my code: // This functions shows the dialog void CLauncher::ShowDialog(std::wstring *pWstrDebugLog, HINSTANCE hInst, bool bForceNewLicense, const CCmdLineParams &cmdLineParams) { // Set the debug log m_pWstrDebugLog = pWstrDebugLog; ENTER_FUNCTION_DEBUG_LOG_TO_MEM try { CHECK_MEM_LEAKS // Initialize the...
I get the following error for my code: Id: shadowVariable CWE: 398 Local variable 'm_u64TickCountStart' shadows outer variable m_u64TickCountStart is a member variable of my CLauncher class. This is my code: // This functions shows the dialog void CLauncher::ShowDialog(std::wstring *pWstrDebugLog, HINSTANCE hInst, bool bForceNewLicense, const CCmdLineParams &cmdLineParams) { // Set the debug log m_pWstrDebugLog = pWstrDebugLog; ENTER_FUNCTION_DEBUG_LOG_TO_MEM try { CHECK_MEM_LEAKS // Initialize the...
I have get the following error for my code: Id: shadowVariable CWE: 398 Local variable 'm_u64TickCountStart' shadows outer variable m_u64TickCountStart is a member variable of my CLauncher class. This is my code: // This functions shows the dialog void CLauncher::ShowDialog(std::wstring *pWstrDebugLog, HINSTANCE hInst, bool bForceNewLicense, const CCmdLineParams &cmdLineParams) { // Set the debug log m_pWstrDebugLog = pWstrDebugLog; ENTER_FUNCTION_DEBUG_LOG_TO_MEM try { CHECK_MEM_LEAKS // Initialize...
Oooooooh, thanks! Very strange. Your download page is significantly more useful than the one I normally see. I always get redirected to one of those awful SourceForge download pages.