2025-05-05 00:37 ftp://ftp.de.debian.org/debian/pool/main/i/icecc/icecc_1.4.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=bsd --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 -j3 platform: Linux-6.8.0-1022-oracle-aarch64-with-glibc2.39 python: 3.12.3 client-version: 1.3.67 compiler: g++ (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0 cppcheck: head 2.17.0 head-info: 88ef81e (2025-05-02 08:42:38 +0200) count: 372 365 elapsed-time: 1.7 1.7 head-timing-info: old-timing-info: head results: icecream-1.4/client/argv.c:343:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] icecream-1.4/client/cpp.cpp:84:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] icecream-1.4/client/argv.c:82:5: warning: If memory allocation fails, then there is a possible null pointer dereference: copy [nullPointerOutOfMemory] icecream-1.4/client/argv.c:78:27: note: Assuming allocation function fails icecream-1.4/client/argv.c:78:10: note: Assignment 'copy=(char**)malloc((argc+1)*sizeof(char*))', assigned value is 0 icecream-1.4/client/argv.c:82:5: note: Null pointer dereference icecream-1.4/client/argv.c:83:3: warning: If memory allocation fails, then there is a possible null pointer dereference: copy [nullPointerOutOfMemory] icecream-1.4/client/argv.c:78:27: note: Assuming allocation function fails icecream-1.4/client/argv.c:78:10: note: Assignment 'copy=(char**)malloc((argc+1)*sizeof(char*))', assigned value is 0 icecream-1.4/client/argv.c:83:3: note: Null pointer dereference icecream-1.4/client/argv.c:206:11: warning: If memory allocation fails, then there is a possible null pointer dereference: argv [nullPointerOutOfMemory] icecream-1.4/client/argv.c:198:40: note: Assuming allocation function fails icecream-1.4/client/argv.c:198:23: note: Assignment 'nargv=(char**)malloc(maxargc*sizeof(char*))', assigned value is 0 icecream-1.4/client/argv.c:205:16: note: argv is assigned 'nargv' here. icecream-1.4/client/argv.c:206:11: note: Null pointer dereference icecream-1.4/client/argv.c:365:20: warning: If memory allocation fails, then there is a possible null pointer dereference: buffer [nullPointerOutOfMemory] icecream-1.4/client/argv.c:364:32: note: Assuming allocation function fails icecream-1.4/client/argv.c:364:16: note: Assignment 'buffer=(char*)malloc(pos*sizeof(char)+1)', assigned value is 0 icecream-1.4/client/argv.c:365:20: note: Null pointer dereference icecream-1.4/client/argv.c:380:4: warning: If memory allocation fails, then there is a possible null pointer dereference: file_argv [nullPointerOutOfMemory] icecream-1.4/client/argv.c:379:33: note: Assuming allocation function fails icecream-1.4/client/argv.c:379:16: note: Assignment 'file_argv=(char**)malloc(sizeof(char*))', assigned value is 0 icecream-1.4/client/argv.c:380:4: note: Null pointer dereference icecream-1.4/client/local.cpp:50:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] icecream-1.4/client/local.cpp:131:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Lang_C [valueFlowBailoutIncompleteVar] icecream-1.4/client/local.cpp:148:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Lang_Custom [valueFlowBailoutIncompleteVar] icecream-1.4/client/local.cpp:226:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] icecream-1.4/client/local.cpp:328:82: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] icecream-1.4/client/main.cpp:338:33: error: There is an unknown macro here somewhere. Configuration is required. If VERSION is a macro then please configure it. [unknownMacro] icecream-1.4/client/local.cpp:447:19: style: Condition 'r<0' is always true [knownConditionTrueFalse] icecream-1.4/client/local.cpp:443:19: note: Assuming that condition 'r==0' is not redundant icecream-1.4/client/local.cpp:447:19: note: Condition 'r<0' is always true icecream-1.4/client/local.cpp:321:46: style:inconclusive: Function 'build_local' argument 2 names different: declaration 'daemon' definition 'local_daemon'. [funcArgNamesDifferent] icecream-1.4/client/client.h:54:53: note: Function 'build_local' argument 2 names different: declaration 'daemon' definition 'local_daemon'. icecream-1.4/client/local.cpp:321:46: note: Function 'build_local' argument 2 names different: declaration 'daemon' definition 'local_daemon'. icecream-1.4/client/local.cpp:321:75: style:inconclusive: Function 'build_local' argument 3 names different: declaration 'usage' definition 'used'. [funcArgNamesDifferent] icecream-1.4/client/client.h:54:76: note: Function 'build_local' argument 3 names different: declaration 'usage' definition 'used'. icecream-1.4/client/local.cpp:321:75: note: Function 'build_local' argument 3 names different: declaration 'usage' definition 'used'. icecream-1.4/client/local.cpp:321:46: style: Parameter 'local_daemon' can be declared as pointer to const [constParameterPointer] icecream-1.4/client/safeguard.cpp:68:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] icecream-1.4/client/safeguard.cpp:65:10: style: Variable 'value' can be declared as const array [constVariable] icecream-1.4/client/util.cpp:125:0: error: #error "No supported lock method. Please port this code." [preprocessorErrorDirective] icecream-1.4/client/util.cpp:125:4: error: #error "No supported lock method. Please port this code." [preprocessorErrorDirective] icecream-1.4/client/remote.cpp:91:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] icecream-1.4/client/remote.cpp:206:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] icecream-1.4/client/remote.cpp:235:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] icecream-1.4/client/remote.cpp:249:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable M_USE_CS [valueFlowBailoutIncompleteVar] icecream-1.4/client/remote.cpp:263:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable M_STATUS_TEXT [valueFlowBailoutIncompleteVar] icecream-1.4/client/remote.cpp:286:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] icecream-1.4/client/remote.cpp:355:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] icecream-1.4/client/remote.cpp:452:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] icecream-1.4/client/remote.cpp:754:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] icecream-1.4/client/remote.cpp:801:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MIN_PROTOCOL_VERSION [valueFlowBailoutIncompleteVar] icecream-1.4/client/remote.cpp:818:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NODE_FEATURE_ENV_XZ [valueFlowBailoutIncompleteVar] icecream-1.4/client/remote.cpp:850:73: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] icecream-1.4/client/arg.cpp:98:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Lang_Custom [valueFlowBailoutIncompleteVar] icecream-1.4/client/arg.cpp:280:79: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] icecream-1.4/client/arg.cpp:320:78: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Arg_Local [valueFlowBailoutIncompleteVar] icecream-1.4/compilerwrapper/compilerwrapper.cpp:46:26: style: Parameter 'argv' can be declared as const array [constParameter] icecream-1.4/client/remote.cpp:818:33: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] icecream-1.4/client/remote.cpp:662:14: style: The scope of the variable 'have_dwo_file' can be reduced. [variableScope] icecream-1.4/client/remote.cpp:81:35: style:inconclusive: Function 'parse_icecc_version' argument 1 names different: declaration 'target' definition 'target_platform'. [funcArgNamesDifferent] icecream-1.4/client/client.h:81:60: note: Function 'parse_icecc_version' argument 1 names different: declaration 'target' definition 'target_platform'. icecream-1.4/client/remote.cpp:81:35: note: Function 'parse_icecc_version' argument 1 names different: declaration 'target' definition 'target_platform'. icecream-1.4/client/remote.cpp:825:47: style:inconclusive: Function 'build_remote' argument 2 names different: declaration 'scheduler' definition 'local_daemon'. [funcArgNamesDifferent] icecream-1.4/client/client.h:64:54: note: Function 'build_remote' argument 2 names different: declaration 'scheduler' definition 'local_daemon'. icecream-1.4/client/remote.cpp:825:47: note: Function 'build_remote' argument 2 names different: declaration 'scheduler' definition 'local_daemon'. icecream-1.4/client/remote.cpp:825:81: style:inconclusive: Function 'build_remote' argument 3 names different: declaration 'envs' definition '_envs'. [funcArgNamesDifferent] icecream-1.4/client/client.h:64:85: note: Function 'build_remote' argument 3 names different: declaration 'envs' definition '_envs'. icecream-1.4/client/remote.cpp:825:81: note: Function 'build_remote' argument 3 names different: declaration 'envs' definition '_envs'. icecream-1.4/client/remote.cpp:261:53: style: Parameter 'cserver' can be declared as pointer to const [constParameterPointer] icecream-1.4/client/remote.cpp:390:23: style: Variable 'fcmsg' can be declared as pointer to const [constVariablePointer] icecream-1.4/client/remote.cpp:427:56: style: Parameter 'usecs' can be declared as pointer to const [constParameterPointer] icecream-1.4/client/remote.cpp:737:55: style: Parameter 'usecs' can be declared as pointer to const [constParameterPointer] icecream-1.4/client/remote.cpp:119:27: performance: Ineffective call of function 'substr' because a prefix of the string is assigned to itself. Use resize() or pop_back() instead. [uselessCallsSubstr] icecream-1.4/daemon/environment.cpp:115:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] icecream-1.4/daemon/environment.cpp:170:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] icecream-1.4/daemon/environment.cpp:199:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] icecream-1.4/daemon/environment.cpp:226:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] icecream-1.4/daemon/environment.cpp:341:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] icecream-1.4/daemon/environment.cpp:387:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ARCHIVE_EOF [valueFlowBailoutIncompleteVar] icecream-1.4/daemon/environment.cpp:403:107: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] icecream-1.4/daemon/environment.cpp:591:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] icecream-1.4/daemon/environment.cpp:618:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] icecream-1.4/daemon/environment.cpp:655:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] icecream-1.4/daemon/environment.cpp:693:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] icecream-1.4/daemon/environment.cpp:734:91: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] icecream-1.4/daemon/file_util.cpp:126:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] icecream-1.4/daemon/environment.cpp:59:31: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] icecream-1.4/daemon/environment.cpp:59:59: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] icecream-1.4/daemon/environment.cpp:90:31: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] icecream-1.4/daemon/environment.cpp:90:59: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] icecream-1.4/daemon/environment.cpp:137:24: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] icecream-1.4/daemon/environment.cpp:201:42: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] icecream-1.4/daemon/environment.cpp:201:84: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] icecream-1.4/daemon/environment.cpp:327:15: style: C-style pointer casting [cstyleCast] icecream-1.4/daemon/environment.cpp:567:10: style: Variable 'r' is reassigned a value before the old one has been used. [redundantAssignment] icecream-1.4/daemon/environment.cpp:558:11: note: r is assigned icecream-1.4/daemon/environment.cpp:567:10: note: r is overwritten icecream-1.4/daemon/environment.cpp:376:9: style: The scope of the variable 'r' can be reduced. [variableScope] icecream-1.4/daemon/environment.cpp:192:51: style:inconclusive: Function 'available_environments' argument 1 names different: declaration 'basename' definition 'basedir'. [funcArgNamesDifferent] icecream-1.4/daemon/environment.h:38:56: note: Function 'available_environments' argument 1 names different: declaration 'basename' definition 'basedir'. icecream-1.4/daemon/environment.cpp:192:51: note: Function 'available_environments' argument 1 names different: declaration 'basename' definition 'basedir'. icecream-1.4/daemon/environment.cpp:603:45: style:inconclusive: Function 'remove_environment_files' argument 1 names different: declaration 'basedir' definition 'basename'. [funcArgNamesDifferent] icecream-1.4/daemon/environment.h:47:57: note: Function 'remove_environment_files' argument 1 names different: declaration 'basedir' definition 'basename'. icecream-1.4/daemon/environment.cpp:603:45: note: Function 'remove_environment_files' argument 1 names different: declaration 'basedir' definition 'basename'. icecream-1.4/daemon/environment.cpp:668:39: style:inconclusive: Function 'chdir_to_environment' argument 1 names different: declaration 'c' definition 'client'. [funcArgNamesDifferent] icecream-1.4/daemon/environment.h:49:46: note: Function 'chdir_to_environment' argument 1 names different: declaration 'c' definition 'client'. icecream-1.4/daemon/environment.cpp:668:39: note: Function 'chdir_to_environment' argument 1 names different: declaration 'c' definition 'client'. icecream-1.4/daemon/environment.cpp:729:29: style:inconclusive: Function 'verify_env' argument 1 names different: declaration 'c' definition 'client'. [funcArgNamesDifferent] icecream-1.4/daemon/environment.h:50:36: note: Function 'verify_env' argument 1 names different: declaration 'c' definition 'client'. icecream-1.4/daemon/environment.cpp:729:29: note: Function 'verify_env' argument 1 names different: declaration 'c' definition 'client'. icecream-1.4/daemon/environment.cpp:137:20: style: Variable 'f' can be declared as pointer to const [constVariablePointer] icecream-1.4/daemon/file_util.cpp:202:5: style: Non-boolean value returned from function returning bool [returnNonBoolInBooleanFunction] icecream-1.4/daemon/file_util.cpp:162:25: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] icecream-1.4/daemon/file_util.cpp:173:19: style: C-style pointer casting [cstyleCast] icecream-1.4/daemon/file_util.cpp:154:12: style: The scope of the variable 'path_len' can be reduced. [variableScope] icecream-1.4/daemon/file_util.cpp:158:24: style: Variable 'p' can be declared as pointer to const [constVariablePointer] icecream-1.4/daemon/load.cpp:119:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CPUSTATES [valueFlowBailoutIncompleteVar] icecream-1.4/daemon/main.cpp:2523:38: error: There is an unknown macro here somewhere. Configuration is required. If VERSION is a macro then please configure it. [unknownMacro] icecream-1.4/daemon/load.cpp:383:25: style: Variable 'rates' can be declared as const array [constVariable] icecream-1.4/daemon/serve.cpp:88:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] icecream-1.4/daemon/serve.cpp:153:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] icecream-1.4/daemon/workit.cpp:112:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] icecream-1.4/daemon/serve.cpp:334:5: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] icecream-1.4/daemon/workit.h:41:5: style: Class 'myexception' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] icecream-1.4/daemon/serve.cpp:138:35: style:inconclusive: Function 'handle_connection' argument 3 names different: declaration 'serv' definition 'client'. [funcArgNamesDifferent] icecream-1.4/daemon/serve.h:35:35: note: Function 'handle_connection' argument 3 names different: declaration 'serv' definition 'client'. icecream-1.4/daemon/serve.cpp:138:35: note: Function 'handle_connection' argument 3 names different: declaration 'serv' definition 'client'. icecream-1.4/services/comm.h:825:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] icecream-1.4/services/comm.h:834:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] icecream-1.4/services/comm.h:873:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] icecream-1.4/services/comm.h:879:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] icecream-1.4/services/logging.h:77:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] icecream-1.4/services/logging.h:86:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] icecream-1.4/services/logging.h:96:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] icecream-1.4/services/logging.h:105:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] icecream-1.4/services/logging.h:113:86: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] icecream-1.4/services/logging.h:118:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] icecream-1.4/services/logging.h:128:82: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] icecream-1.4/services/logging.h:133:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] icecream-1.4/scheduler/compileserver.cpp:506:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] icecream-1.4/scheduler/compileserver.cpp:544:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] icecream-1.4/scheduler/compileserver.cpp:581:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] icecream-1.4/services/logging.h:60:22: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] icecream-1.4/scheduler/compileserver.cpp:503:28: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] icecream-1.4/scheduler/compileserver.cpp:578:28: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] icecream-1.4/services/comm.h:417:5: warning: Member variable 'GetCSMsg::lang' is not initialized in the constructor. [uninitMemberVar] icecream-1.4/services/comm.h:417:5: warning: Member variable 'GetCSMsg::minimal_host_version' is not initialized in the constructor. [uninitMemberVar] icecream-1.4/services/comm.h:417:5: warning: Member variable 'GetCSMsg::required_features' is not initialized in the constructor. [uninitMemberVar] icecream-1.4/services/comm.h:454:5: warning: Member variable 'UseCSMsg::job_id' is not initialized in the constructor. [uninitMemberVar] icecream-1.4/services/comm.h:454:5: warning: Member variable 'UseCSMsg::port' is not initialized in the constructor. [uninitMemberVar] icecream-1.4/services/comm.h:454:5: warning: Member variable 'UseCSMsg::got_env' is not initialized in the constructor. [uninitMemberVar] icecream-1.4/services/comm.h:454:5: warning: Member variable 'UseCSMsg::client_id' is not initialized in the constructor. [uninitMemberVar] icecream-1.4/services/comm.h:454:5: warning: Member variable 'UseCSMsg::matched_job_id' is not initialized in the constructor. [uninitMemberVar] icecream-1.4/services/comm.h:482:5: warning: Member variable 'NoCSMsg::job_id' is not initialized in the constructor. [uninitMemberVar] icecream-1.4/services/comm.h:482:5: warning: Member variable 'NoCSMsg::client_id' is not initialized in the constructor. [uninitMemberVar] icecream-1.4/services/comm.h:563:5: warning: Member variable 'FileChunkMsg::compressed' is not initialized in the constructor. [uninitMemberVar] icecream-1.4/services/comm.h:569:5: warning: Member variable 'FileChunkMsg::compressed' is not initialized in the constructor. [uninitMemberVar] icecream-1.4/services/comm.h:612:5: warning: Member variable 'JobBeginMsg::job_id' is not initialized in the constructor. [uninitMemberVar] icecream-1.4/services/comm.h:612:5: warning: Member variable 'JobBeginMsg::stime' is not initialized in the constructor. [uninitMemberVar] icecream-1.4/services/comm.h:720:5: warning: Member variable 'LoginMsg::max_kids' is not initialized in the constructor. [uninitMemberVar] icecream-1.4/services/comm.h:720:5: warning: Member variable 'LoginMsg::noremote' is not initialized in the constructor. [uninitMemberVar] icecream-1.4/services/comm.h:720:5: warning: Member variable 'LoginMsg::chroot_possible' is not initialized in the constructor. [uninitMemberVar] icecream-1.4/services/comm.h:720:5: warning: Member variable 'LoginMsg::supported_features' is not initialized in the constructor. [uninitMemberVar] icecream-1.4/services/comm.h:755:5: warning: Member variable 'StatsMsg::loadAvg1' is not initialized in the constructor. [uninitMemberVar] icecream-1.4/services/comm.h:755:5: warning: Member variable 'StatsMsg::loadAvg5' is not initialized in the constructor. [uninitMemberVar] icecream-1.4/services/comm.h:755:5: warning: Member variable 'StatsMsg::loadAvg10' is not initialized in the constructor. [uninitMemberVar] icecream-1.4/services/comm.h:755:5: warning: Member variable 'StatsMsg::freeMem' is not initialized in the constructor. [uninitMemberVar] icecream-1.4/services/comm.h:886:5: warning: Member variable 'MonLocalJobBeginMsg::job_id' is not initialized in the constructor. [uninitMemberVar] icecream-1.4/services/comm.h:886:5: warning: Member variable 'MonLocalJobBeginMsg::stime' is not initialized in the constructor. [uninitMemberVar] icecream-1.4/services/comm.h:886:5: warning: Member variable 'MonLocalJobBeginMsg::hostid' is not initialized in the constructor. [uninitMemberVar] icecream-1.4/services/comm.h:908:5: warning: Member variable 'MonStatsMsg::hostid' is not initialized in the constructor. [uninitMemberVar] icecream-1.4/services/comm.h:980:5: warning: Member variable 'VerifyEnvResultMsg::ok' is not initialized in the constructor. [uninitMemberVar] icecream-1.4/services/comm.h:655:10: style:inconclusive: Technically the member function 'JobDoneMsg::is_from_server' can be const. [functionConst] icecream-1.4/scheduler/compileserver.cpp:312:29: style:inconclusive: Technically the member function 'CompileServer::lastPickedId' can be const. [functionConst] icecream-1.4/scheduler/compileserver.h:94:18: note: Technically the member function 'CompileServer::lastPickedId' can be const. icecream-1.4/scheduler/compileserver.cpp:312:29: note: Technically the member function 'CompileServer::lastPickedId' can be const. icecream-1.4/scheduler/compileserver.cpp:592:23: style:inconclusive: Technically the member function 'CompileServer::getConnectionTimeout' can be const. [functionConst] icecream-1.4/scheduler/compileserver.h:146:12: note: Technically the member function 'CompileServer::getConnectionTimeout' can be const. icecream-1.4/scheduler/compileserver.cpp:592:23: note: Technically the member function 'CompileServer::getConnectionTimeout' can be const. icecream-1.4/scheduler/compileserver.cpp:600:21: style:inconclusive: Technically the member function 'CompileServer::getConnectionInProgress' can be const. [functionConst] icecream-1.4/scheduler/compileserver.h:148:10: note: Technically the member function 'CompileServer::getConnectionInProgress' can be const. icecream-1.4/scheduler/compileserver.cpp:600:21: note: Technically the member function 'CompileServer::getConnectionInProgress' can be const. icecream-1.4/services/logging.h:151:9: warning: Class 'log_block' does not have a copy constructor which is recommended since it has dynamic memory/resource allocation(s). [noCopyConstructor] icecream-1.4/services/logging.h:151:9: warning: Class 'log_block' does not have a operator= which is recommended since it has dynamic memory/resource allocation(s). [noOperatorEq] icecream-1.4/services/comm.h:165:5: style: Class 'Msg' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] icecream-1.4/services/comm.h:319:5: style: Class 'DiscoverSched' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] icecream-1.4/services/comm.h:524:5: style: Class 'UseNativeEnvMsg' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] icecream-1.4/services/comm.h:537:5: style: Class 'CompileFileMsg' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] icecream-1.4/services/comm.h:647:5: style: Class 'JobDoneMsg' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] icecream-1.4/services/comm.h:688:5: style: Class 'JobLocalBeginMsg' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] icecream-1.4/services/comm.h:705:5: style: Class 'JobLocalDoneMsg' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] icecream-1.4/services/comm.h:876:5: style: Class 'MonJobDoneMsg' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] icecream-1.4/services/comm.h:929:5: style: Class 'TextMsg' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] icecream-1.4/services/comm.h:949:5: style: Class 'StatusTextMsg' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] icecream-1.4/services/comm.h:983:5: style: Class 'VerifyEnvResultMsg' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] icecream-1.4/services/logging.h:143:5: style: Class 'log_block' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] icecream-1.4/services/comm.h:434:18: style: The function 'fill_from_channel' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] icecream-1.4/services/comm.h:169:18: note: Virtual function in base class icecream-1.4/services/comm.h:434:18: note: Function in derived class icecream-1.4/services/comm.h:435:18: style: The function 'send_to_channel' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] icecream-1.4/services/comm.h:170:18: note: Virtual function in base class icecream-1.4/services/comm.h:435:18: note: Function in derived class icecream-1.4/services/comm.h:467:18: style: The function 'fill_from_channel' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] icecream-1.4/services/comm.h:169:18: note: Virtual function in base class icecream-1.4/services/comm.h:467:18: note: Function in derived class icecream-1.4/services/comm.h:468:18: style: The function 'send_to_channel' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] icecream-1.4/services/comm.h:170:18: note: Virtual function in base class icecream-1.4/services/comm.h:468:18: note: Function in derived class icecream-1.4/services/comm.h:489:18: style: The function 'fill_from_channel' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] icecream-1.4/services/comm.h:169:18: note: Virtual function in base class icecream-1.4/services/comm.h:489:18: note: Function in derived class icecream-1.4/services/comm.h:490:18: style: The function 'send_to_channel' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] icecream-1.4/services/comm.h:170:18: note: Virtual function in base class icecream-1.4/services/comm.h:490:18: note: Function in derived class icecream-1.4/services/comm.h:510:18: style: The function 'fill_from_channel' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] icecream-1.4/services/comm.h:169:18: note: Virtual function in base class icecream-1.4/services/comm.h:510:18: note: Function in derived class icecream-1.4/services/comm.h:511:18: style: The function 'send_to_channel' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] icecream-1.4/services/comm.h:170:18: note: Virtual function in base class icecream-1.4/services/comm.h:511:18: note: Function in derived class icecream-1.4/services/comm.h:528:18: style: The function 'fill_from_channel' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] icecream-1.4/services/comm.h:169:18: note: Virtual function in base class icecream-1.4/services/comm.h:528:18: note: Function in derived class icecream-1.4/services/comm.h:529:18: style: The function 'send_to_channel' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] icecream-1.4/services/comm.h:170:18: note: Virtual function in base class icecream-1.4/services/comm.h:529:18: note: Function in derived class icecream-1.4/services/comm.h:542:6: style: The destructor '~CompileFileMsg' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] icecream-1.4/services/comm.h:167:14: note: Virtual destructor in base class icecream-1.4/services/comm.h:542:6: note: Destructor in derived class icecream-1.4/services/comm.h:549:18: style: The function 'fill_from_channel' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] icecream-1.4/services/comm.h:169:18: note: Virtual function in base class icecream-1.4/services/comm.h:549:18: note: Function in derived class icecream-1.4/services/comm.h:550:18: style: The function 'send_to_channel' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] icecream-1.4/services/comm.h:170:18: note: Virtual function in base class icecream-1.4/services/comm.h:550:18: note: Function in derived class icecream-1.4/services/comm.h:575:6: style: The destructor '~FileChunkMsg' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] icecream-1.4/services/comm.h:167:14: note: Virtual destructor in base class icecream-1.4/services/comm.h:575:6: note: Destructor in derived class icecream-1.4/services/comm.h:577:18: style: The function 'fill_from_channel' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] icecream-1.4/services/comm.h:169:18: note: Virtual function in base class icecream-1.4/services/comm.h:577:18: note: Function in derived class icecream-1.4/services/comm.h:578:18: style: The function 'send_to_channel' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] icecream-1.4/services/comm.h:170:18: note: Virtual function in base class icecream-1.4/services/comm.h:578:18: note: Function in derived class icecream-1.4/services/comm.h:599:18: style: The function 'fill_from_channel' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] icecream-1.4/services/comm.h:169:18: note: Virtual function in base class icecream-1.4/services/comm.h:599:18: note: Function in derived class icecream-1.4/services/comm.h:600:18: style: The function 'send_to_channel' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] icecream-1.4/services/comm.h:170:18: note: Virtual function in base class icecream-1.4/services/comm.h:600:18: note: Function in derived class icecream-1.4/services/comm.h:622:18: style: The function 'fill_from_channel' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] icecream-1.4/services/comm.h:169:18: note: Virtual function in base class icecream-1.4/services/comm.h:622:18: note: Function in derived class icecream-1.4/services/comm.h:623:18: style: The function 'send_to_channel' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] icecream-1.4/services/comm.h:170:18: note: Virtual function in base class icecream-1.4/services/comm.h:623:18: note: Function in derived class icecream-1.4/services/comm.h:664:18: style: The function 'fill_from_channel' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] icecream-1.4/services/comm.h:169:18: note: Virtual function in base class icecream-1.4/services/comm.h:664:18: note: Function in derived class icecream-1.4/services/comm.h:665:18: style: The function 'send_to_channel' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] icecream-1.4/services/comm.h:170:18: note: Virtual function in base class icecream-1.4/services/comm.h:665:18: note: Function in derived class icecream-1.4/services/comm.h:694:18: style: The function 'fill_from_channel' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] icecream-1.4/services/comm.h:169:18: note: Virtual function in base class icecream-1.4/services/comm.h:694:18: note: Function in derived class icecream-1.4/services/comm.h:695:18: style: The function 'send_to_channel' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] icecream-1.4/services/comm.h:170:18: note: Virtual function in base class icecream-1.4/services/comm.h:695:18: note: Function in derived class icecream-1.4/services/comm.h:709:18: style: The function 'fill_from_channel' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] icecream-1.4/services/comm.h:169:18: note: Virtual function in base class icecream-1.4/services/comm.h:709:18: note: Function in derived class icecream-1.4/services/comm.h:710:18: style: The function 'send_to_channel' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] icecream-1.4/services/comm.h:170:18: note: Virtual function in base class icecream-1.4/services/comm.h:710:18: note: Function in derived class icecream-1.4/services/comm.h:724:18: style: The function 'fill_from_channel' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] icecream-1.4/services/comm.h:169:18: note: Virtual function in base class icecream-1.4/services/comm.h:724:18: note: Function in derived class icecream-1.4/services/comm.h:725:18: style: The function 'send_to_channel' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] icecream-1.4/services/comm.h:170:18: note: Virtual function in base class icecream-1.4/services/comm.h:725:18: note: Function in derived class icecream-1.4/services/comm.h:745:18: style: The function 'fill_from_channel' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] icecream-1.4/services/comm.h:169:18: note: Virtual function in base class icecream-1.4/services/comm.h:745:18: note: Function in derived class icecream-1.4/services/comm.h:746:18: style: The function 'send_to_channel' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] icecream-1.4/services/comm.h:170:18: note: Virtual function in base class icecream-1.4/services/comm.h:746:18: note: Function in derived class icecream-1.4/services/comm.h:762:18: style: The function 'fill_from_channel' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] icecream-1.4/services/comm.h:169:18: note: Virtual function in base class icecream-1.4/services/comm.h:762:18: note: Function in derived class icecream-1.4/services/comm.h:763:18: style: The function 'send_to_channel' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] icecream-1.4/services/comm.h:170:18: note: Virtual function in base class icecream-1.4/services/comm.h:763:18: note: Function in derived class icecream-1.4/services/comm.h:795:18: style: The function 'fill_from_channel' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] icecream-1.4/services/comm.h:169:18: note: Virtual function in base class icecream-1.4/services/comm.h:795:18: note: Function in derived class icecream-1.4/services/comm.h:796:18: style: The function 'send_to_channel' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] icecream-1.4/services/comm.h:170:18: note: Virtual function in base class icecream-1.4/services/comm.h:796:18: note: Function in derived class icecream-1.4/services/comm.h:837:18: style: The function 'fill_from_channel' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] icecream-1.4/services/comm.h:434:18: note: Virtual function in base class icecream-1.4/services/comm.h:837:18: note: Function in derived class icecream-1.4/services/comm.h:838:18: style: The function 'send_to_channel' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] icecream-1.4/services/comm.h:435:18: note: Virtual function in base class icecream-1.4/services/comm.h:838:18: note: Function in derived class icecream-1.4/services/comm.h:859:18: style: The function 'fill_from_channel' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] icecream-1.4/services/comm.h:169:18: note: Virtual function in base class icecream-1.4/services/comm.h:859:18: note: Function in derived class icecream-1.4/services/comm.h:860:18: style: The function 'send_to_channel' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] icecream-1.4/services/comm.h:170:18: note: Virtual function in base class icecream-1.4/services/comm.h:860:18: note: Function in derived class icecream-1.4/services/comm.h:896:18: style: The function 'fill_from_channel' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] icecream-1.4/services/comm.h:169:18: note: Virtual function in base class icecream-1.4/services/comm.h:896:18: note: Function in derived class icecream-1.4/services/comm.h:897:18: style: The function 'send_to_channel' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] icecream-1.4/services/comm.h:170:18: note: Virtual function in base class icecream-1.4/services/comm.h:897:18: note: Function in derived class icecream-1.4/services/comm.h:916:18: style: The function 'fill_from_channel' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] icecream-1.4/services/comm.h:169:18: note: Virtual function in base class icecream-1.4/services/comm.h:916:18: note: Function in derived class icecream-1.4/services/comm.h:917:18: style: The function 'send_to_channel' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] icecream-1.4/services/comm.h:170:18: note: Virtual function in base class icecream-1.4/services/comm.h:917:18: note: Function in derived class icecream-1.4/services/comm.h:937:18: style: The function 'fill_from_channel' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] icecream-1.4/services/comm.h:169:18: note: Virtual function in base class icecream-1.4/services/comm.h:937:18: note: Function in derived class icecream-1.4/services/comm.h:938:18: style: The function 'send_to_channel' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] icecream-1.4/services/comm.h:170:18: note: Virtual function in base class icecream-1.4/services/comm.h:938:18: note: Function in derived class icecream-1.4/services/comm.h:953:18: style: The function 'fill_from_channel' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] icecream-1.4/services/comm.h:169:18: note: Virtual function in base class icecream-1.4/services/comm.h:953:18: note: Function in derived class icecream-1.4/services/comm.h:954:18: style: The function 'send_to_channel' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] icecream-1.4/services/comm.h:170:18: note: Virtual function in base class icecream-1.4/services/comm.h:954:18: note: Function in derived class icecream-1.4/services/comm.h:970:18: style: The function 'fill_from_channel' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] icecream-1.4/services/comm.h:169:18: note: Virtual function in base class icecream-1.4/services/comm.h:970:18: note: Function in derived class icecream-1.4/services/comm.h:971:18: style: The function 'send_to_channel' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] icecream-1.4/services/comm.h:170:18: note: Virtual function in base class icecream-1.4/services/comm.h:971:18: note: Function in derived class icecream-1.4/services/comm.h:987:18: style: The function 'fill_from_channel' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] icecream-1.4/services/comm.h:169:18: note: Virtual function in base class icecream-1.4/services/comm.h:987:18: note: Function in derived class icecream-1.4/services/comm.h:988:18: style: The function 'send_to_channel' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] icecream-1.4/services/comm.h:170:18: note: Virtual function in base class icecream-1.4/services/comm.h:988:18: note: Function in derived class icecream-1.4/services/comm.h:1005:18: style: The function 'fill_from_channel' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] icecream-1.4/services/comm.h:169:18: note: Virtual function in base class icecream-1.4/services/comm.h:1005:18: note: Function in derived class icecream-1.4/services/comm.h:1006:18: style: The function 'send_to_channel' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] icecream-1.4/services/comm.h:170:18: note: Virtual function in base class icecream-1.4/services/comm.h:1006:18: note: Function in derived class icecream-1.4/services/job.h:78:17: performance: Function 'compilerName()' should return member 'm_compiler_name' by const reference. [returnByReference] icecream-1.4/services/job.h:101:17: performance: Function 'compilerPathname()' should return member 'm_compiler_pathname' by const reference. [returnByReference] icecream-1.4/services/job.h:111:17: performance: Function 'environmentVersion()' should return member 'm_environment_version' by const reference. [returnByReference] icecream-1.4/services/job.h:133:17: performance: Function 'inputFile()' should return member 'm_input_file' by const reference. [returnByReference] icecream-1.4/services/job.h:143:17: performance: Function 'outputFile()' should return member 'm_output_file' by const reference. [returnByReference] icecream-1.4/services/job.h:164:17: performance: Function 'workingDirectory()' should return member 'm_working_directory' by const reference. [returnByReference] icecream-1.4/services/job.h:184:17: performance: Function 'targetPlatform()' should return member 'm_target_platform' by const reference. [returnByReference] icecream-1.4/services/comm.h:352:17: performance: Function 'schedulerName()' should return member 'schedname' by const reference. [returnByReference] icecream-1.4/services/comm.h:358:17: performance: Function 'networkName()' should return member 'netname' by const reference. [returnByReference] icecream-1.4/scheduler/compileserver.h:70:12: performance: Function 'nodeName()' should return member 'm_nodeName' by const reference. [returnByReference] icecream-1.4/scheduler/compileserver.h:78:12: performance: Function 'hostPlatform()' should return member 'm_hostPlatform' by const reference. [returnByReference] icecream-1.4/scheduler/compileserver.h:91:17: performance: Function 'jobList()' should return member 'm_jobList' by const reference. [returnByReference] icecream-1.4/scheduler/compileserver.h:115:18: performance: Function 'compilerVersions()' should return member 'm_compilerVersions' by const reference. [returnByReference] icecream-1.4/scheduler/compileserver.h:118:19: performance: Function 'lastCompiledJobs()' should return member 'm_lastCompiledJobs' by const reference. [returnByReference] icecream-1.4/scheduler/compileserver.h:122:19: performance: Function 'lastRequestedJobs()' should return member 'm_lastRequestedJobs' by const reference. [returnByReference] icecream-1.4/scheduler/compileserver.h:126:13: performance: Function 'cumCompiled()' should return member 'm_cumCompiled' by const reference. [returnByReference] icecream-1.4/scheduler/compileserver.h:129:13: performance: Function 'cumRequested()' should return member 'm_cumRequested' by const reference. [returnByReference] icecream-1.4/scheduler/compileserver.h:139:46: performance: Function 'blacklist()' should return member 'm_blacklist' by const reference. [returnByReference] icecream-1.4/scheduler/compileserver.cpp:511:35: style: C-style pointer casting [cstyleCast] icecream-1.4/scheduler/compileserver.cpp:484:18: style: Local variable 'blacklist' shadows outer function [shadowFunction] icecream-1.4/scheduler/compileserver.h:139:46: note: Shadowed declaration icecream-1.4/scheduler/compileserver.cpp:484:18: note: Shadow variable icecream-1.4/services/job.h:179:33: performance: Function parameter 'arg' should be passed by const reference. [passedByValue] icecream-1.4/services/comm.h:524:33: performance: Function parameter '_native' should be passed by const reference. [passedByValue] icecream-1.4/scheduler/compileserver.cpp:307:36: style: Parameter 'job' can be declared as pointer to const [constParameterPointer] icecream-1.4/scheduler/compileserver.cpp:503:21: style: Variable 'host' can be declared as pointer to const [constVariablePointer] icecream-1.4/scheduler/compileserver.cpp:578:21: style: Variable 'host' can be declared as pointer to const [constVariablePointer] icecream-1.4/services/logging.h:60:16: style: Variable 'tmp' can be declared as pointer to const [constVariablePointer] icecream-1.4/services/comm.h:829:50: style: Parameter 'm' can be declared as pointer to const [constParameterPointer] icecream-1.4/scheduler/compileserver.cpp:121:43: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] icecream-1.4/scheduler/compileserver.cpp:150:72: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] icecream-1.4/scheduler/compileserver.cpp:581:28: style: Variable 'remote_addr.sin_family' is assigned a value that is never used. [unreadVariable] icecream-1.4/scheduler/compileserver.cpp:582:26: style: Variable 'remote_addr.sin_port' is assigned a value that is never used. [unreadVariable] icecream-1.4/daemon/workit.cpp:455:29: style: Condition '!fcmsg' is always true [knownConditionTrueFalse] icecream-1.4/daemon/workit.cpp:441:31: note: Assuming that condition '!fcmsg' is not redundant icecream-1.4/daemon/workit.cpp:455:29: note: Condition '!fcmsg' is always true icecream-1.4/daemon/workit.cpp:99:41: style:inconclusive: Function 'work_it' argument 2 names different: declaration 'job_stats' definition 'job_stat'. [funcArgNamesDifferent] icecream-1.4/daemon/workit.h:54:48: note: Function 'work_it' argument 2 names different: declaration 'job_stats' definition 'job_stat'. icecream-1.4/daemon/workit.cpp:99:41: note: Function 'work_it' argument 2 names different: declaration 'job_stats' definition 'job_stat'. icecream-1.4/daemon/workit.cpp:99:91: style:inconclusive: Function 'work_it' argument 4 names different: declaration 'msg' definition 'rmsg'. [funcArgNamesDifferent] icecream-1.4/daemon/workit.h:54:99: note: Function 'work_it' argument 4 names different: declaration 'msg' definition 'rmsg'. icecream-1.4/daemon/workit.cpp:99:91: note: Function 'work_it' argument 4 names different: declaration 'msg' definition 'rmsg'. icecream-1.4/scheduler/job.h:61:18: performance: Function 'environments()' should return member 'm_environments' by const reference. [returnByReference] icecream-1.4/scheduler/job.h:75:17: performance: Function 'targetPlatform()' should return member 'm_targetPlatform' by const reference. [returnByReference] icecream-1.4/scheduler/job.h:78:17: performance: Function 'fileName()' should return member 'm_fileName' by const reference. [returnByReference] icecream-1.4/scheduler/job.h:81:22: performance: Function 'masterJobFor()' should return member 'm_masterJobFor' by const reference. [returnByReference] icecream-1.4/scheduler/job.h:87:17: performance: Function 'language()' should return member 'm_language' by const reference. [returnByReference] icecream-1.4/scheduler/job.h:90:17: performance: Function 'preferredHost()' should return member 'm_preferredHost' by const reference. [returnByReference] icecream-1.4/scheduler/job.cpp:238:27: style:inconclusive: Function 'setNiceness' argument 1 names different: declaration 'niceness' definition 'nice'. [funcArgNamesDifferent] icecream-1.4/scheduler/job.h:100:27: note: Function 'setNiceness' argument 1 names different: declaration 'niceness' definition 'nice'. icecream-1.4/scheduler/job.cpp:238:27: note: Function 'setNiceness' argument 1 names different: declaration 'niceness' definition 'nice'. icecream-1.4/scheduler/scheduler.cpp:1450:23: error: There is an unknown macro here somewhere. Configuration is required. If VERSION is a macro then please configure it. [unknownMacro] icecream-1.4/services/comm.cpp:141:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] icecream-1.4/services/comm.cpp:233:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] icecream-1.4/services/comm.cpp:364:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] icecream-1.4/services/comm.cpp:549:72: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] icecream-1.4/services/comm.cpp:643:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LZO1X_MEM_COMPRESS [valueFlowBailoutIncompleteVar] icecream-1.4/services/comm.cpp:705:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] icecream-1.4/services/comm.cpp:734:82: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable h_errno [valueFlowBailoutIncompleteVar] icecream-1.4/services/comm.cpp:766:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] icecream-1.4/services/comm.cpp:836:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] icecream-1.4/services/comm.cpp:858:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_UNIX [valueFlowBailoutIncompleteVar] icecream-1.4/services/comm.cpp:883:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] icecream-1.4/services/comm.cpp:915:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sockaddr [valueFlowBailoutIncompleteVar] icecream-1.4/services/comm.cpp:1014:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] icecream-1.4/services/comm.cpp:1051:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POLLIN [valueFlowBailoutIncompleteVar] icecream-1.4/services/comm.cpp:1122:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POLLIN [valueFlowBailoutIncompleteVar] icecream-1.4/services/comm.cpp:1159:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] icecream-1.4/services/comm.cpp:1322:104: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] icecream-1.4/services/comm.cpp:1469:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] icecream-1.4/services/comm.cpp:1517:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] icecream-1.4/services/comm.cpp:1555:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] icecream-1.4/services/comm.cpp:1582:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] icecream-1.4/services/comm.cpp:1601:100: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] icecream-1.4/services/comm.cpp:1759:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] icecream-1.4/services/comm.cpp:1841:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POLLIN [valueFlowBailoutIncompleteVar] icecream-1.4/services/comm.cpp:1902:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] icecream-1.4/services/comm.cpp:2154:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] icecream-1.4/services/comm.cpp:2188:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] icecream-1.4/services/getifaddrs.cpp:297:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] icecream-1.4/services/getifaddrs.cpp:314:32: style: Condition 'kde_getifaddrs(&addrs)<0' is always false [knownConditionTrueFalse] icecream-1.4/services/getifaddrs.cpp:314:23: note: Calling function 'kde_getifaddrs' returns 1 icecream-1.4/services/getifaddrs.cpp:314:32: note: Condition 'kde_getifaddrs(&addrs)<0' is always false icecream-1.4/services/job.h:65:5: warning: Member variable 'CompileJob::m_language' is not initialized in the constructor. [uninitMemberVar] icecream-1.4/services/job.cpp:77:14: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] icecream-1.4/services/comm.cpp:731:28: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] icecream-1.4/services/comm.cpp:1545:5: performance: Variable 'time0' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] icecream-1.4/services/comm.cpp:520:18: style:inconclusive: Technically the member function 'MsgChannel::read_environments' can be const. [functionConst] icecream-1.4/services/comm.h:218:10: note: Technically the member function 'MsgChannel::read_environments' can be const. icecream-1.4/services/comm.cpp:520:18: note: Technically the member function 'MsgChannel::read_environments' can be const. icecream-1.4/services/comm.cpp:1593:21: style:inconclusive: Technically the member function 'DiscoverSched::timed_out' can be const. [functionConst] icecream-1.4/services/comm.h:325:10: note: Technically the member function 'DiscoverSched::timed_out' can be const. icecream-1.4/services/comm.cpp:1593:21: note: Technically the member function 'DiscoverSched::timed_out' can be const. icecream-1.4/services/logging.cpp:66:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] icecream-1.4/services/logging.cpp:81:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFL [valueFlowBailoutIncompleteVar] icecream-1.4/services/logging.cpp:107:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable out [valueFlowBailoutIncompleteVar] icecream-1.4/services/logging.cpp:181:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable endl [valueFlowBailoutIncompleteVar] icecream-1.4/services/comm.cpp:148:24: style: Condition 'ret==0' is always true [knownConditionTrueFalse] icecream-1.4/services/comm.cpp:143:24: note: Assuming that condition 'ret<0' is not redundant icecream-1.4/services/comm.cpp:138:17: note: Assuming that condition 'ret>0' is not redundant icecream-1.4/services/comm.cpp:148:24: note: Condition 'ret==0' is always true icecream-1.4/services/comm.cpp:1977:46: style: Condition 'minimal_host_version<31' is always true [knownConditionTrueFalse] icecream-1.4/services/comm.cpp:1971:28: note: Assignment 'minimal_host_version=0', assigned value is 0 icecream-1.4/services/comm.cpp:1977:46: note: Condition 'minimal_host_version<31' is always true icecream-1.4/services/comm.cpp:1461:9: error: Resource leak: ask_fd [resourceLeak] icecream-1.4/services/logging.cpp:93:43: style:inconclusive: Function 'setup_debug' argument 2 names different: declaration 'logfile' definition 'filename'. [funcArgNamesDifferent] icecream-1.4/services/logging.h:51:48: note: Function 'setup_debug' argument 2 names different: declaration 'logfile' definition 'filename'. icecream-1.4/services/logging.cpp:93:43: note: Function 'setup_debug' argument 2 names different: declaration 'logfile' definition 'filename'. icecream-1.4/services/comm.cpp:919:16: warning: If memory allocation fails, then there is a possible null pointer dereference: addr [nullPointerOutOfMemory] icecream-1.4/services/comm.cpp:918:41: note: Assuming allocation function fails icecream-1.4/services/comm.cpp:918:16: note: Assignment 'addr=(struct sockaddr*)std::malloc(addr_len)', assigned value is 0 icecream-1.4/services/comm.cpp:919:16: note: Null pointer dereference icecream-1.4/services/comm.cpp:920:12: warning: If memory allocation fails, then there is a possible null pointer dereference: addr [nullPointerOutOfMemory] icecream-1.4/services/comm.cpp:918:41: note: Assuming allocation function fails icecream-1.4/services/comm.cpp:918:16: note: Assignment 'addr=(struct sockaddr*)std::malloc(addr_len)', assigned value is 0 icecream-1.4/services/comm.cpp:920:12: note: Null pointer dereference icecream-1.4/services/comm.cpp:123:17: style: C-style pointer casting [cstyleCast] icecream-1.4/services/comm.cpp:273:25: style: C-style pointer casting [cstyleCast] icecream-1.4/services/comm.cpp:334:18: style: C-style pointer casting [cstyleCast] icecream-1.4/services/comm.cpp:435:20: style: C-style pointer casting [cstyleCast] icecream-1.4/services/comm.cpp:588:42: style: C-style pointer casting [cstyleCast] icecream-1.4/services/comm.cpp:637:18: style: C-style pointer casting [cstyleCast] icecream-1.4/services/comm.cpp:642:29: style: C-style pointer casting [cstyleCast] icecream-1.4/services/comm.cpp:749:53: style: C-style pointer casting [cstyleCast] icecream-1.4/services/comm.cpp:827:40: style: C-style pointer casting [cstyleCast] icecream-1.4/services/comm.cpp:834:33: style: C-style pointer casting [cstyleCast] icecream-1.4/services/comm.cpp:845:38: style: C-style pointer casting [cstyleCast] icecream-1.4/services/comm.cpp:865:29: style: C-style pointer casting [cstyleCast] icecream-1.4/services/comm.cpp:875:38: style: C-style pointer casting [cstyleCast] icecream-1.4/services/comm.cpp:894:11: style: C-style pointer casting [cstyleCast] icecream-1.4/services/comm.cpp:895:11: style: C-style pointer casting [cstyleCast] icecream-1.4/services/comm.cpp:918:17: style: C-style pointer casting [cstyleCast] icecream-1.4/services/comm.cpp:934:14: style: C-style pointer casting [cstyleCast] icecream-1.4/services/comm.cpp:938:13: style: C-style pointer casting [cstyleCast] icecream-1.4/services/comm.cpp:949:52: style: C-style pointer casting [cstyleCast] icecream-1.4/services/comm.cpp:1085:46: style: C-style pointer casting [cstyleCast] icecream-1.4/services/comm.cpp:1476:25: style: C-style pointer casting [cstyleCast] icecream-1.4/services/comm.cpp:1486:25: style: C-style pointer casting [cstyleCast] icecream-1.4/services/comm.cpp:1495:38: style: C-style pointer casting [cstyleCast] icecream-1.4/services/comm.cpp:1500:37: style: C-style pointer casting [cstyleCast] icecream-1.4/services/comm.cpp:1502:47: style: C-style pointer casting [cstyleCast] icecream-1.4/services/comm.cpp:1749:62: style: C-style pointer casting [cstyleCast] icecream-1.4/services/comm.cpp:1751:46: style: C-style pointer casting [cstyleCast] icecream-1.4/services/comm.cpp:1808:47: style: C-style pointer casting [cstyleCast] icecream-1.4/services/comm.cpp:1814:52: style: C-style pointer casting [cstyleCast] icecream-1.4/services/comm.cpp:1821:39: style: C-style pointer casting [cstyleCast] icecream-1.4/services/comm.cpp:1827:44: style: C-style pointer casting [cstyleCast] icecream-1.4/services/comm.cpp:1855:56: style: C-style pointer casting [cstyleCast] icecream-1.4/services/ncpus.c:127:16: style: Condition '*ncpus==-1' is always true [knownConditionTrueFalse] icecream-1.4/services/ncpus.c:124:15: note: Assignment '*ncpus=-1', assigned value is -1 icecream-1.4/services/ncpus.c:127:16: note: Condition '*ncpus==-1' is always true icecream-1.4/services/pipes.cpp:31:28: style:inconclusive: Function 'create_large_pipe' argument 1 names different: declaration 'pipefd' definition 'pipefds'. [funcArgNamesDifferent] icecream-1.4/services/pipes.h:25:35: note: Function 'create_large_pipe' argument 1 names different: declaration 'pipefd' definition 'pipefds'. icecream-1.4/services/pipes.cpp:31:28: note: Function 'create_large_pipe' argument 1 names different: declaration 'pipefd' definition 'pipefds'. icecream-1.4/services/comm.cpp:535:49: style:inconclusive: Function 'readcompressed' argument 1 names different: declaration 'buf' definition 'uncompressed_buf'. [funcArgNamesDifferent] icecream-1.4/services/comm.h:214:41: note: Function 'readcompressed' argument 1 names different: declaration 'buf' definition 'uncompressed_buf'. icecream-1.4/services/comm.cpp:535:49: note: Function 'readcompressed' argument 1 names different: declaration 'buf' definition 'uncompressed_buf'. icecream-1.4/services/comm.cpp:817:50: style:inconclusive: Function 'createChannel' argument 1 names different: declaration 'host' definition 'hostname'. [funcArgNamesDifferent] icecream-1.4/services/comm.h:291:57: note: Function 'createChannel' argument 1 names different: declaration 'host' definition 'hostname'. icecream-1.4/services/comm.cpp:817:50: note: Function 'createChannel' argument 1 names different: declaration 'host' definition 'hostname'. icecream-1.4/services/comm.cpp:848:50: style:inconclusive: Function 'createChannel' argument 1 names different: declaration 'domain_socket' definition 'socket_path'. [funcArgNamesDifferent] icecream-1.4/services/comm.h:292:57: note: Function 'createChannel' argument 1 names different: declaration 'domain_socket' definition 'socket_path'. icecream-1.4/services/comm.cpp:848:50: note: Function 'createChannel' argument 1 names different: declaration 'domain_socket' definition 'socket_path'. icecream-1.4/services/comm.cpp:900:40: style:inconclusive: Function 'createChannel' argument 1 names different: declaration 'remote_fd' definition 'fd'. [funcArgNamesDifferent] icecream-1.4/services/comm.h:293:42: note: Function 'createChannel' argument 1 names different: declaration 'remote_fd' definition 'fd'. icecream-1.4/services/comm.cpp:900:40: note: Function 'createChannel' argument 1 names different: declaration 'remote_fd' definition 'fd'. icecream-1.4/services/comm.cpp:1303:45: style:inconclusive: Function 'send_msg' argument 2 names different: declaration 'SendFlags' definition 'flags'. [funcArgNamesDifferent] icecream-1.4/services/comm.h:194:36: note: Function 'send_msg' argument 2 names different: declaration 'SendFlags' definition 'flags'. icecream-1.4/services/comm.cpp:1303:45: note: Function 'send_msg' argument 2 names different: declaration 'SendFlags' definition 'flags'. icecream-1.4/services/comm.cpp:1513:63: style:inconclusive: Function 'broadcastData' argument 3 names different: declaration 'size' definition 'len'. [funcArgNamesDifferent] icecream-1.4/services/comm.h:308:62: note: Function 'broadcastData' argument 3 names different: declaration 'size' definition 'len'. icecream-1.4/services/comm.cpp:1513:63: note: Function 'broadcastData' argument 3 names different: declaration 'size' definition 'len'. icecream-1.4/services/comm.cpp:1873:45: style:inconclusive: Function 'getNetnames' argument 1 names different: declaration 'waittime' definition 'timeout'. [funcArgNamesDifferent] icecream-1.4/services/comm.h:365:51: note: Function 'getNetnames' argument 1 names different: declaration 'waittime' definition 'timeout'. icecream-1.4/services/comm.cpp:1873:45: note: Function 'getNetnames' argument 1 names different: declaration 'waittime' definition 'timeout'. icecream-1.4/services/comm.cpp:1908:31: style:inconclusive: Function 'get_netnames' argument 1 names different: declaration 'waittime' definition 'timeout'. [funcArgNamesDifferent] icecream-1.4/services/comm.h:398:41: note: Function 'get_netnames' argument 1 names different: declaration 'waittime' definition 'timeout'. icecream-1.4/services/comm.cpp:1908:31: note: Function 'get_netnames' argument 1 names different: declaration 'waittime' definition 'timeout'. icecream-1.4/services/comm.cpp:2306:28: style:inconclusive: Function 'JobDoneMsg' argument 1 names different: declaration 'job_id' definition 'id'. [funcArgNamesDifferent] icecream-1.4/services/comm.h:647:20: note: Function 'JobDoneMsg' argument 1 names different: declaration 'job_id' definition 'id'. icecream-1.4/services/comm.cpp:2306:28: note: Function 'JobDoneMsg' argument 1 names different: declaration 'job_id' definition 'id'. icecream-1.4/services/comm.cpp:2306:36: style:inconclusive: Function 'JobDoneMsg' argument 2 names different: declaration 'exitcode' definition 'exit'. [funcArgNamesDifferent] icecream-1.4/services/comm.h:647:36: note: Function 'JobDoneMsg' argument 2 names different: declaration 'exitcode' definition 'exit'. icecream-1.4/services/comm.cpp:2306:36: note: Function 'JobDoneMsg' argument 2 names different: declaration 'exitcode' definition 'exit'. icecream-1.4/services/comm.cpp:2306:55: style:inconclusive: Function 'JobDoneMsg' argument 3 names different: declaration 'flags' definition '_flags'. [funcArgNamesDifferent] icecream-1.4/services/comm.h:647:64: note: Function 'JobDoneMsg' argument 3 names different: declaration 'flags' definition '_flags'. icecream-1.4/services/comm.cpp:2306:55: note: Function 'JobDoneMsg' argument 3 names different: declaration 'flags' definition '_flags'. icecream-1.4/services/comm.cpp:2393:18: style:inconclusive: Function 'LoginMsg' argument 4 names different: declaration 'my_features' definition 'myfeatures'. [funcArgNamesDifferent] icecream-1.4/services/comm.h:719:27: note: Function 'LoginMsg' argument 4 names different: declaration 'my_features' definition 'myfeatures'. icecream-1.4/services/comm.cpp:2393:18: note: Function 'LoginMsg' argument 4 names different: declaration 'my_features' definition 'myfeatures'. icecream-1.4/services/comm.cpp:731:21: style: Variable 'host' can be declared as pointer to const [constVariablePointer] icecream-1.4/services/comm.cpp:758:59: style: Parameter 'remote_addr' can be declared as pointer to const [constParameterPointer] icecream-1.4/services/comm.cpp:893:25: style: Variable 's1' can be declared as pointer to const [constVariablePointer] icecream-1.4/services/comm.cpp:893:30: style: Variable 's2' can be declared as pointer to const [constVariablePointer] icecream-1.4/services/comm.cpp:912:50: style: Parameter '_a' can be declared as pointer to const [constParameterPointer] icecream-1.4/services/comm.cpp:998:23: style: Variable 'vers' can be declared as const array [constVariable] icecream-1.4/services/platform.cpp:49:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] icecream-1.4/services/comm.cpp:347:5: style: int result is returned as long value. If the return value is long to avoid loss of information, then you have loss of information. [truncLongCastReturn] icecream-1.4/services/comm.cpp:139:19: style: Variable 'count' is assigned a value that is never used. [unreadVariable] icecream-1.4/services/comm.cpp:196:33: style: Variable 'remote_prot' is assigned a value that is never used. [unreadVariable] icecream-1.4/services/tempfile.c:105:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] icecream-1.4/services/tempfile.c:168:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] icecream-1.4/services/tempfile.c:148:10: style: Variable 'template' can be declared as const array [constVariable] icecream-1.4/tests/clangplugin.cpp:79:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Error [valueFlowBailoutIncompleteVar] icecream-1.4/tests/clangplugin.cpp:113:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Warning [valueFlowBailoutIncompleteVar] icecream-1.4/services/util.cpp:46:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] icecream-1.4/services/util.cpp:57:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] icecream-1.4/services/util.cpp:78:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] icecream-1.4/services/util.cpp:87:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] icecream-1.4/services/util.cpp:97:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] icecream-1.4/services/util.cpp:138:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] icecream-1.4/services/util.cpp:227:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POLLERR [valueFlowBailoutIncompleteVar] icecream-1.4/tests/fsanitize.cpp:5:13: error: Dereferencing 'arr' after it is deallocated / released [deallocuse] icecream-1.4/tests/fsanitize.cpp:4:14: error: Memory is allocated but not initialized: arr [uninitdata] icecream-1.4/tests/includes-without.cpp:6:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] icecream-1.4/tests/includes.cpp:6:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] icecream-1.4/tests/messages.h:6:9: style: Unused variable: unused [unusedVariable] icecream-1.4/tests/messages.cpp:5:9: style: Unused variable: unused [unusedVariable] icecream-1.4/tests/syntaxerror.cpp:3:11: error: syntax error [syntaxError] icecream-1.4/tests/testdefine.cpp:2:0: error: #error Failed. [preprocessorErrorDirective] icecream-1.4/tests/testdefine.cpp:2:2: error: #error Failed. [preprocessorErrorDirective] icecream-1.4/unittests/args.cpp:20:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] icecream-1.4/client/arg.cpp:81:9: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] icecream-1.4/client/arg.cpp:225:5: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] icecream-1.4/client/arg.cpp:625:48: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] diff: head icecream-1.4/client/util.cpp:125:4: error: #error "No supported lock method. Please port this code." [preprocessorErrorDirective] head icecream-1.4/daemon/environment.cpp:201:84: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] head icecream-1.4/daemon/environment.cpp:59:59: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] head icecream-1.4/daemon/environment.cpp:90:59: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] head icecream-1.4/scheduler/compileserver.cpp:312:29: style:inconclusive: Technically the member function 'CompileServer::lastPickedId' can be const. [functionConst] icecream-1.4/scheduler/compileserver.h:94:18: note: Technically the member function 'CompileServer::lastPickedId' can be const. icecream-1.4/scheduler/compileserver.cpp:312:29: note: Technically the member function 'CompileServer::lastPickedId' can be const. head icecream-1.4/scheduler/compileserver.cpp:592:23: style:inconclusive: Technically the member function 'CompileServer::getConnectionTimeout' can be const. [functionConst] icecream-1.4/scheduler/compileserver.h:146:12: note: Technically the member function 'CompileServer::getConnectionTimeout' can be const. icecream-1.4/scheduler/compileserver.cpp:592:23: note: Technically the member function 'CompileServer::getConnectionTimeout' can be const. head icecream-1.4/scheduler/compileserver.cpp:600:21: style:inconclusive: Technically the member function 'CompileServer::getConnectionInProgress' can be const. [functionConst] icecream-1.4/scheduler/compileserver.h:148:10: note: Technically the member function 'CompileServer::getConnectionInProgress' can be const. icecream-1.4/scheduler/compileserver.cpp:600:21: note: Technically the member function 'CompileServer::getConnectionInProgress' can be const. 2.17.0 icecream-1.4/scheduler/compileserver.h:146:12: style:inconclusive: Technically the member function 'CompileServer::getConnectionTimeout' can be const. [functionConst] icecream-1.4/scheduler/compileserver.cpp:592:23: note: Technically the member function 'CompileServer::getConnectionTimeout' can be const. icecream-1.4/scheduler/compileserver.h:146:12: note: Technically the member function 'CompileServer::getConnectionTimeout' can be const. 2.17.0 icecream-1.4/scheduler/compileserver.h:148:10: style:inconclusive: Technically the member function 'CompileServer::getConnectionInProgress' can be const. [functionConst] icecream-1.4/scheduler/compileserver.cpp:600:21: note: Technically the member function 'CompileServer::getConnectionInProgress' can be const. icecream-1.4/scheduler/compileserver.h:148:10: note: Technically the member function 'CompileServer::getConnectionInProgress' can be const. 2.17.0 icecream-1.4/scheduler/compileserver.h:94:18: style:inconclusive: Technically the member function 'CompileServer::lastPickedId' can be const. [functionConst] icecream-1.4/scheduler/compileserver.cpp:312:29: note: Technically the member function 'CompileServer::lastPickedId' can be const. icecream-1.4/scheduler/compileserver.h:94:18: note: Technically the member function 'CompileServer::lastPickedId' can be const. head icecream-1.4/services/comm.cpp:1593:21: style:inconclusive: Technically the member function 'DiscoverSched::timed_out' can be const. [functionConst] icecream-1.4/services/comm.h:325:10: note: Technically the member function 'DiscoverSched::timed_out' can be const. icecream-1.4/services/comm.cpp:1593:21: note: Technically the member function 'DiscoverSched::timed_out' can be const. head icecream-1.4/services/comm.cpp:520:18: style:inconclusive: Technically the member function 'MsgChannel::read_environments' can be const. [functionConst] icecream-1.4/services/comm.h:218:10: note: Technically the member function 'MsgChannel::read_environments' can be const. icecream-1.4/services/comm.cpp:520:18: note: Technically the member function 'MsgChannel::read_environments' can be const. head icecream-1.4/services/comm.cpp:919:16: warning: If memory allocation fails, then there is a possible null pointer dereference: addr [nullPointerOutOfMemory] icecream-1.4/services/comm.cpp:918:41: note: Assuming allocation function fails icecream-1.4/services/comm.cpp:918:16: note: Assignment 'addr=(struct sockaddr*)std::malloc(addr_len)', assigned value is 0 icecream-1.4/services/comm.cpp:919:16: note: Null pointer dereference head icecream-1.4/services/comm.cpp:920:12: warning: If memory allocation fails, then there is a possible null pointer dereference: addr [nullPointerOutOfMemory] icecream-1.4/services/comm.cpp:918:41: note: Assuming allocation function fails icecream-1.4/services/comm.cpp:918:16: note: Assignment 'addr=(struct sockaddr*)std::malloc(addr_len)', assigned value is 0 icecream-1.4/services/comm.cpp:920:12: note: Null pointer dereference 2.17.0 icecream-1.4/services/comm.h:218:10: style:inconclusive: Technically the member function 'MsgChannel::read_environments' can be const. [functionConst] icecream-1.4/services/comm.cpp:520:18: note: Technically the member function 'MsgChannel::read_environments' can be const. icecream-1.4/services/comm.h:218:10: note: Technically the member function 'MsgChannel::read_environments' can be const. 2.17.0 icecream-1.4/services/comm.h:325:10: style:inconclusive: Technically the member function 'DiscoverSched::timed_out' can be const. [functionConst] icecream-1.4/services/comm.cpp:1593:21: note: Technically the member function 'DiscoverSched::timed_out' can be const. icecream-1.4/services/comm.h:325:10: note: Technically the member function 'DiscoverSched::timed_out' can be const. head icecream-1.4/tests/testdefine.cpp:2:2: error: #error Failed. [preprocessorErrorDirective] DONE