2025-06-29 10:42 ftp://ftp.de.debian.org/debian/pool/main/o/objcryst-fox/objcryst-fox_2022.1.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=wxwidgets --library=boost --library=opengl --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j6 platform: Linux-6.1.0-37-amd64-x86_64-with-glibc2.36 python: 3.11.2 client-version: 1.3.67 compiler: g++ (Debian 12.2.0-14+deb12u1) 12.2.0 cppcheck: head 2.17.0 head-info: ca83f56 (2025-06-29 00:31:22 +0200) count: 366 353 elapsed-time: 11.9 12.9 head-timing-info: old-timing-info: head results: objcryst-2022.1/Fox/src/FoxServer.cpp:337:4: error: There is an unknown macro here somewhere. Configuration is required. If VFN_DEBUG_MESSAGE is a macro then please configure it. [unknownMacro] objcryst-2022.1/Fox/src/FoxJob.cpp:106:14: style:inconclusive: Technically the member function 'FoxJob::randomize' can be const. [functionConst] objcryst-2022.1/Fox/src/FoxJob.h:52:9: note: Technically the member function 'FoxJob::randomize' can be const. objcryst-2022.1/Fox/src/FoxJob.cpp:106:14: note: Technically the member function 'FoxJob::randomize' can be const. objcryst-2022.1/Fox/src/FoxJob.cpp:82:13: style:inconclusive: Technically the member function 'FoxJob::getM_ID' can be const. [functionConst] objcryst-2022.1/Fox/src/FoxJob.h:55:15: note: Technically the member function 'FoxJob::getM_ID' can be const. objcryst-2022.1/Fox/src/FoxJob.cpp:82:13: note: Technically the member function 'FoxJob::getM_ID' can be const. objcryst-2022.1/Fox/src/FoxJob.cpp:85:18: style:inconclusive: Technically the member function 'FoxJob::getName' can be const. [functionConst] objcryst-2022.1/Fox/src/FoxJob.h:56:15: note: Technically the member function 'FoxJob::getName' can be const. objcryst-2022.1/Fox/src/FoxJob.cpp:85:18: note: Technically the member function 'FoxJob::getName' can be const. objcryst-2022.1/Fox/src/FoxJob.cpp:88:14: style:inconclusive: Technically the member function 'FoxJob::getNbTrial' can be const. [functionConst] objcryst-2022.1/Fox/src/FoxJob.h:57:15: note: Technically the member function 'FoxJob::getNbTrial' can be const. objcryst-2022.1/Fox/src/FoxJob.cpp:88:14: note: Technically the member function 'FoxJob::getNbTrial' can be const. objcryst-2022.1/Fox/src/FoxJob.cpp:91:13: style:inconclusive: Technically the member function 'FoxJob::getNbRuns' can be const. [functionConst] objcryst-2022.1/Fox/src/FoxJob.h:58:15: note: Technically the member function 'FoxJob::getNbRuns' can be const. objcryst-2022.1/Fox/src/FoxJob.cpp:91:13: note: Technically the member function 'FoxJob::getNbRuns' can be const. objcryst-2022.1/Fox/src/FoxJob.cpp:94:13: style:inconclusive: Technically the member function 'FoxJob::getNbDone' can be const. [functionConst] objcryst-2022.1/Fox/src/FoxJob.h:59:15: note: Technically the member function 'FoxJob::getNbDone' can be const. objcryst-2022.1/Fox/src/FoxJob.cpp:94:13: note: Technically the member function 'FoxJob::getNbDone' can be const. objcryst-2022.1/Fox/src/FoxJob.cpp:97:15: style:inconclusive: Technically the member function 'FoxJob::getStatus' can be const. [functionConst] objcryst-2022.1/Fox/src/FoxJob.h:60:15: note: Technically the member function 'FoxJob::getStatus' can be const. objcryst-2022.1/Fox/src/FoxJob.cpp:97:15: note: Technically the member function 'FoxJob::getStatus' can be const. objcryst-2022.1/Fox/src/FoxJob.cpp:100:13: style:inconclusive: Technically the member function 'FoxJob::getNbThread' can be const. [functionConst] objcryst-2022.1/Fox/src/FoxJob.h:61:15: note: Technically the member function 'FoxJob::getNbThread' can be const. objcryst-2022.1/Fox/src/FoxJob.cpp:100:13: note: Technically the member function 'FoxJob::getNbThread' can be const. objcryst-2022.1/Fox/src/FoxJob.cpp:51:26: style:inconclusive: Technically the member function 'FoxJob::getThreadID' can be const. [functionConst] objcryst-2022.1/Fox/src/FoxJob.h:63:21: note: Technically the member function 'FoxJob::getThreadID' can be const. objcryst-2022.1/Fox/src/FoxJob.cpp:51:26: note: Technically the member function 'FoxJob::getThreadID' can be const. objcryst-2022.1/Fox/src/FoxJob.cpp:103:18: style:inconclusive: Technically the member function 'FoxJob::getFileName' can be const. [functionConst] objcryst-2022.1/Fox/src/FoxJob.h:64:13: note: Technically the member function 'FoxJob::getFileName' can be const. objcryst-2022.1/Fox/src/FoxJob.cpp:103:18: note: Technically the member function 'FoxJob::getFileName' can be const. objcryst-2022.1/Fox/src/FoxJob.h:56:15: performance: Function 'getName()' should return member 'm_name' by const reference. [returnByReference] objcryst-2022.1/Fox/src/FoxJob.h:63:21: performance: Function 'getThreadID()' should return member 'm_ThreadID' by const reference. [returnByReference] objcryst-2022.1/Fox/src/FoxJob.h:64:13: performance: Function 'getFileName()' should return member 'm_fileName' by const reference. [returnByReference] objcryst-2022.1/Fox/src/FoxJob.cpp:45:47: style:inconclusive: Function 'replaceThreadID' argument 1 names different: declaration 'threadID' definition 'threadIDs'. [funcArgNamesDifferent] objcryst-2022.1/Fox/src/FoxJob.h:50:42: note: Function 'replaceThreadID' argument 1 names different: declaration 'threadID' definition 'threadIDs'. objcryst-2022.1/Fox/src/FoxJob.cpp:45:47: note: Function 'replaceThreadID' argument 1 names different: declaration 'threadID' definition 'threadIDs'. objcryst-2022.1/Fox/src/FoxJob.cpp:45:47: performance: Function parameter 'threadIDs' should be passed by const reference. [passedByValue] objcryst-2022.1/Fox/src/FoxJob.cpp:57:31: performance: Function parameter 'name' should be passed by const reference. [passedByValue] objcryst-2022.1/Fox/src/FoxJob.cpp:75:35: performance: Function parameter 'name' should be passed by const reference. [passedByValue] objcryst-2022.1/Fox/src/GridResult.cpp:8:13: warning: Member variable 'GridResult::order' is not initialized in the constructor. [uninitMemberVar] objcryst-2022.1/Fox/src/GridResult.cpp:10:4: performance: Variable 'filename' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] objcryst-2022.1/Fox/src/GridResult.cpp:11:4: performance: Variable 'ClientName' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] objcryst-2022.1/Fox/src/IOSocket.cpp:23:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wxSOCKET_WAITALL [valueFlowBailoutIncompleteVar] objcryst-2022.1/Fox/src/IOSocket.cpp:58:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wxSOCKET_WAITALL [valueFlowBailoutIncompleteVar] objcryst-2022.1/Fox/src/IOSocket.cpp:31:30: style: This function is kept mostly for backwards compatibility. Use 'LastReadCount()' or 'LastWriteCount()' instead. 'LastCount()' is still needed for use with less commonly used functions: 'Discard()', 'Peek()', and 'Unread()'. [prohibitedLastCountCalled] objcryst-2022.1/Fox/src/IOSocket.cpp:50:26: style: This function is kept mostly for backwards compatibility. Use 'LastReadCount()' or 'LastWriteCount()' instead. 'LastCount()' is still needed for use with less commonly used functions: 'Discard()', 'Peek()', and 'Unread()'. [prohibitedLastCountCalled] objcryst-2022.1/Fox/src/IOSocket.cpp:91:140: style: This function is kept mostly for backwards compatibility. Use 'LastReadCount()' or 'LastWriteCount()' instead. 'LastCount()' is still needed for use with less commonly used functions: 'Discard()', 'Peek()', and 'Unread()'. [prohibitedLastCountCalled] objcryst-2022.1/Fox/src/IOSocket.cpp:78:24: style: Unused private function: 'IOSocket::getMessageLen' [unusedPrivateFunction] objcryst-2022.1/Fox/src/IOSocket.h:62:18: note: Unused private function: 'IOSocket::getMessageLen' objcryst-2022.1/Fox/src/IOSocket.cpp:78:24: note: Unused private function: 'IOSocket::getMessageLen' objcryst-2022.1/Fox/src/IOSocket.cpp:56:16: performance:inconclusive: Technically the member function 'IOSocket::WriteStringToSocket' can be static (but you may consider moving to unnamed namespace). [functionStatic] objcryst-2022.1/Fox/src/IOSocket.h:54:10: note: Technically the member function 'IOSocket::WriteStringToSocket' can be static (but you may consider moving to unnamed namespace). objcryst-2022.1/Fox/src/IOSocket.cpp:56:16: note: Technically the member function 'IOSocket::WriteStringToSocket' can be static (but you may consider moving to unnamed namespace). objcryst-2022.1/Fox/src/IOSocket.cpp:114:20: style:inconclusive: Technically the member function 'IOSocket::getError' can be const. [functionConst] objcryst-2022.1/Fox/src/IOSocket.h:59:14: note: Technically the member function 'IOSocket::getError' can be const. objcryst-2022.1/Fox/src/IOSocket.cpp:114:20: note: Technically the member function 'IOSocket::getError' can be const. objcryst-2022.1/Fox/src/IOSocket.cpp:50:15: style: Redundant initialization for 'processed'. The initialized value is overwritten before it is read. [redundantInitialization] objcryst-2022.1/Fox/src/IOSocket.cpp:31:19: note: processed is initialized objcryst-2022.1/Fox/src/IOSocket.cpp:50:15: note: processed is overwritten objcryst-2022.1/Fox/src/IOSocket.cpp:56:68: performance: Function parameter 'msg' should be passed by const reference. [passedByValue] objcryst-2022.1/Fox/src/IOSocket.cpp:50:15: style: Variable 'processed' is assigned a value that is never used. [unreadVariable] objcryst-2022.1/Fox/src/FoxClient.cpp:194:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable write_append [valueFlowBailoutIncompleteVar] objcryst-2022.1/Fox/src/FoxClient.cpp:342:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wxSOCKET_CONNECTION_FLAG [valueFlowBailoutIncompleteVar] objcryst-2022.1/Fox/src/FoxClient.cpp:377:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wxSOCKET_LOST_FLAG [valueFlowBailoutIncompleteVar] objcryst-2022.1/Fox/src/FoxClient.cpp:631:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable write [valueFlowBailoutIncompleteVar] objcryst-2022.1/Fox/src/FoxClient.cpp:698:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable write [valueFlowBailoutIncompleteVar] objcryst-2022.1/Fox/src/FoxClient.cpp:721:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable read [valueFlowBailoutIncompleteVar] objcryst-2022.1/Fox/src/WXFoxClient.cpp:69:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wxDefaultValidator [valueFlowBailoutIncompleteVar] objcryst-2022.1/Fox/src/WXFoxClient.cpp:31:4: performance: Variable 'm_working_dir' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] objcryst-2022.1/Fox/src/FoxClient.h:48:5: style: Class 'ProcessMyEvent' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] objcryst-2022.1/Fox/src/FoxClient.h:80:5: style: Class 'FoxProcess' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] objcryst-2022.1/Fox/src/FoxClient.h:122:6: style: Class 'FoxClient' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] objcryst-2022.1/Fox/src/WXFoxClient.cpp:174:35: style: C-style pointer casting [cstyleCast] objcryst-2022.1/Fox/src/WXFoxClient.cpp:27:53: performance: Function parameter 'working_dir' should be passed by const reference. [passedByValue] objcryst-2022.1/Fox/src/WXFoxClient.cpp:306:42: performance: Function parameter 'IP' should be passed by const reference. [passedByValue] objcryst-2022.1/Fox/src/WXFoxClient.cpp:156:51: style: Parameter 'event' can be declared as reference to const [constParameterReference] objcryst-2022.1/Fox/src/WXFoxClient.cpp:199:54: style: Parameter 'event' can be declared as reference to const [constParameterReference] objcryst-2022.1/Fox/src/WXFoxClient.cpp:300:48: style: Parameter 'event' can be declared as reference to const [constParameterReference] objcryst-2022.1/Fox/src/FoxServer.h:57:5: warning: Member variable 'WorkerEvent::m_thread_info' is not initialized in the constructor. [uninitMemberVar] objcryst-2022.1/Fox/src/WXFoxClient.cpp:59:16: style: Variable 'IPSizer' can be declared as pointer to const [constVariablePointer] objcryst-2022.1/Fox/src/FoxServer.h:57:5: style: Class 'WorkerEvent' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] objcryst-2022.1/Fox/src/WXGridWindow.h:30:4: style: Class 'WXGrigWindow' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] objcryst-2022.1/ObjCryst/CrystVector/CrystVector.cpp:994:4: error: There is an unknown macro here somewhere. Configuration is required. If VFN_DEBUG_EXIT is a macro then please configure it. [unknownMacro] objcryst-2022.1/Fox/src/WXFoxClient.cpp:59:24: style: Variable 'IPSizer' is assigned a value that is never used. [unreadVariable] objcryst-2022.1/Fox/src/WXFoxClient.cpp:59:16: style: Variable 'IPSizer' is assigned a value that is never used. [unreadVariable] objcryst-2022.1/ObjCryst/ObjCryst/Atom.cpp:97:4: error: There is an unknown macro here somewhere. Configuration is required. If VFN_DEBUG_MESSAGE is a macro then please configure it. [unknownMacro] objcryst-2022.1/Fox/src/Fox.cpp:565:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TAU_DEFAULT [valueFlowBailoutIncompleteVar] objcryst-2022.1/Fox/src/Fox.cpp:3288:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] objcryst-2022.1/Fox/src/FoxClient.cpp:727:11: warning: Return value of function infile.Read() is not used. [ignoredReturnValue] objcryst-2022.1/Fox/src/FoxClient.cpp:292:21: style: This is a wxWidgets 1.xx compatibility function. Use 'wxString::Mid' in new applications instead. [prohibitedSubStringCalled] objcryst-2022.1/Fox/src/FoxClient.cpp:555:8: style: This is a wxWidgets 1.xx compatibility function. Use 'wxString::Truncate' in new applications instead. [prohibitedRemoveCalled] objcryst-2022.1/Fox/src/FoxClient.cpp:34:4: performance: Variable 'm_dir' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] objcryst-2022.1/Fox/src/FoxClient.cpp:51:5: performance: Variable 'tmpDIR' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] objcryst-2022.1/Fox/src/FoxClient.cpp:55:5: performance: Variable 'startingtime' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] objcryst-2022.1/Fox/src/FoxClient.cpp:127:4: performance: Variable 'm_working_dir' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] objcryst-2022.1/Fox/src/FoxClient.cpp:64:17: style:inconclusive: Technically the member function 'FoxProcess::getPid' can be const. [functionConst] objcryst-2022.1/Fox/src/FoxClient.h:84:10: note: Technically the member function 'FoxProcess::getPid' can be const. objcryst-2022.1/Fox/src/FoxClient.cpp:64:17: note: Technically the member function 'FoxProcess::getPid' can be const. objcryst-2022.1/Fox/src/FoxClient.cpp:72:22: style:inconclusive: Technically the member function 'FoxProcess::getTmpDir' can be const. [functionConst] objcryst-2022.1/Fox/src/FoxClient.h:86:14: note: Technically the member function 'FoxProcess::getTmpDir' can be const. objcryst-2022.1/Fox/src/FoxClient.cpp:72:22: note: Technically the member function 'FoxProcess::getTmpDir' can be const. objcryst-2022.1/Fox/src/FoxClient.cpp:80:18: style:inconclusive: Technically the member function 'FoxProcess::isRunning' can be const. [functionConst] objcryst-2022.1/Fox/src/FoxClient.h:88:10: note: Technically the member function 'FoxProcess::isRunning' can be const. objcryst-2022.1/Fox/src/FoxClient.cpp:80:18: note: Technically the member function 'FoxProcess::isRunning' can be const. objcryst-2022.1/Fox/src/FoxClient.cpp:88:17: style:inconclusive: Technically the member function 'FoxProcess::getJobID' can be const. [functionConst] objcryst-2022.1/Fox/src/FoxClient.h:90:10: note: Technically the member function 'FoxProcess::getJobID' can be const. objcryst-2022.1/Fox/src/FoxClient.cpp:88:17: note: Technically the member function 'FoxProcess::getJobID' can be const. objcryst-2022.1/Fox/src/FoxClient.cpp:96:24: style:inconclusive: Technically the member function 'FoxProcess::getStartingTime' can be const. [functionConst] objcryst-2022.1/Fox/src/FoxClient.h:92:16: note: Technically the member function 'FoxProcess::getStartingTime' can be const. objcryst-2022.1/Fox/src/FoxClient.cpp:96:24: note: Technically the member function 'FoxProcess::getStartingTime' can be const. objcryst-2022.1/Fox/src/FoxClient.cpp:100:17: style:inconclusive: Technically the member function 'FoxProcess::getProgressInPercents' can be const. [functionConst] objcryst-2022.1/Fox/src/FoxClient.h:93:9: note: Technically the member function 'FoxProcess::getProgressInPercents' can be const. objcryst-2022.1/Fox/src/FoxClient.cpp:100:17: note: Technically the member function 'FoxProcess::getProgressInPercents' can be const. objcryst-2022.1/Fox/src/FoxClient.cpp:294:17: performance:inconclusive: Either there is a missing 'override', or the member function 'FoxClient::WriteProtocol' can be static. [functionStatic] objcryst-2022.1/Fox/src/FoxClient.h:129:11: note: Either there is a missing 'override', or the member function 'FoxClient::WriteProtocol' can be static. objcryst-2022.1/Fox/src/FoxClient.cpp:294:17: note: Either there is a missing 'override', or the member function 'FoxClient::WriteProtocol' can be static. objcryst-2022.1/Fox/src/FoxClient.cpp:705:21: style:inconclusive: Either there is a missing 'override', or the member function 'FoxClient::getWorkingDir' can be const. [functionConst] objcryst-2022.1/Fox/src/FoxClient.h:134:15: note: Either there is a missing 'override', or the member function 'FoxClient::getWorkingDir' can be const. objcryst-2022.1/Fox/src/FoxClient.cpp:705:21: note: Either there is a missing 'override', or the member function 'FoxClient::getWorkingDir' can be const. objcryst-2022.1/Fox/src/FoxClient.cpp:157:16: style:inconclusive: Either there is a missing 'override', or the member function 'FoxClient::getNbOfAvailCPUs' can be const. [functionConst] objcryst-2022.1/Fox/src/FoxClient.h:141:11: note: Either there is a missing 'override', or the member function 'FoxClient::getNbOfAvailCPUs' can be const. objcryst-2022.1/Fox/src/FoxClient.cpp:157:16: note: Either there is a missing 'override', or the member function 'FoxClient::getNbOfAvailCPUs' can be const. objcryst-2022.1/Fox/src/FoxClient.cpp:289:21: style:inconclusive: Either there is a missing 'override', or the member function 'FoxClient::getCost' can be const. [functionConst] objcryst-2022.1/Fox/src/FoxClient.h:185:13: note: Either there is a missing 'override', or the member function 'FoxClient::getCost' can be const. objcryst-2022.1/Fox/src/FoxClient.cpp:289:21: note: Either there is a missing 'override', or the member function 'FoxClient::getCost' can be const. objcryst-2022.1/Fox/src/FoxClient.h:86:14: performance: Function 'getTmpDir()' should return member 'tmpDIR' by const reference. [returnByReference] objcryst-2022.1/Fox/src/FoxClient.h:134:15: performance: Function 'getWorkingDir()' should return member 'm_working_dir' by const reference. [returnByReference] objcryst-2022.1/Fox/src/FoxClient.cpp:796:8: style: Condition '!AnalyzeMessage(msg)' is always false [knownConditionTrueFalse] objcryst-2022.1/Fox/src/FoxClient.cpp:796:23: note: Calling function 'AnalyzeMessage' returns 1 objcryst-2022.1/Fox/src/FoxClient.cpp:796:8: note: Condition '!AnalyzeMessage(msg)' is always false objcryst-2022.1/Fox/src/FoxClient.cpp:727:16: warning: If memory allocation fails, then there is a possible null pointer dereference: buffer [nullPointerOutOfMemory] objcryst-2022.1/Fox/src/FoxClient.cpp:726:27: note: Assuming allocation function fails objcryst-2022.1/Fox/src/FoxClient.cpp:726:13: note: Assignment 'buffer=(char*)std::calloc(len+1,sizeof(char))', assigned value is 0 objcryst-2022.1/Fox/src/FoxClient.cpp:727:16: note: Null pointer dereference objcryst-2022.1/Fox/src/FoxClient.cpp:441:34: style: C-style pointer casting [cstyleCast] objcryst-2022.1/Fox/src/FoxClient.cpp:446:39: style: C-style pointer casting [cstyleCast] objcryst-2022.1/Fox/src/FoxClient.cpp:451:39: style: C-style pointer casting [cstyleCast] objcryst-2022.1/Fox/src/FoxClient.cpp:456:37: style: C-style pointer casting [cstyleCast] objcryst-2022.1/Fox/src/FoxClient.cpp:726:13: style: C-style pointer casting [cstyleCast] objcryst-2022.1/Fox/src/FoxClient.cpp:49:33: style:inconclusive: Function 'FoxProcess' argument 1 names different: declaration 'relDir' definition 'tmpDir'. [funcArgNamesDifferent] objcryst-2022.1/Fox/src/FoxClient.h:80:25: note: Function 'FoxProcess' argument 1 names different: declaration 'relDir' definition 'tmpDir'. objcryst-2022.1/Fox/src/FoxClient.cpp:49:33: note: Function 'FoxProcess' argument 1 names different: declaration 'relDir' definition 'tmpDir'. objcryst-2022.1/Fox/src/FoxClient.cpp:450:30: style: Local variable 'nbRuns' shadows outer variable [shadowVariable] objcryst-2022.1/Fox/src/FoxClient.cpp:413:26: note: Shadowed declaration objcryst-2022.1/Fox/src/FoxClient.cpp:450:30: note: Shadow variable objcryst-2022.1/Fox/src/FoxClient.cpp:455:30: style: Local variable 'Rand' shadows outer variable [shadowVariable] objcryst-2022.1/Fox/src/FoxClient.cpp:413:34: note: Shadowed declaration objcryst-2022.1/Fox/src/FoxClient.cpp:455:30: note: Shadow variable objcryst-2022.1/Fox/src/FoxClient.cpp:30:71: performance: Function parameter 'dir' should be passed by const reference. [passedByValue] objcryst-2022.1/Fox/src/FoxClient.cpp:49:33: performance: Function parameter 'tmpDir' should be passed by const reference. [passedByValue] objcryst-2022.1/Fox/src/FoxClient.cpp:68:37: performance: Function parameter 'dir' should be passed by const reference. [passedByValue] objcryst-2022.1/Fox/src/FoxClient.cpp:109:35: performance: Function parameter 'cost' should be passed by const reference. [passedByValue] objcryst-2022.1/Fox/src/FoxClient.cpp:109:50: performance: Function parameter 'content' should be passed by const reference. [passedByValue] objcryst-2022.1/Fox/src/FoxClient.cpp:124:31: performance: Function parameter 'working_dir' should be passed by const reference. [passedByValue] objcryst-2022.1/Fox/src/FoxClient.cpp:205:66: performance: Function parameter 'dir' should be passed by const reference. [passedByValue] objcryst-2022.1/Fox/src/FoxClient.cpp:289:38: performance: Function parameter 'filename' should be passed by const reference. [passedByValue] objcryst-2022.1/Fox/src/FoxClient.cpp:327:55: performance: Function parameter 'hostname' should be passed by const reference. [passedByValue] objcryst-2022.1/Fox/src/FoxClient.cpp:411:41: performance: Function parameter 'msg' should be passed by const reference. [passedByValue] objcryst-2022.1/Fox/src/FoxClient.cpp:550:37: performance: Function parameter 'inmsg' should be passed by const reference. [passedByValue] objcryst-2022.1/Fox/src/FoxClient.cpp:602:35: performance: Function parameter 'job' should be passed by const reference. [passedByValue] objcryst-2022.1/Fox/src/FoxClient.cpp:709:40: performance: Function parameter 'str1' should be passed by const reference. [passedByValue] objcryst-2022.1/Fox/src/FoxClient.cpp:709:55: performance: Function parameter 'str2' should be passed by const reference. [passedByValue] objcryst-2022.1/Fox/src/FoxClient.cpp:733:37: performance: Function parameter 'fileName' should be passed by const reference. [passedByValue] objcryst-2022.1/Fox/src/FoxClient.cpp:733:56: performance: Function parameter 'Cost' should be passed by const reference. [passedByValue] objcryst-2022.1/Fox/src/FoxClient.cpp:201:48: style: Parameter 'pEvent' can be declared as reference to const. However it seems that 'OnProcessEvent' is a callback function, if 'pEvent' is declared with const you might also need to cast function pointer(s). [constParameterCallback] objcryst-2022.1/Fox/src/FoxClient.cpp:25:5: note: You might need to cast the function pointer here objcryst-2022.1/Fox/src/FoxClient.cpp:201:48: note: Parameter 'pEvent' can be declared as reference to const objcryst-2022.1/Fox/src/FoxClient.cpp:761:44: style: Parameter 'event' can be declared as reference to const [constParameterReference] objcryst-2022.1/Fox/src/FoxClient.cpp:220:43: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] objcryst-2022.1/Fox/src/FoxClient.cpp:586:42: style: Consider using std::count_if algorithm instead of a raw loop. [useStlAlgorithm] objcryst-2022.1/Fox/src/FoxClient.cpp:596:41: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] objcryst-2022.1/Fox/src/WXFoxServer.cpp:92:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wxGridSelectRows [valueFlowBailoutIncompleteVar] objcryst-2022.1/Fox/src/WXFoxServer.cpp:258:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable read [valueFlowBailoutIncompleteVar] objcryst-2022.1/Fox/src/WXFoxServer.cpp:272:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable write [valueFlowBailoutIncompleteVar] objcryst-2022.1/Fox/src/WXFoxServer.cpp:298:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] objcryst-2022.1/Fox/src/WXFoxServer.cpp:416:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] objcryst-2022.1/Fox/src/WXFoxServer.cpp:526:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] objcryst-2022.1/Fox/src/WXFoxServer.cpp:860:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fpObjCrystInformUser [valueFlowBailoutIncompleteVar] objcryst-2022.1/Fox/src/WXFoxServer.cpp:937:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fpObjCrystInformUser [valueFlowBailoutIncompleteVar] objcryst-2022.1/Fox/src/FoxClient.cpp:207:10: style: Variable 'nb' is assigned a value that is never used. [unreadVariable] objcryst-2022.1/Fox/src/FoxClient.cpp:207:8: style: Variable 'nb' is assigned a value that is never used. [unreadVariable] objcryst-2022.1/Fox/src/FoxClient.cpp:413:26: style: Unused variable: nbRuns [unusedVariable] objcryst-2022.1/Fox/src/FoxClient.cpp:413:34: style: Unused variable: Rand [unusedVariable] objcryst-2022.1/Fox/src/FoxClient.cpp:417:21: style: Unused variable: asks [unusedVariable] objcryst-2022.1/ObjCryst/ObjCryst/DiffractionDataSingleCrystal.cpp:112:4: error: There is an unknown macro here somewhere. Configuration is required. If VFN_DEBUG_MESSAGE is a macro then please configure it. [unknownMacro] objcryst-2022.1/ObjCryst/ObjCryst/Crystal.cpp:477:4: error: There is an unknown macro here somewhere. Configuration is required. If VFN_DEBUG_MESSAGE is a macro then please configure it. [unknownMacro] objcryst-2022.1/ObjCryst/ObjCryst/Exception.cpp:36:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable verbose [valueFlowBailoutIncompleteVar] objcryst-2022.1/ObjCryst/ObjCryst/Exception.cpp:45:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable message [valueFlowBailoutIncompleteVar] objcryst-2022.1/ObjCryst/ObjCryst/Exception.cpp:80:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] objcryst-2022.1/ObjCryst/ObjCryst/Exception.cpp:60:60: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] objcryst-2022.1/ObjCryst/ObjCryst/IO.cpp:193:10: error: There is an unknown macro here somewhere. Configuration is required. If VFN_DEBUG_EXIT is a macro then please configure it. [unknownMacro] objcryst-2022.1/ObjCryst/ObjCryst/Indexing.cpp:1439:4: error: There is an unknown macro here somewhere. Configuration is required. If VFN_DEBUG_EXIT is a macro then please configure it. [unknownMacro] objcryst-2022.1/ObjCryst/ObjCryst/PDF.cpp:54:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mPDFR [valueFlowBailoutIncompleteVar] objcryst-2022.1/ObjCryst/ObjCryst/PDF.cpp:60:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mRadiationType [valueFlowBailoutIncompleteVar] objcryst-2022.1/ObjCryst/ObjCryst/PDF.cpp:62:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mRadiationType [valueFlowBailoutIncompleteVar] objcryst-2022.1/ObjCryst/ObjCryst/PDF.cpp:75:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mPDFCalc [valueFlowBailoutIncompleteVar] objcryst-2022.1/ObjCryst/ObjCryst/PDF.cpp:88:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mPDFObs [valueFlowBailoutIncompleteVar] objcryst-2022.1/ObjCryst/ObjCryst/PDF.cpp:93:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mPDFR [valueFlowBailoutIncompleteVar] objcryst-2022.1/ObjCryst/ObjCryst/PDF.cpp:119:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mPDFCalc [valueFlowBailoutIncompleteVar] objcryst-2022.1/ObjCryst/ObjCryst/PDF.cpp:135:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mpCrystal [valueFlowBailoutIncompleteVar] objcryst-2022.1/ObjCryst/ObjCryst/PDF.cpp:172:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mpCrystal [valueFlowBailoutIncompleteVar] objcryst-2022.1/ObjCryst/ObjCryst/Molecule.cpp:531:7: error: There is an unknown macro here somewhere. Configuration is required. If VFN_DEBUG_EXIT is a macro then please configure it. [unknownMacro] objcryst-2022.1/ObjCryst/ObjCryst/PDF.cpp:333:34: style: Local variable 'i' shadows outer variable [shadowVariable] objcryst-2022.1/ObjCryst/ObjCryst/PDF.cpp:318:28: note: Shadowed declaration objcryst-2022.1/ObjCryst/ObjCryst/PDF.cpp:333:34: note: Shadow variable objcryst-2022.1/ObjCryst/ObjCryst/Polyhedron.cpp:21:76: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEG2RAD [valueFlowBailoutIncompleteVar] objcryst-2022.1/Fox/src/WXFoxServer.cpp:264:11: warning: Return value of function infile.Read() is not used. [ignoredReturnValue] objcryst-2022.1/Fox/src/WXFoxServer.cpp:424:41: warning: Return value of function wxCopyFile() is not used. [ignoredReturnValue] objcryst-2022.1/Fox/src/WXFoxServer.cpp:447:9: warning: Return value of function wxCopyFile() is not used. [ignoredReturnValue] objcryst-2022.1/Fox/src/WXFoxServer.cpp:55:4: performance: Variable 'm_working_dir' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] objcryst-2022.1/Fox/src/WXFoxServer.cpp:682:15: warning: Printf format string requires 0 parameters but 1 is given. [wrongPrintfScanfArgNum] objcryst-2022.1/Fox/src/WXFoxServer.cpp:684:15: warning: Printf format string requires 0 parameters but 1 is given. [wrongPrintfScanfArgNum] objcryst-2022.1/Fox/src/WXFoxServer.cpp:264:16: warning: If memory allocation fails, then there is a possible null pointer dereference: buffer [nullPointerOutOfMemory] objcryst-2022.1/Fox/src/WXFoxServer.cpp:263:27: note: Assuming allocation function fails objcryst-2022.1/Fox/src/WXFoxServer.cpp:263:13: note: Assignment 'buffer=(char*)std::calloc(len+1,sizeof(char))', assigned value is 0 objcryst-2022.1/Fox/src/WXFoxServer.cpp:264:16: note: Null pointer dereference objcryst-2022.1/Fox/src/WXFoxServer.cpp:263:13: style: C-style pointer casting [cstyleCast] objcryst-2022.1/Fox/src/WXFoxServer.cpp:346:22: style: C-style pointer casting [cstyleCast] objcryst-2022.1/Fox/src/WXFoxServer.cpp:350:23: style: C-style pointer casting [cstyleCast] objcryst-2022.1/Fox/src/WXFoxServer.cpp:355:24: style: C-style pointer casting [cstyleCast] objcryst-2022.1/Fox/src/WXFoxServer.cpp:536:21: style: C-style pointer casting [cstyleCast] objcryst-2022.1/Fox/src/WXFoxServer.cpp:537:19: style: C-style pointer casting [cstyleCast] objcryst-2022.1/Fox/src/WXFoxServer.cpp:342:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] objcryst-2022.1/Fox/src/WXFoxServer.cpp:232:14: style: The scope of the variable 'data' can be reduced. [variableScope] objcryst-2022.1/Fox/src/WXFoxServer.cpp:243:14: style: The scope of the variable 'data' can be reduced. [variableScope] objcryst-2022.1/Fox/src/WXFoxServer.cpp:50:53: performance: Function parameter 'workingDir' should be passed by const reference. [passedByValue] objcryst-2022.1/Fox/src/WXFoxServer.cpp:231:42: performance: Function parameter 'filename' should be passed by const reference. [passedByValue] objcryst-2022.1/Fox/src/WXFoxServer.cpp:231:69: performance: Function parameter 'name' should be passed by const reference. [passedByValue] objcryst-2022.1/Fox/src/WXFoxServer.cpp:241:44: performance: Function parameter 'filename' should be passed by const reference. [passedByValue] objcryst-2022.1/Fox/src/WXFoxServer.cpp:241:71: performance: Function parameter 'name' should be passed by const reference. [passedByValue] objcryst-2022.1/Fox/src/WXFoxServer.cpp:324:41: performance: Function parameter 'path' should be passed by const reference. [passedByValue] objcryst-2022.1/Fox/src/WXFoxServer.cpp:370:41: performance: Function parameter 'filename' should be passed by const reference. [passedByValue] objcryst-2022.1/Fox/src/WXFoxServer.cpp:370:60: performance: Function parameter 'name' should be passed by const reference. [passedByValue] objcryst-2022.1/Fox/src/WXFoxServer.cpp:279:44: style: Parameter 'event' can be declared as reference to const [constParameterReference] objcryst-2022.1/Fox/src/WXFoxServer.cpp:397:45: style: Parameter 'event' can be declared as reference to const [constParameterReference] objcryst-2022.1/Fox/src/WXFoxServer.cpp:577:45: style: Parameter 'event' can be declared as reference to const [constParameterReference] objcryst-2022.1/Fox/src/WXFoxServer.cpp:592:47: style: Parameter 'event' can be declared as reference to const [constParameterReference] objcryst-2022.1/Fox/src/WXFoxServer.cpp:623:50: style: Parameter 'event' can be declared as reference to const [constParameterReference] objcryst-2022.1/Fox/src/WXFoxServer.cpp:766:45: style: Parameter 'event' can be declared as reference to const [constParameterReference] objcryst-2022.1/Fox/src/WXFoxServer.cpp:815:47: style: Parameter 'event' can be declared as reference to const [constParameterReference] objcryst-2022.1/Fox/src/WXFoxServer.cpp:826:50: style: Parameter 'event' can be declared as reference to const [constParameterReference] objcryst-2022.1/Fox/src/WXFoxServer.cpp:841:55: style: Parameter 'event' can be declared as reference to const [constParameterReference] objcryst-2022.1/Fox/src/WXFoxServer.cpp:917:49: style: Parameter 'event' can be declared as reference to const [constParameterReference] objcryst-2022.1/Fox/src/WXFoxServer.cpp:365:0: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] objcryst-2022.1/ObjCryst/ObjCryst/PowderPatternBackgroundBayesianMinimiser.cpp:31:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mpBackground [valueFlowBailoutIncompleteVar] objcryst-2022.1/ObjCryst/ObjCryst/PowderPatternBackgroundBayesianMinimiser.cpp:36:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mpBackground [valueFlowBailoutIncompleteVar] objcryst-2022.1/ObjCryst/ObjCryst/PowderPatternBackgroundBayesianMinimiser.cpp:47:89: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TAU_DEFAULT [valueFlowBailoutIncompleteVar] objcryst-2022.1/ObjCryst/ObjCryst/PowderPatternBackgroundBayesianMinimiser.cpp:95:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mBayesianCalc [valueFlowBailoutIncompleteVar] objcryst-2022.1/ObjCryst/ObjCryst/PowderPatternBackgroundBayesianMinimiser.cpp:104:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mBayesianObs [valueFlowBailoutIncompleteVar] objcryst-2022.1/ObjCryst/ObjCryst/PowderPatternBackgroundBayesianMinimiser.cpp:115:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mBayesianWeight [valueFlowBailoutIncompleteVar] objcryst-2022.1/Fox/src/WXFoxServer.cpp:215:13: style: Unused variable: filename [unusedVariable] objcryst-2022.1/Fox/src/WXFoxServer.cpp:651:19: style: Variable 'result' is assigned a value that is never used. [unreadVariable] objcryst-2022.1/Fox/src/WXFoxServer.cpp:651:13: style: Variable 'result' is assigned a value that is never used. [unreadVariable] objcryst-2022.1/Fox/src/WXFoxServer.cpp:818:10: style: Variable 'c' is assigned a value that is never used. [unreadVariable] objcryst-2022.1/Fox/src/WXFoxServer.cpp:818:8: style: Variable 'c' is assigned a value that is never used. [unreadVariable] objcryst-2022.1/Fox/src/WXFoxServer.cpp:829:10: style: Variable 'c' is assigned a value that is never used. [unreadVariable] objcryst-2022.1/Fox/src/WXFoxServer.cpp:829:8: style: Variable 'c' is assigned a value that is never used. [unreadVariable] objcryst-2022.1/ObjCryst/ObjCryst/CIF.cpp:31:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fpObjCrystInformUser [valueFlowBailoutIncompleteVar] objcryst-2022.1/ObjCryst/ObjCryst/CIF.cpp:50:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fpObjCrystInformUser [valueFlowBailoutIncompleteVar] objcryst-2022.1/ObjCryst/ObjCryst/CIF.cpp:83:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mSpacegroupNumberIT [valueFlowBailoutIncompleteVar] objcryst-2022.1/ObjCryst/ObjCryst/CIF.cpp:152:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mName [valueFlowBailoutIncompleteVar] objcryst-2022.1/ObjCryst/ObjCryst/CIF.cpp:254:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mvAtom [valueFlowBailoutIncompleteVar] objcryst-2022.1/ObjCryst/ObjCryst/CIF.cpp:391:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] objcryst-2022.1/ObjCryst/ObjCryst/CIF.cpp:478:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mWavelength [valueFlowBailoutIncompleteVar] objcryst-2022.1/ObjCryst/ObjCryst/CIF.cpp:581:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mWavelength [valueFlowBailoutIncompleteVar] objcryst-2022.1/ObjCryst/ObjCryst/CIF.cpp:641:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mvLatticePar [valueFlowBailoutIncompleteVar] objcryst-2022.1/ObjCryst/ObjCryst/CIF.cpp:722:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mOrthMatrix [valueFlowBailoutIncompleteVar] objcryst-2022.1/ObjCryst/ObjCryst/CIF.cpp:730:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mOrthMatrixInvert [valueFlowBailoutIncompleteVar] objcryst-2022.1/ObjCryst/ObjCryst/CIF.cpp:765:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fpObjCrystInformUser [valueFlowBailoutIncompleteVar] objcryst-2022.1/ObjCryst/ObjCryst/CIF.cpp:793:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] objcryst-2022.1/ObjCryst/ObjCryst/CIF.cpp:815:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] objcryst-2022.1/ObjCryst/ObjCryst/CIF.cpp:860:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] objcryst-2022.1/ObjCryst/ObjCryst/CIF.cpp:1008:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fpObjCrystInformUser [valueFlowBailoutIncompleteVar] objcryst-2022.1/ObjCryst/ObjCryst/CIF.cpp:1308:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fpObjCrystInformUser [valueFlowBailoutIncompleteVar] objcryst-2022.1/ObjCryst/ObjCryst/CIF.cpp:1322:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fpObjCrystInformUser [valueFlowBailoutIncompleteVar] objcryst-2022.1/Fox/src/WXFoxServer.cpp:951:15: style: Variable 'result' is assigned a value that is never used. [unreadVariable] objcryst-2022.1/Fox/src/WXFoxServer.cpp:942:13: style: Unused variable: cmd [unusedVariable] objcryst-2022.1/Fox/src/WXFoxServer.cpp:951:9: style: Variable 'result' is assigned a value that is never used. [unreadVariable] objcryst-2022.1/ObjCryst/ObjCryst/ReflectionProfile.cpp:167:4: error: There is an unknown macro here somewhere. Configuration is required. If VFN_DEBUG_EXIT is a macro then please configure it. [unknownMacro] objcryst-2022.1/ObjCryst/ObjCryst/PowderPattern.cpp:2811:4: error: There is an unknown macro here somewhere. Configuration is required. If VFN_DEBUG_EXIT is a macro then please configure it. [unknownMacro] objcryst-2022.1/ObjCryst/ObjCryst/Scatterer.cpp:93:4: error: There is an unknown macro here somewhere. Configuration is required. If VFN_DEBUG_MESSAGE is a macro then please configure it. [unknownMacro] objcryst-2022.1/ObjCryst/ObjCryst/ScatteringCorr.cpp:245:10: error: There is an unknown macro here somewhere. Configuration is required. If VFN_DEBUG_EXIT is a macro then please configure it. [unknownMacro] objcryst-2022.1/ObjCryst/ObjCryst/ScatteringData.cpp:668:4: error: There is an unknown macro here somewhere. Configuration is required. If VFN_DEBUG_EXIT is a macro then please configure it. [unknownMacro] objcryst-2022.1/ObjCryst/ObjCryst/ScatteringPower.cpp:535:4: error: There is an unknown macro here somewhere. Configuration is required. If VFN_DEBUG_MESSAGE is a macro then please configure it. [unknownMacro] objcryst-2022.1/ObjCryst/ObjCryst/ScatteringPowerSphere.cpp:251:10: error: There is an unknown macro here somewhere. Configuration is required. If VFN_DEBUG_EXIT is a macro then please configure it. [unknownMacro] objcryst-2022.1/ObjCryst/ObjCryst/Undo.cpp:200:7: error: There is an unknown macro here somewhere. Configuration is required. If VFN_DEBUG_MESSAGE is a macro then please configure it. [unknownMacro] objcryst-2022.1/ObjCryst/ObjCryst/SpaceGroup.cpp:365:4: error: There is an unknown macro here somewhere. Configuration is required. If VFN_DEBUG_MESSAGE is a macro then please configure it. [unknownMacro] objcryst-2022.1/ObjCryst/ObjCryst/UnitCell.cpp:518:4: error: There is an unknown macro here somewhere. Configuration is required. If VFN_DEBUG_EXIT is a macro then please configure it. [unknownMacro] objcryst-2022.1/ObjCryst/ObjCryst/geomStructFactor.cpp:40:51: style: Parameter 'rsf' can be declared as reference to const [constParameterReference] objcryst-2022.1/ObjCryst/ObjCryst/geomStructFactor.cpp:50:51: style: Parameter 'isf' can be declared as reference to const [constParameterReference] objcryst-2022.1/ObjCryst/ObjCryst/ZScatterer.cpp:308:4: error: There is an unknown macro here somewhere. Configuration is required. If VFN_DEBUG_MESSAGE is a macro then please configure it. [unknownMacro] objcryst-2022.1/ObjCryst/ObjCryst/geomStructFactor_centro.cpp:52:51: style: Parameter 'isf' can be declared as reference to const [constParameterReference] objcryst-2022.1/ObjCryst/ObjCryst/test.cpp:113:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROFILE_PSEUDO_VOIGT [valueFlowBailoutIncompleteVar] objcryst-2022.1/ObjCryst/Quirks/VFNStreamFormat.cpp:230:4: error: There is an unknown macro here somewhere. Configuration is required. If VFN_DEBUG_MESSAGE is a macro then please configure it. [unknownMacro] objcryst-2022.1/ObjCryst/Quirks/ci_string.cpp:9:18: style: The scope of the variable 'c1' can be reduced. [variableScope] objcryst-2022.1/ObjCryst/Quirks/ci_string.cpp:9:22: style: The scope of the variable 'c2' can be reduced. [variableScope] objcryst-2022.1/ObjCryst/RefinableObj/IO.cpp:60:4: error: There is an unknown macro here somewhere. Configuration is required. If VFN_DEBUG_ENTRY is a macro then please configure it. [unknownMacro] objcryst-2022.1/ObjCryst/RefinableObj/GlobalOptimObj.cpp:374:4: error: There is an unknown macro here somewhere. Configuration is required. If VFN_DEBUG_MESSAGE is a macro then please configure it. [unknownMacro] objcryst-2022.1/ObjCryst/RefinableObj/RefinableObj.cpp:899:7: error: There is an unknown macro here somewhere. Configuration is required. If VFN_DEBUG_EXIT is a macro then please configure it. [unknownMacro] objcryst-2022.1/ObjCryst/RefinableObj/Simplex.cpp:85:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] objcryst-2022.1/ObjCryst/RefinableObj/Simplex.cpp:133:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] objcryst-2022.1/Fox/src/Fox.cpp:1252:14: style: The if condition is the same as the previous if condition [duplicateCondition] objcryst-2022.1/Fox/src/Fox.cpp:1249:14: note: First condition objcryst-2022.1/Fox/src/Fox.cpp:1252:14: note: Second condition objcryst-2022.1/Fox/src/Fox.cpp:1296:14: style: The if condition is the same as the previous if condition [duplicateCondition] objcryst-2022.1/Fox/src/Fox.cpp:1293:14: note: First condition objcryst-2022.1/Fox/src/Fox.cpp:1296:14: note: Second condition objcryst-2022.1/Fox/src/Fox.cpp:1306:14: style: The if condition is the same as the previous if condition [duplicateCondition] objcryst-2022.1/Fox/src/Fox.cpp:1303:14: note: First condition objcryst-2022.1/Fox/src/Fox.cpp:1306:14: note: Second condition objcryst-2022.1/Fox/src/Fox.cpp:1309:14: style: The if condition is the same as the previous if condition [duplicateCondition] objcryst-2022.1/Fox/src/Fox.cpp:1306:14: note: First condition objcryst-2022.1/Fox/src/Fox.cpp:1309:14: note: Second condition objcryst-2022.1/Fox/src/Fox.cpp:1315:14: style: The if condition is the same as the previous if condition [duplicateCondition] objcryst-2022.1/Fox/src/Fox.cpp:1312:14: note: First condition objcryst-2022.1/Fox/src/Fox.cpp:1315:14: note: Second condition objcryst-2022.1/Fox/src/Fox.cpp:935:13: warning: %d in format string (no. 16) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] objcryst-2022.1/Fox/src/Fox.cpp:935:13: warning: %d in format string (no. 17) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] objcryst-2022.1/Fox/src/Fox.cpp:597:9: style: The scope of the variable 'only3D' can be reduced. [variableScope] objcryst-2022.1/Fox/src/Fox.cpp:598:9: style: The scope of the variable 'loadFourierGRD' can be reduced. [variableScope] objcryst-2022.1/Fox/src/Fox.cpp:600:9: style: The scope of the variable 'loadFourierDSN6' can be reduced. [variableScope] objcryst-2022.1/ObjCryst/RefinableObj/LSQNumObj.cpp:47:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mDampingFactor [valueFlowBailoutIncompleteVar] objcryst-2022.1/ObjCryst/RefinableObj/LSQNumObj.cpp:110:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TAU_USER [valueFlowBailoutIncompleteVar] objcryst-2022.1/ObjCryst/RefinableObj/LSQNumObj.cpp:714:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mObs [valueFlowBailoutIncompleteVar] objcryst-2022.1/ObjCryst/RefinableObj/LSQNumObj.cpp:769:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mCorrelMatrix [valueFlowBailoutIncompleteVar] objcryst-2022.1/ObjCryst/RefinableObj/LSQNumObj.cpp:780:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mR [valueFlowBailoutIncompleteVar] objcryst-2022.1/ObjCryst/RefinableObj/LSQNumObj.cpp:783:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mR [valueFlowBailoutIncompleteVar] objcryst-2022.1/ObjCryst/RefinableObj/LSQNumObj.cpp:794:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mWeight [valueFlowBailoutIncompleteVar] objcryst-2022.1/ObjCryst/RefinableObj/LSQNumObj.cpp:799:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mRw [valueFlowBailoutIncompleteVar] objcryst-2022.1/ObjCryst/RefinableObj/LSQNumObj.cpp:805:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mObs [valueFlowBailoutIncompleteVar] objcryst-2022.1/ObjCryst/RefinableObj/LSQNumObj.cpp:812:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mChiSq [valueFlowBailoutIncompleteVar] objcryst-2022.1/ObjCryst/RefinableObj/LSQNumObj.cpp:831:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mvRefinedObjMap [valueFlowBailoutIncompleteVar] objcryst-2022.1/ObjCryst/RefinableObj/LSQNumObj.cpp:839:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mvRefinedObjMap [valueFlowBailoutIncompleteVar] objcryst-2022.1/ObjCryst/RefinableObj/LSQNumObj.cpp:844:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mvRefinedObjMap [valueFlowBailoutIncompleteVar] objcryst-2022.1/ObjCryst/RefinableObj/LSQNumObj.cpp:848:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mRefParList [valueFlowBailoutIncompleteVar] objcryst-2022.1/ObjCryst/RefinableObj/LSQNumObj.cpp:850:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mRefParList [valueFlowBailoutIncompleteVar] objcryst-2022.1/ObjCryst/RefinableObj/LSQNumObj.cpp:854:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mSaveReportOnEachCycle [valueFlowBailoutIncompleteVar] objcryst-2022.1/ObjCryst/RefinableObj/LSQNumObj.cpp:859:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mSaveFileName [valueFlowBailoutIncompleteVar] objcryst-2022.1/ObjCryst/RefinableObj/LSQNumObj.cpp:866:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] objcryst-2022.1/ObjCryst/RefinableObj/LSQNumObj.cpp:892:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mDampingFactor [valueFlowBailoutIncompleteVar] objcryst-2022.1/ObjCryst/RefinableObj/LSQNumObj.cpp:911:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mvVarCovar [valueFlowBailoutIncompleteVar] objcryst-2022.1/ObjCryst/RefinableObj/LSQNumObj.cpp:943:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mLSQCalc [valueFlowBailoutIncompleteVar] objcryst-2022.1/ObjCryst/RefinableObj/LSQNumObj.cpp:955:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mvRefinedObjLSQSize [valueFlowBailoutIncompleteVar] objcryst-2022.1/ObjCryst/RefinableObj/LSQNumObj.cpp:982:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mLSQWeight [valueFlowBailoutIncompleteVar] objcryst-2022.1/ObjCryst/RefinableObj/LSQNumObj.cpp:1001:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mLSQDeriv [valueFlowBailoutIncompleteVar] objcryst-2022.1/ObjCryst/RefinableObj/LSQNumObj.cpp:1015:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mvRefinedObjLSQSize [valueFlowBailoutIncompleteVar] objcryst-2022.1/ObjCryst/example/fluorine/fluorine.cpp:83:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TAU_DEFAULT [valueFlowBailoutIncompleteVar] objcryst-2022.1/ObjCryst/example/fluorine/fluorine.cpp:80:27: style: Parameter 'argv' can be declared as const array [constParameter] objcryst-2022.1/ObjCryst/RefinableObj/Tracker.cpp:40:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mName [valueFlowBailoutIncompleteVar] objcryst-2022.1/ObjCryst/RefinableObj/Tracker.cpp:42:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mvValues [valueFlowBailoutIncompleteVar] objcryst-2022.1/ObjCryst/RefinableObj/Tracker.cpp:49:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mvValues [valueFlowBailoutIncompleteVar] objcryst-2022.1/ObjCryst/RefinableObj/Tracker.cpp:50:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mvValues [valueFlowBailoutIncompleteVar] objcryst-2022.1/ObjCryst/RefinableObj/Tracker.cpp:110:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] objcryst-2022.1/ObjCryst/RefinableObj/Tracker.cpp:130:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mvpTracker [valueFlowBailoutIncompleteVar] objcryst-2022.1/ObjCryst/RefinableObj/Tracker.cpp:139:73: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mClockTrackerList [valueFlowBailoutIncompleteVar] objcryst-2022.1/ObjCryst/RefinableObj/Tracker.cpp:140:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mClockValues [valueFlowBailoutIncompleteVar] objcryst-2022.1/ObjCryst/RefinableObj/Tracker.cpp:118:58: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] objcryst-2022.1/Fox/src/Fox.cpp:611:9: style: Variable 'nbCPUs' is assigned a value that is never used. [unreadVariable] objcryst-2022.1/Fox/src/Fox.cpp:612:11: style: Unused variable: IP [unusedVariable] objcryst-2022.1/Fox/src/Fox.cpp:1192:26: style: Variable 'nbLeBail' is assigned a value that is never used. [unreadVariable] objcryst-2022.1/ObjCryst/RefinableObj/Simplex.cpp:55:30: style: Variable 'worst' is assigned a value that is never used. [unreadVariable] objcryst-2022.1/ObjCryst/RefinableObj/Simplex.cpp:55:42: style: Variable 'nextworst' is assigned a value that is never used. [unreadVariable] objcryst-2022.1/ObjCryst/example/pbso4/neutron.cpp:76:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] objcryst-2022.1/ObjCryst/example/pbso4/neutron.cpp:187:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TAU_DEFAULT [valueFlowBailoutIncompleteVar] objcryst-2022.1/ObjCryst/example/pbso4/neutron.cpp:184:27: style: Parameter 'argv' can be declared as const array [constParameter] objcryst-2022.1/ObjCryst/example/pbso4/xray-single.cpp:75:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] objcryst-2022.1/ObjCryst/example/pbso4/xray-single.cpp:166:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TAU_DEFAULT [valueFlowBailoutIncompleteVar] objcryst-2022.1/ObjCryst/example/pbso4/xray-single.cpp:163:27: style: Parameter 'argv' can be declared as const array [constParameter] objcryst-2022.1/ObjCryst/example/pbso4/xray.cpp:75:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] objcryst-2022.1/ObjCryst/example/pbso4/xray.cpp:184:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TAU_DEFAULT [valueFlowBailoutIncompleteVar] objcryst-2022.1/ObjCryst/example/pbso4/xray.cpp:181:27: style: Parameter 'argv' can be declared as const array [constParameter] objcryst-2022.1/ObjCryst/wxCryst/mpVector.cpp:51:17: style:inconclusive: Technically the member function 'mpVector::Magnitude' can be const. [functionConst] objcryst-2022.1/ObjCryst/wxCryst/mpVector.h:46:8: note: Technically the member function 'mpVector::Magnitude' can be const. objcryst-2022.1/ObjCryst/wxCryst/mpVector.cpp:51:17: note: Technically the member function 'mpVector::Magnitude' can be const. objcryst-2022.1/ObjCryst/RefinableObj/LSQNumObj.cpp:285:19: style: The if condition is the same as the previous if condition [duplicateCondition] objcryst-2022.1/ObjCryst/RefinableObj/LSQNumObj.cpp:272:19: note: First condition objcryst-2022.1/ObjCryst/RefinableObj/LSQNumObj.cpp:285:19: note: Second condition objcryst-2022.1/ObjCryst/RefinableObj/LSQNumObj.cpp:286:19: style: The if condition is the same as the previous if condition [duplicateCondition] objcryst-2022.1/ObjCryst/RefinableObj/LSQNumObj.cpp:285:19: note: First condition objcryst-2022.1/ObjCryst/RefinableObj/LSQNumObj.cpp:286:19: note: Second condition objcryst-2022.1/ObjCryst/RefinableObj/LSQNumObj.cpp:287:19: style: The if condition is the same as the previous if condition [duplicateCondition] objcryst-2022.1/ObjCryst/RefinableObj/LSQNumObj.cpp:286:19: note: First condition objcryst-2022.1/ObjCryst/RefinableObj/LSQNumObj.cpp:287:19: note: Second condition objcryst-2022.1/ObjCryst/wxCryst/wxAtom.cpp:75:4: error: There is an unknown macro here somewhere. Configuration is required. If VFN_DEBUG_MESSAGE is a macro then please configure it. [unknownMacro] objcryst-2022.1/ObjCryst/wxCryst/wxCryst.cpp:220:4: error: There is an unknown macro here somewhere. Configuration is required. If VFN_DEBUG_MESSAGE is a macro then please configure it. [unknownMacro] objcryst-2022.1/ObjCryst/wxCryst/trackball.c:0:0: debug: ValueFlow maximum iterations exceeded [valueFlowMaxIterations] objcryst-2022.1/ObjCryst/RefinableObj/LSQNumObj.cpp:306:28: style: Local variable 'j' shadows outer variable [shadowVariable] objcryst-2022.1/ObjCryst/RefinableObj/LSQNumObj.cpp:146:14: note: Shadowed declaration objcryst-2022.1/ObjCryst/RefinableObj/LSQNumObj.cpp:306:28: note: Shadow variable objcryst-2022.1/ObjCryst/RefinableObj/LSQNumObj.cpp:392:25: style: Local variable 'i' shadows outer variable [shadowVariable] objcryst-2022.1/ObjCryst/RefinableObj/LSQNumObj.cpp:146:12: note: Shadowed declaration objcryst-2022.1/ObjCryst/RefinableObj/LSQNumObj.cpp:392:25: note: Shadow variable objcryst-2022.1/ObjCryst/RefinableObj/LSQNumObj.cpp:394:22: style: Local variable 'i' shadows outer variable [shadowVariable] objcryst-2022.1/ObjCryst/RefinableObj/LSQNumObj.cpp:146:12: note: Shadowed declaration objcryst-2022.1/ObjCryst/RefinableObj/LSQNumObj.cpp:394:22: note: Shadow variable objcryst-2022.1/ObjCryst/RefinableObj/LSQNumObj.cpp:397:25: style: Local variable 'j' shadows outer variable [shadowVariable] objcryst-2022.1/ObjCryst/RefinableObj/LSQNumObj.cpp:146:14: note: Shadowed declaration objcryst-2022.1/ObjCryst/RefinableObj/LSQNumObj.cpp:397:25: note: Shadow variable objcryst-2022.1/ObjCryst/RefinableObj/LSQNumObj.cpp:417:36: style: Local variable 'i' shadows outer variable [shadowVariable] objcryst-2022.1/ObjCryst/RefinableObj/LSQNumObj.cpp:146:12: note: Shadowed declaration objcryst-2022.1/ObjCryst/RefinableObj/LSQNumObj.cpp:417:36: note: Shadow variable objcryst-2022.1/ObjCryst/RefinableObj/LSQNumObj.cpp:419:36: style: Local variable 'i' shadows outer variable [shadowVariable] objcryst-2022.1/ObjCryst/RefinableObj/LSQNumObj.cpp:146:12: note: Shadowed declaration objcryst-2022.1/ObjCryst/RefinableObj/LSQNumObj.cpp:419:36: note: Shadow variable objcryst-2022.1/ObjCryst/RefinableObj/LSQNumObj.cpp:421:39: style: Local variable 'j' shadows outer variable [shadowVariable] objcryst-2022.1/ObjCryst/RefinableObj/LSQNumObj.cpp:146:14: note: Shadowed declaration objcryst-2022.1/ObjCryst/RefinableObj/LSQNumObj.cpp:421:39: note: Shadow variable objcryst-2022.1/ObjCryst/RefinableObj/LSQNumObj.cpp:425:36: style: Local variable 'i' shadows outer variable [shadowVariable] objcryst-2022.1/ObjCryst/RefinableObj/LSQNumObj.cpp:146:12: note: Shadowed declaration objcryst-2022.1/ObjCryst/RefinableObj/LSQNumObj.cpp:425:36: note: Shadow variable objcryst-2022.1/ObjCryst/RefinableObj/LSQNumObj.cpp:427:39: style: Local variable 'j' shadows outer variable [shadowVariable] objcryst-2022.1/ObjCryst/RefinableObj/LSQNumObj.cpp:146:14: note: Shadowed declaration objcryst-2022.1/ObjCryst/RefinableObj/LSQNumObj.cpp:427:39: note: Shadow variable objcryst-2022.1/ObjCryst/RefinableObj/LSQNumObj.cpp:440:25: style: Local variable 'i' shadows outer variable [shadowVariable] objcryst-2022.1/ObjCryst/RefinableObj/LSQNumObj.cpp:146:12: note: Shadowed declaration objcryst-2022.1/ObjCryst/RefinableObj/LSQNumObj.cpp:440:25: note: Shadow variable objcryst-2022.1/ObjCryst/RefinableObj/LSQNumObj.cpp:489:22: style: Local variable 'i' shadows outer variable [shadowVariable] objcryst-2022.1/ObjCryst/RefinableObj/LSQNumObj.cpp:146:12: note: Shadowed declaration objcryst-2022.1/ObjCryst/RefinableObj/LSQNumObj.cpp:489:22: note: Shadow variable objcryst-2022.1/ObjCryst/RefinableObj/LSQNumObj.cpp:493:25: style: Local variable 'j' shadows outer variable [shadowVariable] objcryst-2022.1/ObjCryst/RefinableObj/LSQNumObj.cpp:146:14: note: Shadowed declaration objcryst-2022.1/ObjCryst/RefinableObj/LSQNumObj.cpp:493:25: note: Shadow variable objcryst-2022.1/ObjCryst/wxCryst/trackball.c:247:17: style: Parameter 'q1' can be declared as const array [constParameter] objcryst-2022.1/ObjCryst/wxCryst/trackball.c:247:30: style: Parameter 'q2' can be declared as const array [constParameter] objcryst-2022.1/ObjCryst/wxCryst/trackball.c:302:38: style: Parameter 'q' can be declared as const array [constParameter] objcryst-2022.1/ObjCryst/RefinableObj/LSQNumObj.cpp:724:84: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] objcryst-2022.1/ObjCryst/RefinableObj/LSQNumObj.cpp:728:96: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] objcryst-2022.1/ObjCryst/RefinableObj/LSQNumObj.cpp:752:87: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] objcryst-2022.1/ObjCryst/RefinableObj/LSQNumObj.cpp:756:99: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] objcryst-2022.1/ObjCryst/RefinableObj/LSQNumObj.cpp:1019:97: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] objcryst-2022.1/ObjCryst/wxCryst/wxDiffractionSingleCrystal.cpp:322:10: error: There is an unknown macro here somewhere. Configuration is required. If VFN_DEBUG_EXIT is a macro then please configure it. [unknownMacro] objcryst-2022.1/ObjCryst/wxCryst/wxGlobalOptimObj.cpp:515:7: error: There is an unknown macro here somewhere. Configuration is required. If VFN_DEBUG_EXIT is a macro then please configure it. [unknownMacro] objcryst-2022.1/ObjCryst/wxCryst/wxCrystal.cpp:290:4: error: There is an unknown macro here somewhere. Configuration is required. If VFN_DEBUG_EXIT is a macro then please configure it. [unknownMacro] objcryst-2022.1/ObjCryst/wxCryst/wxMultiGraph.cpp:181:7: error: There is an unknown macro here somewhere. Configuration is required. If VFN_DEBUG_MESSAGE is a macro then please configure it. [unknownMacro] objcryst-2022.1/ObjCryst/wxCryst/wxRefinableObj.cpp:184:13: error: There is an unknown macro here somewhere. Configuration is required. If VFN_DEBUG_EXIT is a macro then please configure it. [unknownMacro] objcryst-2022.1/ObjCryst/wxCryst/wxMolecule.cpp:1061:7: error: There is an unknown macro here somewhere. Configuration is required. If VFN_DEBUG_EXIT is a macro then please configure it. [unknownMacro] objcryst-2022.1/ObjCryst/wxCryst/wxScatterer.cpp:54:4: error: There is an unknown macro here somewhere. Configuration is required. If VFN_DEBUG_MESSAGE is a macro then please configure it. [unknownMacro] objcryst-2022.1/ObjCryst/wxCryst/wxPowderPattern.cpp:649:7: error: There is an unknown macro here somewhere. Configuration is required. If VFN_DEBUG_EXIT is a macro then please configure it. [unknownMacro] objcryst-2022.1/ObjCryst/wxCryst/wxScatteringPower.cpp:108:10: error: There is an unknown macro here somewhere. Configuration is required. If VFN_DEBUG_EXIT is a macro then please configure it. [unknownMacro] objcryst-2022.1/ObjCryst/wxCryst/wxScatteringPowerSphere.cpp:105:10: error: There is an unknown macro here somewhere. Configuration is required. If VFN_DEBUG_EXIT is a macro then please configure it. [unknownMacro] objcryst-2022.1/ObjCryst/wxCryst/wxTrackerGraph.cpp:31:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mpMainTracker [valueFlowBailoutIncompleteVar] objcryst-2022.1/ObjCryst/wxCryst/wxTrackerGraph.cpp:37:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pList [valueFlowBailoutIncompleteVar] objcryst-2022.1/ObjCryst/wxCryst/wxZScatterer.cpp:262:10: error: There is an unknown macro here somewhere. Configuration is required. If VFN_DEBUG_EXIT is a macro then please configure it. [unknownMacro] objcryst-2022.1/ObjCryst/wxCryst/wxTrackerGraph.cpp:52:18: style: The scope of the variable 'nbxMax' can be reduced. [variableScope] objcryst-2022.1/ObjCryst/wxCryst/wxTrackerGraph.cpp:97:7: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] objcryst-2022.1/ObjCryst/wxCryst/wxTrackerGraph.cpp:45:42: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] objcryst-2022.1/ObjCryst/wxCryst/wxTrackerGraph.cpp:57:48: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] objcryst-2022.1/ObjCryst/wxCryst/wxTrackerGraph.cpp:69:79: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] objcryst-2022.1/ObjCryst/wxCryst/wxTrackerGraph.cpp:94:41: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] objcryst-2022.1/ObjCryst/ObjCryst/CIF.cpp:690:12: style: Local variable 'a' shadows outer variable [shadowVariable] objcryst-2022.1/ObjCryst/ObjCryst/CIF.cpp:634:9: note: Shadowed declaration objcryst-2022.1/ObjCryst/ObjCryst/CIF.cpp:690:12: note: Shadow variable objcryst-2022.1/ObjCryst/ObjCryst/CIF.cpp:931:23: style: Local variable 'tmp' shadows outer variable [shadowVariable] objcryst-2022.1/ObjCryst/ObjCryst/CIF.cpp:896:17: note: Shadowed declaration objcryst-2022.1/ObjCryst/ObjCryst/CIF.cpp:931:23: note: Shadow variable objcryst-2022.1/ObjCryst/ObjCryst/CIF.cpp:1275:84: style: Local variable 'pos' shadows outer variable [shadowVariable] objcryst-2022.1/ObjCryst/ObjCryst/CIF.cpp:1019:38: note: Shadowed declaration objcryst-2022.1/ObjCryst/ObjCryst/CIF.cpp:1275:84: note: Shadow variable objcryst-2022.1/ObjCryst/ObjCryst/CIF.cpp:238:42: style: Unused variable: positem [unusedVariable] objcryst-2022.1/ObjCryst/wxCryst/MC.cpp:128:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable val [valueFlowBailoutIncompleteVar] objcryst-2022.1/ObjCryst/wxCryst/MC.cpp:503:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] objcryst-2022.1/ObjCryst/wxCryst/MC.cpp:576:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] objcryst-2022.1/ObjCryst/wxCryst/MC.cpp:630:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] objcryst-2022.1/ObjCryst/wxCryst/MC.cpp:684:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] objcryst-2022.1/ObjCryst/wxCryst/MC.cpp:738:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] objcryst-2022.1/ObjCryst/wxCryst/MC.cpp:792:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] objcryst-2022.1/ObjCryst/wxCryst/MC.cpp:846:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] objcryst-2022.1/ObjCryst/wxCryst/MC.cpp:902:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable val [valueFlowBailoutIncompleteVar] objcryst-2022.1/ObjCryst/wxCryst/MC.cpp:1088:26: style: Variable 'found[0]' is reassigned a value before the old one has been used. [redundantAssignment] objcryst-2022.1/ObjCryst/wxCryst/MC.cpp:1088:11: note: found[0] is assigned objcryst-2022.1/ObjCryst/wxCryst/MC.cpp:1088:26: note: found[0] is overwritten objcryst-2022.1/ObjCryst/wxCryst/MC.cpp:1088:41: style: Variable 'found[0]' is reassigned a value before the old one has been used. [redundantAssignment] objcryst-2022.1/ObjCryst/wxCryst/MC.cpp:1088:26: note: found[0] is assigned objcryst-2022.1/ObjCryst/wxCryst/MC.cpp:1088:41: note: found[0] is overwritten objcryst-2022.1/ObjCryst/wxCryst/MC.cpp:93:11: style: The scope of the variable 'ni' can be reduced. [variableScope] objcryst-2022.1/ObjCryst/wxCryst/MC.cpp:523:6: style: The scope of the variable 'i' can be reduced. [variableScope] objcryst-2022.1/ObjCryst/wxCryst/MC.cpp:523:9: style: The scope of the variable 'j' can be reduced. [variableScope] objcryst-2022.1/ObjCryst/wxCryst/MC.cpp:523:12: style: The scope of the variable 'k' can be reduced. [variableScope] objcryst-2022.1/ObjCryst/wxCryst/MC.cpp:1086:22: style: The scope of the variable 'ni' can be reduced. [variableScope] objcryst-2022.1/ObjCryst/wxCryst/MC.cpp:558:10: style: Local variable 'i' shadows outer variable [shadowVariable] objcryst-2022.1/ObjCryst/wxCryst/MC.cpp:523:6: note: Shadowed declaration objcryst-2022.1/ObjCryst/wxCryst/MC.cpp:558:10: note: Shadow variable objcryst-2022.1/ObjCryst/wxCryst/MC.cpp:296:10: style: Variable 'index' can be declared as const array [constVariable] objcryst-2022.1/ObjCryst/wxCryst/MC.cpp:489:27: style: Parameter 'ii' can be declared as pointer to const [constParameterPointer] objcryst-2022.1/ObjCryst/wxCryst/MC.cpp:489:36: style: Parameter 'jj' can be declared as pointer to const [constParameterPointer] objcryst-2022.1/ObjCryst/wxCryst/MC.cpp:489:45: style: Parameter 'kk' can be declared as pointer to const [constParameterPointer] objcryst-2022.1/ObjCryst/wxCryst/MC.cpp:1067:7: style: Variable 'index' can be declared as const array [constVariable] diff: head objcryst-2022.1/Fox/src/FoxClient.cpp:100:17: style:inconclusive: Technically the member function 'FoxProcess::getProgressInPercents' can be const. [functionConst] objcryst-2022.1/Fox/src/FoxClient.h:93:9: note: Technically the member function 'FoxProcess::getProgressInPercents' can be const. objcryst-2022.1/Fox/src/FoxClient.cpp:100:17: note: Technically the member function 'FoxProcess::getProgressInPercents' can be const. head objcryst-2022.1/Fox/src/FoxClient.cpp:157:16: style:inconclusive: Either there is a missing 'override', or the member function 'FoxClient::getNbOfAvailCPUs' can be const. [functionConst] objcryst-2022.1/Fox/src/FoxClient.h:141:11: note: Either there is a missing 'override', or the member function 'FoxClient::getNbOfAvailCPUs' can be const. objcryst-2022.1/Fox/src/FoxClient.cpp:157:16: note: Either there is a missing 'override', or the member function 'FoxClient::getNbOfAvailCPUs' can be const. head objcryst-2022.1/Fox/src/FoxClient.cpp:207:8: style: Variable 'nb' is assigned a value that is never used. [unreadVariable] head objcryst-2022.1/Fox/src/FoxClient.cpp:220:43: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] head objcryst-2022.1/Fox/src/FoxClient.cpp:289:21: style:inconclusive: Either there is a missing 'override', or the member function 'FoxClient::getCost' can be const. [functionConst] objcryst-2022.1/Fox/src/FoxClient.h:185:13: note: Either there is a missing 'override', or the member function 'FoxClient::getCost' can be const. objcryst-2022.1/Fox/src/FoxClient.cpp:289:21: note: Either there is a missing 'override', or the member function 'FoxClient::getCost' can be const. head objcryst-2022.1/Fox/src/FoxClient.cpp:294:17: performance:inconclusive: Either there is a missing 'override', or the member function 'FoxClient::WriteProtocol' can be static. [functionStatic] objcryst-2022.1/Fox/src/FoxClient.h:129:11: note: Either there is a missing 'override', or the member function 'FoxClient::WriteProtocol' can be static. objcryst-2022.1/Fox/src/FoxClient.cpp:294:17: note: Either there is a missing 'override', or the member function 'FoxClient::WriteProtocol' can be static. head objcryst-2022.1/Fox/src/FoxClient.cpp:586:42: style: Consider using std::count_if algorithm instead of a raw loop. [useStlAlgorithm] head objcryst-2022.1/Fox/src/FoxClient.cpp:596:41: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] head objcryst-2022.1/Fox/src/FoxClient.cpp:64:17: style:inconclusive: Technically the member function 'FoxProcess::getPid' can be const. [functionConst] objcryst-2022.1/Fox/src/FoxClient.h:84:10: note: Technically the member function 'FoxProcess::getPid' can be const. objcryst-2022.1/Fox/src/FoxClient.cpp:64:17: note: Technically the member function 'FoxProcess::getPid' can be const. head objcryst-2022.1/Fox/src/FoxClient.cpp:705:21: style:inconclusive: Either there is a missing 'override', or the member function 'FoxClient::getWorkingDir' can be const. [functionConst] objcryst-2022.1/Fox/src/FoxClient.h:134:15: note: Either there is a missing 'override', or the member function 'FoxClient::getWorkingDir' can be const. objcryst-2022.1/Fox/src/FoxClient.cpp:705:21: note: Either there is a missing 'override', or the member function 'FoxClient::getWorkingDir' can be const. head objcryst-2022.1/Fox/src/FoxClient.cpp:727:16: warning: If memory allocation fails, then there is a possible null pointer dereference: buffer [nullPointerOutOfMemory] objcryst-2022.1/Fox/src/FoxClient.cpp:726:27: note: Assuming allocation function fails objcryst-2022.1/Fox/src/FoxClient.cpp:726:13: note: Assignment 'buffer=(char*)std::calloc(len+1,sizeof(char))', assigned value is 0 objcryst-2022.1/Fox/src/FoxClient.cpp:727:16: note: Null pointer dereference head objcryst-2022.1/Fox/src/FoxClient.cpp:72:22: style:inconclusive: Technically the member function 'FoxProcess::getTmpDir' can be const. [functionConst] objcryst-2022.1/Fox/src/FoxClient.h:86:14: note: Technically the member function 'FoxProcess::getTmpDir' can be const. objcryst-2022.1/Fox/src/FoxClient.cpp:72:22: note: Technically the member function 'FoxProcess::getTmpDir' can be const. head objcryst-2022.1/Fox/src/FoxClient.cpp:80:18: style:inconclusive: Technically the member function 'FoxProcess::isRunning' can be const. [functionConst] objcryst-2022.1/Fox/src/FoxClient.h:88:10: note: Technically the member function 'FoxProcess::isRunning' can be const. objcryst-2022.1/Fox/src/FoxClient.cpp:80:18: note: Technically the member function 'FoxProcess::isRunning' can be const. head objcryst-2022.1/Fox/src/FoxClient.cpp:88:17: style:inconclusive: Technically the member function 'FoxProcess::getJobID' can be const. [functionConst] objcryst-2022.1/Fox/src/FoxClient.h:90:10: note: Technically the member function 'FoxProcess::getJobID' can be const. objcryst-2022.1/Fox/src/FoxClient.cpp:88:17: note: Technically the member function 'FoxProcess::getJobID' can be const. head objcryst-2022.1/Fox/src/FoxClient.cpp:96:24: style:inconclusive: Technically the member function 'FoxProcess::getStartingTime' can be const. [functionConst] objcryst-2022.1/Fox/src/FoxClient.h:92:16: note: Technically the member function 'FoxProcess::getStartingTime' can be const. objcryst-2022.1/Fox/src/FoxClient.cpp:96:24: note: Technically the member function 'FoxProcess::getStartingTime' can be const. 2.17.0 objcryst-2022.1/Fox/src/FoxClient.h:129:11: performance:inconclusive: Either there is a missing 'override', or the member function 'FoxClient::WriteProtocol' can be static. [functionStatic] objcryst-2022.1/Fox/src/FoxClient.cpp:294:17: note: Either there is a missing 'override', or the member function 'FoxClient::WriteProtocol' can be static. objcryst-2022.1/Fox/src/FoxClient.h:129:11: note: Either there is a missing 'override', or the member function 'FoxClient::WriteProtocol' can be static. 2.17.0 objcryst-2022.1/Fox/src/FoxClient.h:134:15: style:inconclusive: Either there is a missing 'override', or the member function 'FoxClient::getWorkingDir' can be const. [functionConst] objcryst-2022.1/Fox/src/FoxClient.cpp:705:21: note: Either there is a missing 'override', or the member function 'FoxClient::getWorkingDir' can be const. objcryst-2022.1/Fox/src/FoxClient.h:134:15: note: Either there is a missing 'override', or the member function 'FoxClient::getWorkingDir' can be const. 2.17.0 objcryst-2022.1/Fox/src/FoxClient.h:141:11: style:inconclusive: Either there is a missing 'override', or the member function 'FoxClient::getNbOfAvailCPUs' can be const. [functionConst] objcryst-2022.1/Fox/src/FoxClient.cpp:157:16: note: Either there is a missing 'override', or the member function 'FoxClient::getNbOfAvailCPUs' can be const. objcryst-2022.1/Fox/src/FoxClient.h:141:11: note: Either there is a missing 'override', or the member function 'FoxClient::getNbOfAvailCPUs' can be const. 2.17.0 objcryst-2022.1/Fox/src/FoxClient.h:185:13: style:inconclusive: Either there is a missing 'override', or the member function 'FoxClient::getCost' can be const. [functionConst] objcryst-2022.1/Fox/src/FoxClient.cpp:289:21: note: Either there is a missing 'override', or the member function 'FoxClient::getCost' can be const. objcryst-2022.1/Fox/src/FoxClient.h:185:13: note: Either there is a missing 'override', or the member function 'FoxClient::getCost' can be const. 2.17.0 objcryst-2022.1/Fox/src/FoxClient.h:84:10: style:inconclusive: Technically the member function 'FoxProcess::getPid' can be const. [functionConst] objcryst-2022.1/Fox/src/FoxClient.cpp:64:17: note: Technically the member function 'FoxProcess::getPid' can be const. objcryst-2022.1/Fox/src/FoxClient.h:84:10: note: Technically the member function 'FoxProcess::getPid' can be const. 2.17.0 objcryst-2022.1/Fox/src/FoxClient.h:86:14: style:inconclusive: Technically the member function 'FoxProcess::getTmpDir' can be const. [functionConst] objcryst-2022.1/Fox/src/FoxClient.cpp:72:22: note: Technically the member function 'FoxProcess::getTmpDir' can be const. objcryst-2022.1/Fox/src/FoxClient.h:86:14: note: Technically the member function 'FoxProcess::getTmpDir' can be const. 2.17.0 objcryst-2022.1/Fox/src/FoxClient.h:88:10: style:inconclusive: Technically the member function 'FoxProcess::isRunning' can be const. [functionConst] objcryst-2022.1/Fox/src/FoxClient.cpp:80:18: note: Technically the member function 'FoxProcess::isRunning' can be const. objcryst-2022.1/Fox/src/FoxClient.h:88:10: note: Technically the member function 'FoxProcess::isRunning' can be const. 2.17.0 objcryst-2022.1/Fox/src/FoxClient.h:90:10: style:inconclusive: Technically the member function 'FoxProcess::getJobID' can be const. [functionConst] objcryst-2022.1/Fox/src/FoxClient.cpp:88:17: note: Technically the member function 'FoxProcess::getJobID' can be const. objcryst-2022.1/Fox/src/FoxClient.h:90:10: note: Technically the member function 'FoxProcess::getJobID' can be const. 2.17.0 objcryst-2022.1/Fox/src/FoxClient.h:92:16: style:inconclusive: Technically the member function 'FoxProcess::getStartingTime' can be const. [functionConst] objcryst-2022.1/Fox/src/FoxClient.cpp:96:24: note: Technically the member function 'FoxProcess::getStartingTime' can be const. objcryst-2022.1/Fox/src/FoxClient.h:92:16: note: Technically the member function 'FoxProcess::getStartingTime' can be const. 2.17.0 objcryst-2022.1/Fox/src/FoxClient.h:93:9: style:inconclusive: Technically the member function 'FoxProcess::getProgressInPercents' can be const. [functionConst] objcryst-2022.1/Fox/src/FoxClient.cpp:100:17: note: Technically the member function 'FoxProcess::getProgressInPercents' can be const. objcryst-2022.1/Fox/src/FoxClient.h:93:9: note: Technically the member function 'FoxProcess::getProgressInPercents' can be const. head objcryst-2022.1/Fox/src/FoxJob.cpp:100:13: style:inconclusive: Technically the member function 'FoxJob::getNbThread' can be const. [functionConst] objcryst-2022.1/Fox/src/FoxJob.h:61:15: note: Technically the member function 'FoxJob::getNbThread' can be const. objcryst-2022.1/Fox/src/FoxJob.cpp:100:13: note: Technically the member function 'FoxJob::getNbThread' can be const. head objcryst-2022.1/Fox/src/FoxJob.cpp:103:18: style:inconclusive: Technically the member function 'FoxJob::getFileName' can be const. [functionConst] objcryst-2022.1/Fox/src/FoxJob.h:64:13: note: Technically the member function 'FoxJob::getFileName' can be const. objcryst-2022.1/Fox/src/FoxJob.cpp:103:18: note: Technically the member function 'FoxJob::getFileName' can be const. head objcryst-2022.1/Fox/src/FoxJob.cpp:106:14: style:inconclusive: Technically the member function 'FoxJob::randomize' can be const. [functionConst] objcryst-2022.1/Fox/src/FoxJob.h:52:9: note: Technically the member function 'FoxJob::randomize' can be const. objcryst-2022.1/Fox/src/FoxJob.cpp:106:14: note: Technically the member function 'FoxJob::randomize' can be const. head objcryst-2022.1/Fox/src/FoxJob.cpp:51:26: style:inconclusive: Technically the member function 'FoxJob::getThreadID' can be const. [functionConst] objcryst-2022.1/Fox/src/FoxJob.h:63:21: note: Technically the member function 'FoxJob::getThreadID' can be const. objcryst-2022.1/Fox/src/FoxJob.cpp:51:26: note: Technically the member function 'FoxJob::getThreadID' can be const. head objcryst-2022.1/Fox/src/FoxJob.cpp:82:13: style:inconclusive: Technically the member function 'FoxJob::getM_ID' can be const. [functionConst] objcryst-2022.1/Fox/src/FoxJob.h:55:15: note: Technically the member function 'FoxJob::getM_ID' can be const. objcryst-2022.1/Fox/src/FoxJob.cpp:82:13: note: Technically the member function 'FoxJob::getM_ID' can be const. head objcryst-2022.1/Fox/src/FoxJob.cpp:85:18: style:inconclusive: Technically the member function 'FoxJob::getName' can be const. [functionConst] objcryst-2022.1/Fox/src/FoxJob.h:56:15: note: Technically the member function 'FoxJob::getName' can be const. objcryst-2022.1/Fox/src/FoxJob.cpp:85:18: note: Technically the member function 'FoxJob::getName' can be const. head objcryst-2022.1/Fox/src/FoxJob.cpp:88:14: style:inconclusive: Technically the member function 'FoxJob::getNbTrial' can be const. [functionConst] objcryst-2022.1/Fox/src/FoxJob.h:57:15: note: Technically the member function 'FoxJob::getNbTrial' can be const. objcryst-2022.1/Fox/src/FoxJob.cpp:88:14: note: Technically the member function 'FoxJob::getNbTrial' can be const. head objcryst-2022.1/Fox/src/FoxJob.cpp:91:13: style:inconclusive: Technically the member function 'FoxJob::getNbRuns' can be const. [functionConst] objcryst-2022.1/Fox/src/FoxJob.h:58:15: note: Technically the member function 'FoxJob::getNbRuns' can be const. objcryst-2022.1/Fox/src/FoxJob.cpp:91:13: note: Technically the member function 'FoxJob::getNbRuns' can be const. head objcryst-2022.1/Fox/src/FoxJob.cpp:94:13: style:inconclusive: Technically the member function 'FoxJob::getNbDone' can be const. [functionConst] objcryst-2022.1/Fox/src/FoxJob.h:59:15: note: Technically the member function 'FoxJob::getNbDone' can be const. objcryst-2022.1/Fox/src/FoxJob.cpp:94:13: note: Technically the member function 'FoxJob::getNbDone' can be const. head objcryst-2022.1/Fox/src/FoxJob.cpp:97:15: style:inconclusive: Technically the member function 'FoxJob::getStatus' can be const. [functionConst] objcryst-2022.1/Fox/src/FoxJob.h:60:15: note: Technically the member function 'FoxJob::getStatus' can be const. objcryst-2022.1/Fox/src/FoxJob.cpp:97:15: note: Technically the member function 'FoxJob::getStatus' can be const. 2.17.0 objcryst-2022.1/Fox/src/FoxJob.h:52:9: style:inconclusive: Technically the member function 'FoxJob::randomize' can be const. [functionConst] objcryst-2022.1/Fox/src/FoxJob.cpp:106:14: note: Technically the member function 'FoxJob::randomize' can be const. objcryst-2022.1/Fox/src/FoxJob.h:52:9: note: Technically the member function 'FoxJob::randomize' can be const. 2.17.0 objcryst-2022.1/Fox/src/FoxJob.h:55:15: style:inconclusive: Technically the member function 'FoxJob::getM_ID' can be const. [functionConst] objcryst-2022.1/Fox/src/FoxJob.cpp:82:13: note: Technically the member function 'FoxJob::getM_ID' can be const. objcryst-2022.1/Fox/src/FoxJob.h:55:15: note: Technically the member function 'FoxJob::getM_ID' can be const. 2.17.0 objcryst-2022.1/Fox/src/FoxJob.h:56:15: style:inconclusive: Technically the member function 'FoxJob::getName' can be const. [functionConst] objcryst-2022.1/Fox/src/FoxJob.cpp:85:18: note: Technically the member function 'FoxJob::getName' can be const. objcryst-2022.1/Fox/src/FoxJob.h:56:15: note: Technically the member function 'FoxJob::getName' can be const. 2.17.0 objcryst-2022.1/Fox/src/FoxJob.h:57:15: style:inconclusive: Technically the member function 'FoxJob::getNbTrial' can be const. [functionConst] objcryst-2022.1/Fox/src/FoxJob.cpp:88:14: note: Technically the member function 'FoxJob::getNbTrial' can be const. objcryst-2022.1/Fox/src/FoxJob.h:57:15: note: Technically the member function 'FoxJob::getNbTrial' can be const. 2.17.0 objcryst-2022.1/Fox/src/FoxJob.h:58:15: style:inconclusive: Technically the member function 'FoxJob::getNbRuns' can be const. [functionConst] objcryst-2022.1/Fox/src/FoxJob.cpp:91:13: note: Technically the member function 'FoxJob::getNbRuns' can be const. objcryst-2022.1/Fox/src/FoxJob.h:58:15: note: Technically the member function 'FoxJob::getNbRuns' can be const. 2.17.0 objcryst-2022.1/Fox/src/FoxJob.h:59:15: style:inconclusive: Technically the member function 'FoxJob::getNbDone' can be const. [functionConst] objcryst-2022.1/Fox/src/FoxJob.cpp:94:13: note: Technically the member function 'FoxJob::getNbDone' can be const. objcryst-2022.1/Fox/src/FoxJob.h:59:15: note: Technically the member function 'FoxJob::getNbDone' can be const. 2.17.0 objcryst-2022.1/Fox/src/FoxJob.h:60:15: style:inconclusive: Technically the member function 'FoxJob::getStatus' can be const. [functionConst] objcryst-2022.1/Fox/src/FoxJob.cpp:97:15: note: Technically the member function 'FoxJob::getStatus' can be const. objcryst-2022.1/Fox/src/FoxJob.h:60:15: note: Technically the member function 'FoxJob::getStatus' can be const. 2.17.0 objcryst-2022.1/Fox/src/FoxJob.h:61:15: style:inconclusive: Technically the member function 'FoxJob::getNbThread' can be const. [functionConst] objcryst-2022.1/Fox/src/FoxJob.cpp:100:13: note: Technically the member function 'FoxJob::getNbThread' can be const. objcryst-2022.1/Fox/src/FoxJob.h:61:15: note: Technically the member function 'FoxJob::getNbThread' can be const. 2.17.0 objcryst-2022.1/Fox/src/FoxJob.h:63:21: style:inconclusive: Technically the member function 'FoxJob::getThreadID' can be const. [functionConst] objcryst-2022.1/Fox/src/FoxJob.cpp:51:26: note: Technically the member function 'FoxJob::getThreadID' can be const. objcryst-2022.1/Fox/src/FoxJob.h:63:21: note: Technically the member function 'FoxJob::getThreadID' can be const. 2.17.0 objcryst-2022.1/Fox/src/FoxJob.h:64:13: style:inconclusive: Technically the member function 'FoxJob::getFileName' can be const. [functionConst] objcryst-2022.1/Fox/src/FoxJob.cpp:103:18: note: Technically the member function 'FoxJob::getFileName' can be const. objcryst-2022.1/Fox/src/FoxJob.h:64:13: note: Technically the member function 'FoxJob::getFileName' can be const. head objcryst-2022.1/Fox/src/IOSocket.cpp:114:20: style:inconclusive: Technically the member function 'IOSocket::getError' can be const. [functionConst] objcryst-2022.1/Fox/src/IOSocket.h:59:14: note: Technically the member function 'IOSocket::getError' can be const. objcryst-2022.1/Fox/src/IOSocket.cpp:114:20: note: Technically the member function 'IOSocket::getError' can be const. head objcryst-2022.1/Fox/src/IOSocket.cpp:56:16: performance:inconclusive: Technically the member function 'IOSocket::WriteStringToSocket' can be static (but you may consider moving to unnamed namespace). [functionStatic] objcryst-2022.1/Fox/src/IOSocket.h:54:10: note: Technically the member function 'IOSocket::WriteStringToSocket' can be static (but you may consider moving to unnamed namespace). objcryst-2022.1/Fox/src/IOSocket.cpp:56:16: note: Technically the member function 'IOSocket::WriteStringToSocket' can be static (but you may consider moving to unnamed namespace). head objcryst-2022.1/Fox/src/IOSocket.cpp:78:24: style: Unused private function: 'IOSocket::getMessageLen' [unusedPrivateFunction] objcryst-2022.1/Fox/src/IOSocket.h:62:18: note: Unused private function: 'IOSocket::getMessageLen' objcryst-2022.1/Fox/src/IOSocket.cpp:78:24: note: Unused private function: 'IOSocket::getMessageLen' 2.17.0 objcryst-2022.1/Fox/src/IOSocket.h:54:10: performance:inconclusive: Technically the member function 'IOSocket::WriteStringToSocket' can be static (but you may consider moving to unnamed namespace). [functionStatic] objcryst-2022.1/Fox/src/IOSocket.cpp:56:16: note: Technically the member function 'IOSocket::WriteStringToSocket' can be static (but you may consider moving to unnamed namespace). objcryst-2022.1/Fox/src/IOSocket.h:54:10: note: Technically the member function 'IOSocket::WriteStringToSocket' can be static (but you may consider moving to unnamed namespace). 2.17.0 objcryst-2022.1/Fox/src/IOSocket.h:59:14: style:inconclusive: Technically the member function 'IOSocket::getError' can be const. [functionConst] objcryst-2022.1/Fox/src/IOSocket.cpp:114:20: note: Technically the member function 'IOSocket::getError' can be const. objcryst-2022.1/Fox/src/IOSocket.h:59:14: note: Technically the member function 'IOSocket::getError' can be const. 2.17.0 objcryst-2022.1/Fox/src/IOSocket.h:62:18: style: Unused private function: 'IOSocket::getMessageLen' [unusedPrivateFunction] head objcryst-2022.1/Fox/src/WXFoxClient.cpp:59:16: style: Variable 'IPSizer' is assigned a value that is never used. [unreadVariable] head objcryst-2022.1/Fox/src/WXFoxServer.cpp:264:16: warning: If memory allocation fails, then there is a possible null pointer dereference: buffer [nullPointerOutOfMemory] objcryst-2022.1/Fox/src/WXFoxServer.cpp:263:27: note: Assuming allocation function fails objcryst-2022.1/Fox/src/WXFoxServer.cpp:263:13: note: Assignment 'buffer=(char*)std::calloc(len+1,sizeof(char))', assigned value is 0 objcryst-2022.1/Fox/src/WXFoxServer.cpp:264:16: note: Null pointer dereference 2.17.0 objcryst-2022.1/Fox/src/WXFoxServer.cpp:342:22: style: C-style pointer casting [cstyleCast] head objcryst-2022.1/Fox/src/WXFoxServer.cpp:342:22: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] head objcryst-2022.1/Fox/src/WXFoxServer.cpp:365:0: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] head objcryst-2022.1/Fox/src/WXFoxServer.cpp:651:13: style: Variable 'result' is assigned a value that is never used. [unreadVariable] head objcryst-2022.1/Fox/src/WXFoxServer.cpp:818:8: style: Variable 'c' is assigned a value that is never used. [unreadVariable] head objcryst-2022.1/Fox/src/WXFoxServer.cpp:829:8: style: Variable 'c' is assigned a value that is never used. [unreadVariable] head objcryst-2022.1/Fox/src/WXFoxServer.cpp:951:9: style: Variable 'result' is assigned a value that is never used. [unreadVariable] head objcryst-2022.1/ObjCryst/wxCryst/MC.cpp:1088:41: style: Variable 'found[0]' is reassigned a value before the old one has been used. [redundantAssignment] objcryst-2022.1/ObjCryst/wxCryst/MC.cpp:1088:26: note: found[0] is assigned objcryst-2022.1/ObjCryst/wxCryst/MC.cpp:1088:41: note: found[0] is overwritten head objcryst-2022.1/ObjCryst/wxCryst/mpVector.cpp:51:17: style:inconclusive: Technically the member function 'mpVector::Magnitude' can be const. [functionConst] objcryst-2022.1/ObjCryst/wxCryst/mpVector.h:46:8: note: Technically the member function 'mpVector::Magnitude' can be const. objcryst-2022.1/ObjCryst/wxCryst/mpVector.cpp:51:17: note: Technically the member function 'mpVector::Magnitude' can be const. 2.17.0 objcryst-2022.1/ObjCryst/wxCryst/mpVector.h:46:8: style:inconclusive: Technically the member function 'mpVector::Magnitude' can be const. [functionConst] objcryst-2022.1/ObjCryst/wxCryst/mpVector.cpp:51:17: note: Technically the member function 'mpVector::Magnitude' can be const. objcryst-2022.1/ObjCryst/wxCryst/mpVector.h:46:8: note: Technically the member function 'mpVector::Magnitude' can be const. DONE