2026-05-02 04:34 ftp://ftp.de.debian.org/debian/pool/main/g/glewmx/glewmx_1.13.0.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=opengl --library=motif --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-1047-aws-aarch64-with-glibc2.35 python: 3.10.12 client-version: 1.4.0 compiler: g++ (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0 cppcheck: head 2.20.0 head-info: e5c4a73 (2026-05-01 11:10:43 +0200) count: 42 41 elapsed-time: 1.0 0.9 head-timing-info: old-timing-info: head results: glew-1.13.0/auto/src/glew_head.c:224:29: warning: Comparison is wrong. Result of '(*a)+i' can't be 0 unless there is pointer overflow, and pointer overflow is undefined behaviour. [pointerAdditionResultNotNull] glew-1.13.0/auto/src/glew_head.c:224:44: warning: Comparison is wrong. Result of 'b+i' can't be 0 unless there is pointer overflow, and pointer overflow is undefined behaviour. [pointerAdditionResultNotNull] glew-1.13.0/auto/src/glew_head.c:240:29: warning: Comparison is wrong. Result of '(*a)+i' can't be 0 unless there is pointer overflow, and pointer overflow is undefined behaviour. [pointerAdditionResultNotNull] glew-1.13.0/auto/src/glew_head.c:240:44: warning: Comparison is wrong. Result of 'b+i' can't be 0 unless there is pointer overflow, and pointer overflow is undefined behaviour. [pointerAdditionResultNotNull] glew-1.13.0/auto/src/glew_head.c:256:29: warning: Comparison is wrong. Result of '(*a)+i' can't be 0 unless there is pointer overflow, and pointer overflow is undefined behaviour. [pointerAdditionResultNotNull] glew-1.13.0/auto/src/glew_head.c:256:44: warning: Comparison is wrong. Result of 'b+i' can't be 0 unless there is pointer overflow, and pointer overflow is undefined behaviour. [pointerAdditionResultNotNull] glew-1.13.0/auto/src/glew_init_gl.c:20:1: error: Unmatched '{'. Configuration: '__GNUC__=1'. [syntaxError] glew-1.13.0/auto/src/glew_init_glx.c:20:1: error: Unmatched '{'. Configuration: '__GNUC__=1'. [syntaxError] glew-1.13.0/auto/src/glew_init_wgl.c:28:1: error: Unmatched '{'. Configuration: '__GNUC__=1'. [syntaxError] glew-1.13.0/auto/src/glew_str_glx.c:7:2: error: #elif without #if [syntaxError] glew-1.13.0/auto/src/glew_str_head.c:13:5: error: Unmatched '{'. Configuration: '__GNUC__=1'. [syntaxError] glew-1.13.0/auto/src/glew_str_tail.c:7:2: error: #endif without #if [syntaxError] glew-1.13.0/auto/src/glew_str_wgl.c:1:5: error: Unmatched '}'. Configuration: '__GNUC__=1'. [syntaxError] glew-1.13.0/auto/src/glewinfo_gl.c:4:1: error: Unmatched '{'. Configuration: '__GNUC__=1'. [syntaxError] glew-1.13.0/auto/src/glewinfo_glx.c:3:2: error: #else without #if [syntaxError] glew-1.13.0/auto/src/glewinfo_head.c:40:15: style: struct member 'createParams::display' is never used. [unusedStructMember] glew-1.13.0/auto/src/glewinfo_head.c:41:15: style: struct member 'createParams::visual' is never used. [unusedStructMember] glew-1.13.0/auto/src/glewinfo_head.c:43:15: style: struct member 'createParams::major' is never used. [unusedStructMember] glew-1.13.0/auto/src/glewinfo_head.c:43:22: style: struct member 'createParams::minor' is never used. [unusedStructMember] glew-1.13.0/auto/src/glewinfo_head.c:46:15: style: struct member 'createParams::profile' is never used. [unusedStructMember] glew-1.13.0/auto/src/glewinfo_head.c:47:15: style: struct member 'createParams::flags' is never used. [unusedStructMember] glew-1.13.0/auto/src/glewinfo_tail.c:3:2: error: #endif without #if [syntaxError] glew-1.13.0/auto/src/glewinfo_wgl.c:1:1: error: Unmatched '}'. Configuration: '__GNUC__=1'. [syntaxError] glew-1.13.0/build/cmake/testbuild/main.c:15:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLEW_VERSION [valueFlowBailoutIncompleteVar] glew-1.13.0/src/glew.c:9277:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_EXTENSIONS [valueFlowBailoutIncompleteVar] glew-1.13.0/src/glew.c:9297:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_VERSION [valueFlowBailoutIncompleteVar] glew-1.13.0/src/glew.c:13090:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable glXGetCurrentDisplay [valueFlowBailoutIncompleteVar] glew-1.13.0/src/glew.c:13107:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLEW_ERROR_GLX_VERSION_11_ONLY [valueFlowBailoutIncompleteVar] glew-1.13.0/src/glew.c:256:29: warning: Comparison is wrong. Result of '(*a)+i' can't be 0 unless there is pointer overflow, and pointer overflow is undefined behaviour. [pointerAdditionResultNotNull] glew-1.13.0/src/glew.c:256:44: warning: Comparison is wrong. Result of 'b+i' can't be 0 unless there is pointer overflow, and pointer overflow is undefined behaviour. [pointerAdditionResultNotNull] glew-1.13.0/src/glew.c:272:29: warning: Comparison is wrong. Result of '(*a)+i' can't be 0 unless there is pointer overflow, and pointer overflow is undefined behaviour. [pointerAdditionResultNotNull] glew-1.13.0/src/glew.c:272:44: warning: Comparison is wrong. Result of 'b+i' can't be 0 unless there is pointer overflow, and pointer overflow is undefined behaviour. [pointerAdditionResultNotNull] glew-1.13.0/src/glew.c:288:29: warning: Comparison is wrong. Result of '(*a)+i' can't be 0 unless there is pointer overflow, and pointer overflow is undefined behaviour. [pointerAdditionResultNotNull] glew-1.13.0/src/glew.c:288:44: warning: Comparison is wrong. Result of 'b+i' can't be 0 unless there is pointer overflow, and pointer overflow is undefined behaviour. [pointerAdditionResultNotNull] glew-1.13.0/src/glew.c:9341:10: style: Variable 'extEnd' is assigned a value that is never used. [unreadVariable] glew-1.13.0/src/glew.c:13138:10: style: Variable 'extEnd' is assigned a value that is never used. [unreadVariable] glew-1.13.0/src/glewinfo.c:11614:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glew-1.13.0/src/glewinfo.c:11933:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable visual [valueFlowBailoutIncompleteVar] glew-1.13.0/src/glewinfo.c:11689:70: style:inconclusive: Function 'glewParseArgs' argument 3 names different: declaration '' definition 'params'. [funcArgNamesDifferentUnnamed] glew-1.13.0/src/visualinfo.c:109:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glew-1.13.0/src/visualinfo.c:653:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLX_FBCONFIG_ID [valueFlowBailoutIncompleteVar] glew-1.13.0/src/visualinfo.c:1152:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] diff: head glew-1.13.0/src/glewinfo.c:11689:70: style:inconclusive: Function 'glewParseArgs' argument 3 names different: declaration '' definition 'params'. [funcArgNamesDifferentUnnamed] DONE