2025-05-06 15:40 ftp://ftp.de.debian.org/debian/pool/main/n/numexpr/numexpr_2.10.2.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=python --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: 56be00d (2025-05-06 17:27:07 +0200) count: 310 307 elapsed-time: 40.4 41.5 head-timing-info: old-timing-info: head results: numexpr-2.10.2/numexpr/module.cpp:222:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] numexpr-2.10.2/numexpr/module.cpp:278:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] numexpr-2.10.2/numexpr/module.cpp:421:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_RuntimeError [valueFlowBailoutIncompleteVar] numexpr-2.10.2/numexpr/module.cpp:481:5: warning: Return value of function PyModule_AddObject() is not used. [ignoredReturnValue] numexpr-2.10.2/numexpr/module.hpp:47:5: warning: Member variable 'global_state::threads' is not initialized in the constructor. [uninitMemberVar] numexpr-2.10.2/numexpr/module.hpp:47:5: warning: Member variable 'global_state::tids' is not initialized in the constructor. [uninitMemberVar] numexpr-2.10.2/numexpr/module.hpp:47:5: warning: Member variable 'global_state::init_sentinels_done' is not initialized in the constructor. [uninitMemberVar] numexpr-2.10.2/numexpr/module.hpp:47:5: warning: Member variable 'global_state::giveup' is not initialized in the constructor. [uninitMemberVar] numexpr-2.10.2/numexpr/module.hpp:47:5: warning: Member variable 'global_state::force_serial' is not initialized in the constructor. [uninitMemberVar] numexpr-2.10.2/numexpr/module.hpp:47:5: warning: Member variable 'global_state::count_mutex' is not initialized in the constructor. [uninitMemberVar] numexpr-2.10.2/numexpr/module.hpp:47:5: warning: Member variable 'global_state::count_threads' is not initialized in the constructor. [uninitMemberVar] numexpr-2.10.2/numexpr/module.hpp:47:5: warning: Member variable 'global_state::count_threads_mutex' is not initialized in the constructor. [uninitMemberVar] numexpr-2.10.2/numexpr/module.hpp:47:5: warning: Member variable 'global_state::count_threads_cv' is not initialized in the constructor. [uninitMemberVar] numexpr-2.10.2/numexpr/module.hpp:47:5: warning: Member variable 'global_state::parallel_mutex' is not initialized in the constructor. [uninitMemberVar] numexpr-2.10.2/numexpr/module.cpp:99:16: warning: If memory allocation fails, then there is a possible null pointer dereference: mem [nullPointerOutOfMemory] numexpr-2.10.2/numexpr/module.cpp:98:30: note: Assuming allocation function fails numexpr-2.10.2/numexpr/module.cpp:98:15: note: Assignment 'mem=(char**)std::malloc(memsize)', assigned value is 0 numexpr-2.10.2/numexpr/module.cpp:99:16: note: Null pointer dereference numexpr-2.10.2/numexpr/module.cpp:31:16: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/module.cpp:98:15: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/module.cpp:237:29: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/module.cpp:464:29: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/module.cpp:465:29: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/module.cpp:466:29: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/module.cpp:467:29: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/module.cpp:468:29: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/module.cpp:481:38: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/module.cpp:38:10: style: The scope of the variable 'pc_error' can be reduced. [variableScope] numexpr-2.10.2/numexpr/module.cpp:39:9: style: The scope of the variable 'ret' can be reduced. [variableScope] numexpr-2.10.2/numexpr/module.cpp:40:9: style: The scope of the variable 'n_inputs' can be reduced. [variableScope] numexpr-2.10.2/numexpr/module.cpp:41:9: style: The scope of the variable 'n_constants' can be reduced. [variableScope] numexpr-2.10.2/numexpr/module.cpp:42:9: style: The scope of the variable 'n_temps' can be reduced. [variableScope] numexpr-2.10.2/numexpr/module.cpp:43:12: style: The scope of the variable 'memsize' can be reduced. [variableScope] numexpr-2.10.2/numexpr/module.cpp:47:12: style: The scope of the variable 'errmsg' can be reduced. [variableScope] numexpr-2.10.2/numexpr/module.cpp:268:9: style: The scope of the variable 't' can be reduced. [variableScope] numexpr-2.10.2/numexpr/module.cpp:268:12: style: The scope of the variable 'rc' can be reduced. [variableScope] numexpr-2.10.2/numexpr/numexpr_object.cpp:29:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_TypeError [valueFlowBailoutIncompleteVar] numexpr-2.10.2/numexpr/numexpr_object.cpp:69:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] numexpr-2.10.2/numexpr/numexpr_object.cpp:116:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_TypeError [valueFlowBailoutIncompleteVar] numexpr-2.10.2/numexpr/module.cpp:383:30: style: Parameter 'self' can be declared as pointer to const. However it seems that 'Py_get_num_threads' is a callback function, if 'self' is declared with const you might also need to cast function pointer(s). [constParameterCallback] numexpr-2.10.2/numexpr/module.cpp:403:26: note: You might need to cast the function pointer here numexpr-2.10.2/numexpr/module.cpp:383:30: note: Parameter 'self' can be declared as pointer to const numexpr-2.10.2/numexpr/module.cpp:383:46: style: Parameter 'args' can be declared as pointer to const. However it seems that 'Py_get_num_threads' is a callback function, if 'args' is declared with const you might also need to cast function pointer(s). [constParameterCallback] numexpr-2.10.2/numexpr/module.cpp:403:26: note: You might need to cast the function pointer here numexpr-2.10.2/numexpr/module.cpp:383:46: note: Parameter 'args' can be declared as pointer to const numexpr-2.10.2/numexpr/module.cpp:456:11: style: Variable 'max_thread_str' can be declared as pointer to const [constVariablePointer] numexpr-2.10.2/numexpr/win32/pthread.c:62:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] numexpr-2.10.2/numexpr/win32/pthread.c:69:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INFINITE [valueFlowBailoutIncompleteVar] numexpr-2.10.2/numexpr/win32/pthread.c:127:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INFINITE [valueFlowBailoutIncompleteVar] numexpr-2.10.2/numexpr/win32/pthread.c:207:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INFINITE [valueFlowBailoutIncompleteVar] numexpr-2.10.2/numexpr/win32/pthread.h:108:41: style: Parameter 'sigs' can be declared as pointer to const [constParameterPointer] numexpr-2.10.2/numexpr/win32/pthread.h:109:40: style: Parameter 'sigs' can be declared as pointer to const [constParameterPointer] numexpr-2.10.2/numexpr/win32/pthread.h:110:39: style: Parameter 'sigs' can be declared as pointer to const [constParameterPointer] numexpr-2.10.2/numexpr/win32/pthread.h:111:39: style: Parameter 'sigs' can be declared as pointer to const [constParameterPointer] numexpr-2.10.2/numexpr/win32/pthread.h:112:54: style: Parameter 'newmask' can be declared as pointer to const [constParameterPointer] numexpr-2.10.2/numexpr/win32/pthread.h:113:45: style: Parameter 'oldmask' can be declared as pointer to const [constParameterPointer] numexpr-2.10.2/numexpr/numexpr_object.cpp:48:28: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/numexpr_object.cpp:54:27: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/numexpr_object.cpp:99:30: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/numexpr_object.cpp:99:50: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/numexpr_object.cpp:100:9: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/numexpr_object.cpp:100:28: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/numexpr_object.cpp:101:9: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/numexpr_object.cpp:126:27: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/numexpr_object.cpp:215:11: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/numexpr_object.cpp:216:14: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/numexpr_object.cpp:217:16: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/numexpr_object.cpp:218:16: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/numexpr_object.cpp:246:26: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/numexpr_object.cpp:252:25: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/numexpr_object.cpp:258:31: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/numexpr_object.cpp:266:27: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/numexpr_object.cpp:273:28: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/numexpr_object.cpp:279:28: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/numexpr_object.cpp:286:26: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/numexpr_object.cpp:266:27: portability: Casting between char * and float * which have an incompatible binary data representation. [invalidPointerCast] numexpr-2.10.2/numexpr/numexpr_object.cpp:273:28: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] numexpr-2.10.2/numexpr/numexpr_object.cpp:279:28: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] numexpr-2.10.2/numexpr/numexpr_object.cpp:287:19: style: Variable 'value' can be declared as pointer to const [constVariablePointer] numexpr-2.10.2/numexpr/interpreter.cpp:340:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NPY_BOOL [valueFlowBailoutIncompleteVar] numexpr-2.10.2/numexpr/interpreter.cpp:365:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NPY_MAXDIMS [valueFlowBailoutIncompleteVar] numexpr-2.10.2/numexpr/interpreter.cpp:382:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_RuntimeError [valueFlowBailoutIncompleteVar] numexpr-2.10.2/numexpr/interp_body.cpp:139:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npy_intp [valueFlowBailoutIncompleteVar] numexpr-2.10.2/numexpr/interpreter.cpp:761:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npy_intp [valueFlowBailoutIncompleteVar] numexpr-2.10.2/numexpr/interpreter.cpp:861:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NPY_SUCCEED [valueFlowBailoutIncompleteVar] numexpr-2.10.2/numexpr/interpreter.cpp:993:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NPY_SAFE_CASTING [valueFlowBailoutIncompleteVar] numexpr-2.10.2/numexpr/interpreter.cpp:432:59: style: Condition 'arg<0' is always false [knownConditionTrueFalse] numexpr-2.10.2/numexpr/interpreter.cpp:430:26: note: Assignment 'arg=program[argloc]', assigned value is greater than -1 numexpr-2.10.2/numexpr/interpreter.cpp:432:59: note: Condition 'arg<0' is always false numexpr-2.10.2/numexpr/interpreter.cpp:438:29: style: Condition 'arg<0' is always false [knownConditionTrueFalse] numexpr-2.10.2/numexpr/interpreter.cpp:430:26: note: Assignment 'arg=program[argloc]', assigned value is greater than -1 numexpr-2.10.2/numexpr/interpreter.cpp:432:28: note: Assuming condition is false numexpr-2.10.2/numexpr/interpreter.cpp:438:29: note: Condition 'arg<0' is always false numexpr-2.10.2/numexpr/interpreter.cpp:1438:23: style: Condition 'op>=OP_PROD' is always true [knownConditionTrueFalse] numexpr-2.10.2/numexpr/interpreter.cpp:1435:16: note: Assuming that condition 'op=OP_PROD' is always true numexpr-2.10.2/numexpr/interpreter.cpp:357:45: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interpreter.cpp:364:17: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interpreter.cpp:380:48: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interpreter.cpp:389:48: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interpreter.cpp:394:50: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interpreter.cpp:584:37: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interpreter.cpp:585:37: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interpreter.cpp:587:36: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interpreter.cpp:588:36: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interpreter.cpp:600:18: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interp_body.cpp:208:26: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interp_body.cpp:209:26: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interp_body.cpp:213:26: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interp_body.cpp:214:26: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interp_body.cpp:215:26: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interp_body.cpp:216:26: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interp_body.cpp:217:26: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interp_body.cpp:220:28: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interp_body.cpp:221:26: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interp_body.cpp:222:25: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interp_body.cpp:224:25: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interp_body.cpp:225:25: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interp_body.cpp:226:29: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interp_body.cpp:229:25: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interp_body.cpp:230:25: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interp_body.cpp:231:25: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interp_body.cpp:232:25: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interp_body.cpp:234:25: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interp_body.cpp:235:25: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interp_body.cpp:236:25: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interp_body.cpp:237:25: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interp_body.cpp:239:25: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interp_body.cpp:240:25: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interp_body.cpp:241:25: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interp_body.cpp:242:25: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interp_body.cpp:244:25: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interp_body.cpp:245:25: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interp_body.cpp:246:25: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interp_body.cpp:247:25: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interp_body.cpp:249:25: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interp_body.cpp:250:25: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interp_body.cpp:251:25: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interp_body.cpp:252:25: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interp_body.cpp:254:31: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interp_body.cpp:257:26: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interp_body.cpp:258:31: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interp_body.cpp:259:25: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interp_body.cpp:261:26: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interp_body.cpp:262:26: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interp_body.cpp:263:26: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interp_body.cpp:264:26: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interp_body.cpp:265:26: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interp_body.cpp:266:26: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interp_body.cpp:267:29: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interp_body.cpp:268:29: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interp_body.cpp:270:29: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interp_body.cpp:273:26: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interp_body.cpp:274:31: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interp_body.cpp:275:25: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interp_body.cpp:277:26: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interp_body.cpp:278:26: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interp_body.cpp:279:26: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interp_body.cpp:280:26: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interp_body.cpp:284:26: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interp_body.cpp:286:26: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interp_body.cpp:287:29: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interp_body.cpp:288:29: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interp_body.cpp:290:29: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interp_body.cpp:293:26: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interp_body.cpp:294:26: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interp_body.cpp:295:31: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interp_body.cpp:296:25: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interp_body.cpp:298:26: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interp_body.cpp:299:26: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interp_body.cpp:300:26: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interp_body.cpp:306:13: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interp_body.cpp:313:13: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interp_body.cpp:315:26: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interp_body.cpp:321:13: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interp_body.cpp:324:29: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interp_body.cpp:331:13: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interp_body.cpp:339:13: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interp_body.cpp:343:26: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interp_body.cpp:344:26: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interp_body.cpp:345:26: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interp_body.cpp:346:31: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interp_body.cpp:347:25: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interp_body.cpp:349:26: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interp_body.cpp:350:26: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interp_body.cpp:351:26: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interp_body.cpp:357:13: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interp_body.cpp:364:13: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interp_body.cpp:366:26: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interp_body.cpp:372:13: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interp_body.cpp:375:29: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interp_body.cpp:382:13: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interp_body.cpp:390:13: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interp_body.cpp:394:26: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interp_body.cpp:396:26: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interp_body.cpp:398:26: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interp_body.cpp:400:26: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interp_body.cpp:402:31: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interp_body.cpp:404:25: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interp_body.cpp:407:26: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interp_body.cpp:409:26: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interp_body.cpp:411:26: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interp_body.cpp:419:13: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interp_body.cpp:424:25: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interp_body.cpp:425:25: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interp_body.cpp:427:29: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interp_body.cpp:435:13: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interp_body.cpp:441:28: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interp_body.cpp:449:26: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interp_body.cpp:450:26: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interp_body.cpp:451:30: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interp_body.cpp:455:26: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interp_body.cpp:456:26: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interp_body.cpp:457:26: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interp_body.cpp:458:26: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interp_body.cpp:459:26: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interp_body.cpp:462:27: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interp_body.cpp:463:27: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interp_body.cpp:464:27: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interp_body.cpp:465:27: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interp_body.cpp:466:27: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interp_body.cpp:470:26: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interp_body.cpp:471:26: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interp_body.cpp:472:26: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interp_body.cpp:473:26: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interp_body.cpp:475:26: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interp_body.cpp:476:26: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interp_body.cpp:477:26: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interp_body.cpp:478:26: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interpreter.cpp:761:33: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interpreter.cpp:835:48: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interpreter.cpp:932:22: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interpreter.cpp:953:48: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interpreter.cpp:1058:23: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interpreter.cpp:1060:17: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interpreter.cpp:1087:25: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interpreter.cpp:1175:31: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interpreter.cpp:1246:27: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interpreter.cpp:1252:19: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interpreter.cpp:1271:27: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interpreter.cpp:1291:25: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interpreter.cpp:1313:15: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interpreter.cpp:1495:11: style: C-style pointer casting [cstyleCast] numexpr-2.10.2/numexpr/interp_body.cpp:215:26: portability: Casting between char * and float * which have an incompatible binary data representation. [invalidPointerCast] numexpr-2.10.2/numexpr/interp_body.cpp:216:26: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] numexpr-2.10.2/numexpr/interp_body.cpp:217:26: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] numexpr-2.10.2/numexpr/interp_body.cpp:293:26: portability: Casting between char * and float * which have an incompatible binary data representation. [invalidPointerCast] numexpr-2.10.2/numexpr/interp_body.cpp:294:26: portability: Casting between char * and float * which have an incompatible binary data representation. [invalidPointerCast] numexpr-2.10.2/numexpr/interp_body.cpp:295:31: portability: Casting between char * and float * which have an incompatible binary data representation. [invalidPointerCast] numexpr-2.10.2/numexpr/interp_body.cpp:296:25: portability: Casting between char * and float * which have an incompatible binary data representation. [invalidPointerCast] numexpr-2.10.2/numexpr/interp_body.cpp:298:26: portability: Casting between char * and float * which have an incompatible binary data representation. [invalidPointerCast] numexpr-2.10.2/numexpr/interp_body.cpp:299:26: portability: Casting between char * and float * which have an incompatible binary data representation. [invalidPointerCast] numexpr-2.10.2/numexpr/interp_body.cpp:300:26: portability: Casting between char * and float * which have an incompatible binary data representation. [invalidPointerCast] numexpr-2.10.2/numexpr/interp_body.cpp:306:13: portability: Casting between char * and float * which have an incompatible binary data representation. [invalidPointerCast] numexpr-2.10.2/numexpr/interp_body.cpp:313:13: portability: Casting between char * and float * which have an incompatible binary data representation. [invalidPointerCast] numexpr-2.10.2/numexpr/interp_body.cpp:315:26: portability: Casting between char * and float * which have an incompatible binary data representation. [invalidPointerCast] numexpr-2.10.2/numexpr/interp_body.cpp:321:13: portability: Casting between char * and float * which have an incompatible binary data representation. [invalidPointerCast] numexpr-2.10.2/numexpr/interp_body.cpp:324:29: portability: Casting between char * and float * which have an incompatible binary data representation. [invalidPointerCast] numexpr-2.10.2/numexpr/interp_body.cpp:331:13: portability: Casting between char * and float * which have an incompatible binary data representation. [invalidPointerCast] numexpr-2.10.2/numexpr/interp_body.cpp:339:13: portability: Casting between char * and float * which have an incompatible binary data representation. [invalidPointerCast] numexpr-2.10.2/numexpr/interp_body.cpp:343:26: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] numexpr-2.10.2/numexpr/interp_body.cpp:344:26: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] numexpr-2.10.2/numexpr/interp_body.cpp:345:26: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] numexpr-2.10.2/numexpr/interp_body.cpp:346:31: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] numexpr-2.10.2/numexpr/interp_body.cpp:347:25: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] numexpr-2.10.2/numexpr/interp_body.cpp:349:26: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] numexpr-2.10.2/numexpr/interp_body.cpp:350:26: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] numexpr-2.10.2/numexpr/interp_body.cpp:351:26: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] numexpr-2.10.2/numexpr/interp_body.cpp:357:13: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] numexpr-2.10.2/numexpr/interp_body.cpp:364:13: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] numexpr-2.10.2/numexpr/interp_body.cpp:366:26: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] numexpr-2.10.2/numexpr/interp_body.cpp:372:13: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] numexpr-2.10.2/numexpr/interp_body.cpp:375:29: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] numexpr-2.10.2/numexpr/interp_body.cpp:382:13: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] numexpr-2.10.2/numexpr/interp_body.cpp:390:13: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] numexpr-2.10.2/numexpr/interp_body.cpp:394:26: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] numexpr-2.10.2/numexpr/interp_body.cpp:396:26: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] numexpr-2.10.2/numexpr/interp_body.cpp:398:26: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] numexpr-2.10.2/numexpr/interp_body.cpp:400:26: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] numexpr-2.10.2/numexpr/interp_body.cpp:402:31: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] numexpr-2.10.2/numexpr/interp_body.cpp:404:25: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] numexpr-2.10.2/numexpr/interp_body.cpp:407:26: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] numexpr-2.10.2/numexpr/interp_body.cpp:409:26: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] numexpr-2.10.2/numexpr/interp_body.cpp:411:26: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] numexpr-2.10.2/numexpr/interp_body.cpp:419:13: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] numexpr-2.10.2/numexpr/interp_body.cpp:427:29: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] numexpr-2.10.2/numexpr/interp_body.cpp:435:13: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] numexpr-2.10.2/numexpr/interp_body.cpp:441:28: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] numexpr-2.10.2/numexpr/interp_body.cpp:449:26: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] numexpr-2.10.2/numexpr/interp_body.cpp:450:26: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] numexpr-2.10.2/numexpr/interp_body.cpp:451:30: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] numexpr-2.10.2/numexpr/interp_body.cpp:457:26: portability: Casting between char * and float * which have an incompatible binary data representation. [invalidPointerCast] numexpr-2.10.2/numexpr/interp_body.cpp:458:26: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] numexpr-2.10.2/numexpr/interp_body.cpp:459:26: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] numexpr-2.10.2/numexpr/interp_body.cpp:464:27: portability: Casting between char * and float * which have an incompatible binary data representation. [invalidPointerCast] numexpr-2.10.2/numexpr/interp_body.cpp:465:27: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] numexpr-2.10.2/numexpr/interp_body.cpp:466:27: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] numexpr-2.10.2/numexpr/interp_body.cpp:472:26: portability: Casting between char * and float * which have an incompatible binary data representation. [invalidPointerCast] numexpr-2.10.2/numexpr/interp_body.cpp:473:26: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] numexpr-2.10.2/numexpr/interp_body.cpp:477:26: portability: Casting between char * and float * which have an incompatible binary data representation. [invalidPointerCast] numexpr-2.10.2/numexpr/interp_body.cpp:478:26: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] numexpr-2.10.2/numexpr/complex_functions.hpp:110:12: style: The scope of the variable 's' can be reduced. [variableScope] numexpr-2.10.2/numexpr/complex_functions.hpp:110:14: style: The scope of the variable 'd' can be reduced. [variableScope] numexpr-2.10.2/numexpr/str-two-way.hpp:343:14: style: The scope of the variable 'shift' can be reduced. [variableScope] numexpr-2.10.2/numexpr/str-two-way.hpp:394:14: style: The scope of the variable 'shift' can be reduced. [variableScope] numexpr-2.10.2/numexpr/interp_body.cpp:201:20: style: The scope of the variable 'db' can be reduced. [variableScope] numexpr-2.10.2/numexpr/interpreter.cpp:319:11: style: Variable 'program_str' can be declared as pointer to const [constVariablePointer] numexpr-2.10.2/numexpr/interpreter.cpp:555:11: style: Variable 'res' can be declared as pointer to const [constVariablePointer] numexpr-2.10.2/numexpr/interpreter.cpp:625:27: style: Variable 'size_ptr' can be declared as pointer to const [constVariablePointer] numexpr-2.10.2/numexpr/interpreter.cpp:627:15: style: Variable 'iter_strides' can be declared as pointer to const [constVariablePointer] numexpr-2.10.2/numexpr/interpreter.cpp:671:27: style: Variable 'size_ptr' can be declared as pointer to const [constVariablePointer] numexpr-2.10.2/numexpr/interpreter.cpp:673:15: style: Variable 'iter_strides' can be declared as pointer to const [constVariablePointer] numexpr-2.10.2/numexpr/interpreter.cpp:950:15: style: Variable 'memsteps' can be declared as pointer to const [constVariablePointer] numexpr-2.10.2/numexpr/interp_body.cpp:411:26: style: Variable 'dest' can be declared as pointer to const [constVariablePointer] numexpr-2.10.2/numexpr/interp_body.cpp:419:13: style: Variable 'dest' can be declared as pointer to const [constVariablePointer] numexpr-2.10.2/numexpr/interp_body.cpp:435:13: style: Variable 'dest' can be declared as pointer to const [constVariablePointer] numexpr-2.10.2/numexpr/interp_body.cpp:441:28: style: Variable 'dest' can be declared as pointer to const [constVariablePointer] numexpr-2.10.2/numexpr/interpreter.cpp:492:9: style: struct member 'index_data::count' is never used. [unusedStructMember] numexpr-2.10.2/numexpr/interpreter.cpp:493:9: style: struct member 'index_data::size' is never used. [unusedStructMember] numexpr-2.10.2/numexpr/interpreter.cpp:494:9: style: struct member 'index_data::findex' is never used. [unusedStructMember] numexpr-2.10.2/numexpr/interpreter.cpp:495:15: style: struct member 'index_data::shape' is never used. [unusedStructMember] numexpr-2.10.2/numexpr/interpreter.cpp:496:15: style: struct member 'index_data::strides' is never used. [unusedStructMember] numexpr-2.10.2/numexpr/interpreter.cpp:497:10: style: struct member 'index_data::index' is never used. [unusedStructMember] numexpr-2.10.2/numexpr/interpreter.cpp:498:11: style: struct member 'index_data::buffer' is never used. [unusedStructMember] diff: head numexpr-2.10.2/numexpr/module.cpp:99:16: warning: If memory allocation fails, then there is a possible null pointer dereference: mem [nullPointerOutOfMemory] numexpr-2.10.2/numexpr/module.cpp:98:30: note: Assuming allocation function fails numexpr-2.10.2/numexpr/module.cpp:98:15: note: Assignment 'mem=(char**)std::malloc(memsize)', assigned value is 0 numexpr-2.10.2/numexpr/module.cpp:99:16: note: Null pointer dereference head numexpr-2.10.2/numexpr/numexpr_object.cpp:100:28: style: C-style pointer casting [cstyleCast] head numexpr-2.10.2/numexpr/numexpr_object.cpp:99:50: style: C-style pointer casting [cstyleCast] DONE