2025-01-28 16:11 ftp://ftp.de.debian.org/debian/pool/main/h/haskell-hmatrix/haskell-hmatrix_0.20.2.orig.tar.gz cppcheck-options: --library=posix --library=gnu --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 -j1 platform: Linux-6.8.0-52-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.65 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04) 14.2.0 cppcheck: head 2.16.0 head-info: fb8bd0e (2025-01-28 14:04:25 +0100) count: 56 2 elapsed-time: 1.9 0.2 head-timing-info: old-timing-info: head results: hmatrix-0.20.2/src/Internal/C/lapack-aux.c:2003:21: warning: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] hmatrix-0.20.2/src/Internal/C/lapack-aux.c:1999:16: note: Assuming allocation function fails hmatrix-0.20.2/src/Internal/C/lapack-aux.c:1999:16: note: Assignment 'fp=fopen(file,"w")', assigned value is 0 hmatrix-0.20.2/src/Internal/C/lapack-aux.c:2003:21: note: Null pointer dereference hmatrix-0.20.2/src/Internal/C/lapack-aux.c:2011:12: warning: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] hmatrix-0.20.2/src/Internal/C/lapack-aux.c:1999:16: note: Assuming allocation function fails hmatrix-0.20.2/src/Internal/C/lapack-aux.c:1999:16: note: Assignment 'fp=fopen(file,"w")', assigned value is 0 hmatrix-0.20.2/src/Internal/C/lapack-aux.c:2011:12: note: Null pointer dereference hmatrix-0.20.2/src/Internal/C/lapack-aux.c:1838:1: style: Parameter 'pa' can be declared as pointer to const [constParameterPointer] hmatrix-0.20.2/src/Internal/C/lapack-aux.c:1839:1: style: Parameter 'pa' can be declared as pointer to const [constParameterPointer] hmatrix-0.20.2/src/Internal/C/lapack-aux.c:1840:1: style: Parameter 'pa' can be declared as pointer to const [constParameterPointer] hmatrix-0.20.2/src/Internal/C/lapack-aux.c:1841:1: style: Parameter 'pa' can be declared as pointer to const [constParameterPointer] hmatrix-0.20.2/src/Internal/C/lapack-aux.c:1842:1: style: Parameter 'pa' can be declared as pointer to const [constParameterPointer] hmatrix-0.20.2/src/Internal/C/lapack-aux.c:1843:1: style: Parameter 'pa' can be declared as pointer to const [constParameterPointer] hmatrix-0.20.2/src/Internal/C/lapack-aux.c:1844:1: style: Parameter 'pa' can be declared as pointer to const [constParameterPointer] hmatrix-0.20.2/src/Internal/C/lapack-aux.c:1845:1: style: Parameter 'pa' can be declared as pointer to const [constParameterPointer] hmatrix-0.20.2/src/Internal/C/lapack-aux.c:1863:1: style: Parameter 'cp' can be declared as pointer to const [constParameterPointer] hmatrix-0.20.2/src/Internal/C/lapack-aux.c:1864:1: style: Parameter 'cp' can be declared as pointer to const [constParameterPointer] hmatrix-0.20.2/src/Internal/C/lapack-aux.c:1865:1: style: Parameter 'cp' can be declared as pointer to const [constParameterPointer] hmatrix-0.20.2/src/Internal/C/lapack-aux.c:1866:1: style: Parameter 'cp' can be declared as pointer to const [constParameterPointer] hmatrix-0.20.2/src/Internal/C/lapack-aux.c:1867:1: style: Parameter 'cp' can be declared as pointer to const [constParameterPointer] hmatrix-0.20.2/src/Internal/C/lapack-aux.c:1868:1: style: Parameter 'cp' can be declared as pointer to const [constParameterPointer] hmatrix-0.20.2/src/Internal/C/lapack-aux.c:1887:1: style: Parameter 'cp' can be declared as pointer to const [constParameterPointer] hmatrix-0.20.2/src/Internal/C/lapack-aux.c:1888:1: style: Parameter 'cp' can be declared as pointer to const [constParameterPointer] hmatrix-0.20.2/src/Internal/C/lapack-aux.c:1997:23: style: Parameter 'file' can be declared as pointer to const [constParameterPointer] hmatrix-0.20.2/src/Internal/C/lapack-aux.c:1997:36: style: Parameter 'format' can be declared as pointer to const [constParameterPointer] hmatrix-0.20.2/src/Internal/C/vector-aux.c:1080:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] hmatrix-0.20.2/src/Internal/C/vector-aux.c:1115:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable random_data [valueFlowBailoutIncompleteVar] hmatrix-0.20.2/src/Internal/C/vector-aux.c:922:13: error: Common realloc mistake: 'p' nulled but not freed upon failure [memleakOnRealloc] hmatrix-0.20.2/src/Internal/C/vector-aux.c:925:9: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] hmatrix-0.20.2/src/Internal/C/vector-aux.c:911:33: note: Assuming allocation function fails hmatrix-0.20.2/src/Internal/C/vector-aux.c:911:18: note: Assignment 'p=(double*)malloc(nbuf*sizeof(double))', assigned value is 0 hmatrix-0.20.2/src/Internal/C/vector-aux.c:917:15: note: Assuming condition is false hmatrix-0.20.2/src/Internal/C/vector-aux.c:925:9: note: Null pointer dereference hmatrix-0.20.2/src/Internal/C/vector-aux.c:1220:5: warning: If memory allocation fails, then there is a possible null pointer dereference: x [nullPointerOutOfMemory] hmatrix-0.20.2/src/Internal/C/vector-aux.c:1220:5: note: Assuming allocation function fails hmatrix-0.20.2/src/Internal/C/vector-aux.c:1220:5: note: Assignment 'x=(struct DI*)malloc(sizeof(struct DI)*vn)', assigned value is 0 hmatrix-0.20.2/src/Internal/C/vector-aux.c:1220:5: note: Null pointer dereference hmatrix-0.20.2/src/Internal/C/vector-aux.c:1231:5: warning: If memory allocation fails, then there is a possible null pointer dereference: x [nullPointerOutOfMemory] hmatrix-0.20.2/src/Internal/C/vector-aux.c:1231:5: note: Assuming allocation function fails hmatrix-0.20.2/src/Internal/C/vector-aux.c:1231:5: note: Assignment 'x=(struct FI*)malloc(sizeof(struct FI)*vn)', assigned value is 0 hmatrix-0.20.2/src/Internal/C/vector-aux.c:1231:5: note: Null pointer dereference hmatrix-0.20.2/src/Internal/C/vector-aux.c:1242:5: warning: If memory allocation fails, then there is a possible null pointer dereference: x [nullPointerOutOfMemory] hmatrix-0.20.2/src/Internal/C/vector-aux.c:1242:5: note: Assuming allocation function fails hmatrix-0.20.2/src/Internal/C/vector-aux.c:1242:5: note: Assignment 'x=(struct II*)malloc(sizeof(struct II)*vn)', assigned value is 0 hmatrix-0.20.2/src/Internal/C/vector-aux.c:1242:5: note: Null pointer dereference hmatrix-0.20.2/src/Internal/C/vector-aux.c:1253:5: warning: If memory allocation fails, then there is a possible null pointer dereference: x [nullPointerOutOfMemory] hmatrix-0.20.2/src/Internal/C/vector-aux.c:1253:5: note: Assuming allocation function fails hmatrix-0.20.2/src/Internal/C/vector-aux.c:1253:5: note: Assignment 'x=(struct II*)malloc(sizeof(struct II)*vn)', assigned value is 0 hmatrix-0.20.2/src/Internal/C/vector-aux.c:1253:5: note: Null pointer dereference hmatrix-0.20.2/src/Internal/C/vector-aux.c:609:10: style: Variable 'x2p' can be declared as pointer to const [constVariablePointer] hmatrix-0.20.2/src/Internal/C/vector-aux.c:659:10: style: Variable 'x2p' can be declared as pointer to const [constVariablePointer] hmatrix-0.20.2/src/Internal/C/vector-aux.c:687:31: style: Parameter 'pval' can be declared as pointer to const [constParameterPointer] hmatrix-0.20.2/src/Internal/C/vector-aux.c:703:30: style: Parameter 'pval' can be declared as pointer to const [constParameterPointer] hmatrix-0.20.2/src/Internal/C/vector-aux.c:719:28: style: Parameter 'pval' can be declared as pointer to const [constParameterPointer] hmatrix-0.20.2/src/Internal/C/vector-aux.c:735:32: style: Parameter 'pval' can be declared as pointer to const [constParameterPointer] hmatrix-0.20.2/src/Internal/C/vector-aux.c:762:10: style: Variable 'x2p' can be declared as pointer to const [constVariablePointer] hmatrix-0.20.2/src/Internal/C/vector-aux.c:781:10: style: Variable 'x2p' can be declared as pointer to const [constVariablePointer] hmatrix-0.20.2/src/Internal/C/vector-aux.c:865:10: style: Variable 'a2p' can be declared as pointer to const [constVariablePointer] hmatrix-0.20.2/src/Internal/C/vector-aux.c:866:10: style: Variable 'b2p' can be declared as pointer to const [constVariablePointer] hmatrix-0.20.2/src/Internal/C/vector-aux.c:887:10: style: Variable 'a2p' can be declared as pointer to const [constVariablePointer] hmatrix-0.20.2/src/Internal/C/vector-aux.c:888:10: style: Variable 'b2p' can be declared as pointer to const [constVariablePointer] hmatrix-0.20.2/src/Internal/C/vector-aux.c:904:23: style: Parameter 'file' can be declared as pointer to const [constParameterPointer] hmatrix-0.20.2/src/Internal/C/vector-aux.c:1342:23: style: Parameter 'pval' can be declared as pointer to const [constParameterPointer] hmatrix-0.20.2/src/Internal/C/vector-aux.c:1352:24: style: Parameter 'pval' can be declared as pointer to const [constParameterPointer] hmatrix-0.20.2/src/Internal/C/vector-aux.c:1362:24: style: Parameter 'pval' can be declared as pointer to const [constParameterPointer] hmatrix-0.20.2/src/Internal/C/vector-aux.c:1372:30: style: Parameter 'pval' can be declared as pointer to const [constParameterPointer] hmatrix-0.20.2/src/Internal/C/vector-aux.c:1384:21: style: Parameter 'pval' can be declared as pointer to const [constParameterPointer] hmatrix-0.20.2/src/Internal/C/vector-aux.c:1396:25: style: Parameter 'pval' can be declared as pointer to const [constParameterPointer] hmatrix-0.20.2/src/Internal/C/vector-aux.c:1416:18: style: Parameter 'xp' can be declared as pointer to const [constParameterPointer] hmatrix-0.20.2/src/Internal/C/vector-aux.c:1420:18: style: Parameter 'xp' can be declared as pointer to const [constParameterPointer] hmatrix-0.20.2/src/Internal/C/vector-aux.c:1088:12: warning: Uninitialized variable: *pV1 [uninitvar] hmatrix-0.20.2/src/Internal/C/vector-aux.c:1135:46: note: Calling function 'gaussrand', 3rd argument '&V1' value is hmatrix-0.20.2/src/Internal/C/vector-aux.c:1088:12: note: Uninitialized variable: *pV1 hmatrix-0.20.2/src/Internal/C/vector-aux.c:1088:21: warning: Uninitialized variable: *pV2 [uninitvar] hmatrix-0.20.2/src/Internal/C/vector-aux.c:1135:50: note: Calling function 'gaussrand', 4th argument '&V2' value is hmatrix-0.20.2/src/Internal/C/vector-aux.c:1088:21: note: Uninitialized variable: *pV2 hmatrix-0.20.2/src/Internal/C/vector-aux.c:1088:29: warning: Uninitialized variable: *pS [uninitvar] hmatrix-0.20.2/src/Internal/C/vector-aux.c:1135:54: note: Calling function 'gaussrand', 5th argument '&S' value is hmatrix-0.20.2/src/Internal/C/vector-aux.c:1088:29: note: Uninitialized variable: *pS hmatrix-0.20.2/src/Internal/C/vector-aux.c:1246:25: style: struct member 'LI::pos' is never used. [unusedStructMember] hmatrix-0.20.2/src/Internal/C/vector-aux.c:1088:13: error: Using argument pV1 that points at uninitialized variable V1 [ctuuninitvar] hmatrix-0.20.2/src/Internal/C/vector-aux.c:1135:30: note: Calling function gaussrand, 3rd argument is uninitialized hmatrix-0.20.2/src/Internal/C/vector-aux.c:1088:13: note: Using argument pV1 hmatrix-0.20.2/src/Internal/C/vector-aux.c:1088:22: error: Using argument pV2 that points at uninitialized variable V2 [ctuuninitvar] hmatrix-0.20.2/src/Internal/C/vector-aux.c:1135:30: note: Calling function gaussrand, 4th argument is uninitialized hmatrix-0.20.2/src/Internal/C/vector-aux.c:1088:22: note: Using argument pV2 hmatrix-0.20.2/src/Internal/C/vector-aux.c:1088:30: error: Using argument pS that points at uninitialized variable S [ctuuninitvar] hmatrix-0.20.2/src/Internal/C/vector-aux.c:1135:30: note: Calling function gaussrand, 5th argument is uninitialized hmatrix-0.20.2/src/Internal/C/vector-aux.c:1088:30: note: Using argument pS diff: 2.16.0 hmatrix-0.20.2/src/Internal/C/lapack-aux.c:126:5: error: There is an unknown macro here somewhere. Configuration is required. If MACRO is a macro then please configure it. [unknownMacro] head hmatrix-0.20.2/src/Internal/C/lapack-aux.c:1838:1: style: Parameter 'pa' can be declared as pointer to const [constParameterPointer] head hmatrix-0.20.2/src/Internal/C/lapack-aux.c:1839:1: style: Parameter 'pa' can be declared as pointer to const [constParameterPointer] head hmatrix-0.20.2/src/Internal/C/lapack-aux.c:1840:1: style: Parameter 'pa' can be declared as pointer to const [constParameterPointer] head hmatrix-0.20.2/src/Internal/C/lapack-aux.c:1841:1: style: Parameter 'pa' can be declared as pointer to const [constParameterPointer] head hmatrix-0.20.2/src/Internal/C/lapack-aux.c:1842:1: style: Parameter 'pa' can be declared as pointer to const [constParameterPointer] head hmatrix-0.20.2/src/Internal/C/lapack-aux.c:1843:1: style: Parameter 'pa' can be declared as pointer to const [constParameterPointer] head hmatrix-0.20.2/src/Internal/C/lapack-aux.c:1844:1: style: Parameter 'pa' can be declared as pointer to const [constParameterPointer] head hmatrix-0.20.2/src/Internal/C/lapack-aux.c:1845:1: style: Parameter 'pa' can be declared as pointer to const [constParameterPointer] head hmatrix-0.20.2/src/Internal/C/lapack-aux.c:1863:1: style: Parameter 'cp' can be declared as pointer to const [constParameterPointer] head hmatrix-0.20.2/src/Internal/C/lapack-aux.c:1864:1: style: Parameter 'cp' can be declared as pointer to const [constParameterPointer] head hmatrix-0.20.2/src/Internal/C/lapack-aux.c:1865:1: style: Parameter 'cp' can be declared as pointer to const [constParameterPointer] head hmatrix-0.20.2/src/Internal/C/lapack-aux.c:1866:1: style: Parameter 'cp' can be declared as pointer to const [constParameterPointer] head hmatrix-0.20.2/src/Internal/C/lapack-aux.c:1867:1: style: Parameter 'cp' can be declared as pointer to const [constParameterPointer] head hmatrix-0.20.2/src/Internal/C/lapack-aux.c:1868:1: style: Parameter 'cp' can be declared as pointer to const [constParameterPointer] head hmatrix-0.20.2/src/Internal/C/lapack-aux.c:1887:1: style: Parameter 'cp' can be declared as pointer to const [constParameterPointer] head hmatrix-0.20.2/src/Internal/C/lapack-aux.c:1888:1: style: Parameter 'cp' can be declared as pointer to const [constParameterPointer] head hmatrix-0.20.2/src/Internal/C/lapack-aux.c:1997:23: style: Parameter 'file' can be declared as pointer to const [constParameterPointer] head hmatrix-0.20.2/src/Internal/C/lapack-aux.c:1997:36: style: Parameter 'format' can be declared as pointer to const [constParameterPointer] head hmatrix-0.20.2/src/Internal/C/lapack-aux.c:2003:21: warning: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] hmatrix-0.20.2/src/Internal/C/lapack-aux.c:1999:16: note: Assuming allocation function fails hmatrix-0.20.2/src/Internal/C/lapack-aux.c:1999:16: note: Assignment 'fp=fopen(file,"w")', assigned value is 0 hmatrix-0.20.2/src/Internal/C/lapack-aux.c:2003:21: note: Null pointer dereference head hmatrix-0.20.2/src/Internal/C/lapack-aux.c:2011:12: warning: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] hmatrix-0.20.2/src/Internal/C/lapack-aux.c:1999:16: note: Assuming allocation function fails hmatrix-0.20.2/src/Internal/C/lapack-aux.c:1999:16: note: Assignment 'fp=fopen(file,"w")', assigned value is 0 hmatrix-0.20.2/src/Internal/C/lapack-aux.c:2011:12: note: Null pointer dereference head hmatrix-0.20.2/src/Internal/C/vector-aux.c:1080:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] head hmatrix-0.20.2/src/Internal/C/vector-aux.c:1088:12: warning: Uninitialized variable: *pV1 [uninitvar] hmatrix-0.20.2/src/Internal/C/vector-aux.c:1135:46: note: Calling function 'gaussrand', 3rd argument '&V1' value is hmatrix-0.20.2/src/Internal/C/vector-aux.c:1088:12: note: Uninitialized variable: *pV1 head hmatrix-0.20.2/src/Internal/C/vector-aux.c:1088:13: error: Using argument pV1 that points at uninitialized variable V1 [ctuuninitvar] hmatrix-0.20.2/src/Internal/C/vector-aux.c:1135:30: note: Calling function gaussrand, 3rd argument is uninitialized hmatrix-0.20.2/src/Internal/C/vector-aux.c:1088:13: note: Using argument pV1 head hmatrix-0.20.2/src/Internal/C/vector-aux.c:1088:21: warning: Uninitialized variable: *pV2 [uninitvar] hmatrix-0.20.2/src/Internal/C/vector-aux.c:1135:50: note: Calling function 'gaussrand', 4th argument '&V2' value is hmatrix-0.20.2/src/Internal/C/vector-aux.c:1088:21: note: Uninitialized variable: *pV2 head hmatrix-0.20.2/src/Internal/C/vector-aux.c:1088:22: error: Using argument pV2 that points at uninitialized variable V2 [ctuuninitvar] hmatrix-0.20.2/src/Internal/C/vector-aux.c:1135:30: note: Calling function gaussrand, 4th argument is uninitialized hmatrix-0.20.2/src/Internal/C/vector-aux.c:1088:22: note: Using argument pV2 head hmatrix-0.20.2/src/Internal/C/vector-aux.c:1088:29: warning: Uninitialized variable: *pS [uninitvar] hmatrix-0.20.2/src/Internal/C/vector-aux.c:1135:54: note: Calling function 'gaussrand', 5th argument '&S' value is hmatrix-0.20.2/src/Internal/C/vector-aux.c:1088:29: note: Uninitialized variable: *pS head hmatrix-0.20.2/src/Internal/C/vector-aux.c:1088:30: error: Using argument pS that points at uninitialized variable S [ctuuninitvar] hmatrix-0.20.2/src/Internal/C/vector-aux.c:1135:30: note: Calling function gaussrand, 5th argument is uninitialized hmatrix-0.20.2/src/Internal/C/vector-aux.c:1088:30: note: Using argument pS head hmatrix-0.20.2/src/Internal/C/vector-aux.c:1115:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable random_data [valueFlowBailoutIncompleteVar] head hmatrix-0.20.2/src/Internal/C/vector-aux.c:1220:5: warning: If memory allocation fails, then there is a possible null pointer dereference: x [nullPointerOutOfMemory] hmatrix-0.20.2/src/Internal/C/vector-aux.c:1220:5: note: Assuming allocation function fails hmatrix-0.20.2/src/Internal/C/vector-aux.c:1220:5: note: Assignment 'x=(struct DI*)malloc(sizeof(struct DI)*vn)', assigned value is 0 hmatrix-0.20.2/src/Internal/C/vector-aux.c:1220:5: note: Null pointer dereference head hmatrix-0.20.2/src/Internal/C/vector-aux.c:1231:5: warning: If memory allocation fails, then there is a possible null pointer dereference: x [nullPointerOutOfMemory] hmatrix-0.20.2/src/Internal/C/vector-aux.c:1231:5: note: Assuming allocation function fails hmatrix-0.20.2/src/Internal/C/vector-aux.c:1231:5: note: Assignment 'x=(struct FI*)malloc(sizeof(struct FI)*vn)', assigned value is 0 hmatrix-0.20.2/src/Internal/C/vector-aux.c:1231:5: note: Null pointer dereference head hmatrix-0.20.2/src/Internal/C/vector-aux.c:1242:5: warning: If memory allocation fails, then there is a possible null pointer dereference: x [nullPointerOutOfMemory] hmatrix-0.20.2/src/Internal/C/vector-aux.c:1242:5: note: Assuming allocation function fails hmatrix-0.20.2/src/Internal/C/vector-aux.c:1242:5: note: Assignment 'x=(struct II*)malloc(sizeof(struct II)*vn)', assigned value is 0 hmatrix-0.20.2/src/Internal/C/vector-aux.c:1242:5: note: Null pointer dereference head hmatrix-0.20.2/src/Internal/C/vector-aux.c:1246:25: style: struct member 'LI::pos' is never used. [unusedStructMember] head hmatrix-0.20.2/src/Internal/C/vector-aux.c:1253:5: warning: If memory allocation fails, then there is a possible null pointer dereference: x [nullPointerOutOfMemory] hmatrix-0.20.2/src/Internal/C/vector-aux.c:1253:5: note: Assuming allocation function fails hmatrix-0.20.2/src/Internal/C/vector-aux.c:1253:5: note: Assignment 'x=(struct II*)malloc(sizeof(struct II)*vn)', assigned value is 0 hmatrix-0.20.2/src/Internal/C/vector-aux.c:1253:5: note: Null pointer dereference head hmatrix-0.20.2/src/Internal/C/vector-aux.c:1342:23: style: Parameter 'pval' can be declared as pointer to const [constParameterPointer] head hmatrix-0.20.2/src/Internal/C/vector-aux.c:1352:24: style: Parameter 'pval' can be declared as pointer to const [constParameterPointer] head hmatrix-0.20.2/src/Internal/C/vector-aux.c:1362:24: style: Parameter 'pval' can be declared as pointer to const [constParameterPointer] head hmatrix-0.20.2/src/Internal/C/vector-aux.c:1372:30: style: Parameter 'pval' can be declared as pointer to const [constParameterPointer] head hmatrix-0.20.2/src/Internal/C/vector-aux.c:1384:21: style: Parameter 'pval' can be declared as pointer to const [constParameterPointer] head hmatrix-0.20.2/src/Internal/C/vector-aux.c:1396:25: style: Parameter 'pval' can be declared as pointer to const [constParameterPointer] head hmatrix-0.20.2/src/Internal/C/vector-aux.c:1416:18: style: Parameter 'xp' can be declared as pointer to const [constParameterPointer] head hmatrix-0.20.2/src/Internal/C/vector-aux.c:1420:18: style: Parameter 'xp' can be declared as pointer to const [constParameterPointer] 2.16.0 hmatrix-0.20.2/src/Internal/C/vector-aux.c:43:5: error: There is an unknown macro here somewhere. Configuration is required. If MACRO is a macro then please configure it. [unknownMacro] head hmatrix-0.20.2/src/Internal/C/vector-aux.c:609:10: style: Variable 'x2p' can be declared as pointer to const [constVariablePointer] head hmatrix-0.20.2/src/Internal/C/vector-aux.c:659:10: style: Variable 'x2p' can be declared as pointer to const [constVariablePointer] head hmatrix-0.20.2/src/Internal/C/vector-aux.c:687:31: style: Parameter 'pval' can be declared as pointer to const [constParameterPointer] head hmatrix-0.20.2/src/Internal/C/vector-aux.c:703:30: style: Parameter 'pval' can be declared as pointer to const [constParameterPointer] head hmatrix-0.20.2/src/Internal/C/vector-aux.c:719:28: style: Parameter 'pval' can be declared as pointer to const [constParameterPointer] head hmatrix-0.20.2/src/Internal/C/vector-aux.c:735:32: style: Parameter 'pval' can be declared as pointer to const [constParameterPointer] head hmatrix-0.20.2/src/Internal/C/vector-aux.c:762:10: style: Variable 'x2p' can be declared as pointer to const [constVariablePointer] head hmatrix-0.20.2/src/Internal/C/vector-aux.c:781:10: style: Variable 'x2p' can be declared as pointer to const [constVariablePointer] head hmatrix-0.20.2/src/Internal/C/vector-aux.c:865:10: style: Variable 'a2p' can be declared as pointer to const [constVariablePointer] head hmatrix-0.20.2/src/Internal/C/vector-aux.c:866:10: style: Variable 'b2p' can be declared as pointer to const [constVariablePointer] head hmatrix-0.20.2/src/Internal/C/vector-aux.c:887:10: style: Variable 'a2p' can be declared as pointer to const [constVariablePointer] head hmatrix-0.20.2/src/Internal/C/vector-aux.c:888:10: style: Variable 'b2p' can be declared as pointer to const [constVariablePointer] head hmatrix-0.20.2/src/Internal/C/vector-aux.c:904:23: style: Parameter 'file' can be declared as pointer to const [constParameterPointer] head hmatrix-0.20.2/src/Internal/C/vector-aux.c:922:13: error: Common realloc mistake: 'p' nulled but not freed upon failure [memleakOnRealloc] head hmatrix-0.20.2/src/Internal/C/vector-aux.c:925:9: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] hmatrix-0.20.2/src/Internal/C/vector-aux.c:911:33: note: Assuming allocation function fails hmatrix-0.20.2/src/Internal/C/vector-aux.c:911:18: note: Assignment 'p=(double*)malloc(nbuf*sizeof(double))', assigned value is 0 hmatrix-0.20.2/src/Internal/C/vector-aux.c:917:15: note: Assuming condition is false hmatrix-0.20.2/src/Internal/C/vector-aux.c:925:9: note: Null pointer dereference DONE