2026-05-02 12:19 ftp://ftp.de.debian.org/debian/pool/main/h/hintview/hintview_2.3.0.orig.tar.xz cppcheck-options: --library=posix --library=gnu --library=bsd --library=zlib --library=gtk --library=opengl --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j2 platform: Linux-6.12.85+deb13-amd64-x86_64-with-glibc2.41 python: 3.13.5 client-version: 1.3.70 compiler: g++ (20250906) 15.2.0 cppcheck: head 2.20.0 head-info: e5c4a73 (2026-05-01 11:10:43 +0200) count: 100 100 elapsed-time: 3.5 3.1 head-timing-info: old-timing-info: head results: hintview/Linux/about.c:59:32: error: There is an unknown macro here somewhere. Configuration is required. If HINT_VERSION_STRING is a macro then please configure it. [unknownMacro] hintview/Linux/header.c:118:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_ICON_SIZE_BUTTON [valueFlowBailoutIncompleteVar] hintview/Linux/header.c:8:30: style: Parameter 'self' can be declared as pointer to const. However it seems that 'cb_document_open' is a callback function, if 'self' is declared with const you might also need to cast function pointer(s). [constParameterCallback] hintview/Linux/header.c:224:41: note: You might need to cast the function pointer here hintview/Linux/header.c:8:30: note: Parameter 'self' can be declared as pointer to const hintview/Linux/header.c:8:45: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'cb_document_open' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] hintview/Linux/header.c:224:41: note: You might need to cast the function pointer here hintview/Linux/header.c:8:45: note: Parameter 'user_data' can be declared as pointer to const hintview/Linux/header.c:13:23: style: Parameter 'self' can be declared as pointer to const. However it seems that 'cb_search' is a callback function, if 'self' is declared with const you might also need to cast function pointer(s). [constParameterCallback] hintview/Linux/header.c:231:36: note: You might need to cast the function pointer here hintview/Linux/header.c:13:23: note: Parameter 'self' can be declared as pointer to const hintview/Linux/header.c:13:38: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'cb_search' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] hintview/Linux/header.c:231:36: note: You might need to cast the function pointer here hintview/Linux/header.c:13:38: note: Parameter 'user_data' can be declared as pointer to const hintview/Linux/header.c:18:23: style: Parameter 'self' can be declared as pointer to const. However it seems that 'cb_zoom_1' is a callback function, if 'self' is declared with const you might also need to cast function pointer(s). [constParameterCallback] hintview/Linux/header.c:235:41: note: You might need to cast the function pointer here hintview/Linux/header.c:18:23: note: Parameter 'self' can be declared as pointer to const hintview/Linux/header.c:18:38: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'cb_zoom_1' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] hintview/Linux/header.c:235:41: note: You might need to cast the function pointer here hintview/Linux/header.c:18:38: note: Parameter 'user_data' can be declared as pointer to const hintview/Linux/header.c:23:21: style: Parameter 'self' can be declared as pointer to const. However it seems that 'cb_home' is a callback function, if 'self' is declared with const you might also need to cast function pointer(s). [constParameterCallback] hintview/Linux/header.c:86:83: note: You might need to cast the function pointer here hintview/Linux/header.c:23:21: note: Parameter 'self' can be declared as pointer to const hintview/Linux/header.c:23:36: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'cb_home' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] hintview/Linux/header.c:86:83: note: You might need to cast the function pointer here hintview/Linux/header.c:23:36: note: Parameter 'user_data' can be declared as pointer to const hintview/Linux/header.c:31:26: style: Parameter 'self' can be declared as pointer to const. However it seems that 'cb_day_night' is a callback function, if 'self' is declared with const you might also need to cast function pointer(s). [constParameterCallback] hintview/Linux/header.c:234:38: note: You might need to cast the function pointer here hintview/Linux/header.c:31:26: note: Parameter 'self' can be declared as pointer to const hintview/Linux/header.c:31:41: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'cb_day_night' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] hintview/Linux/header.c:234:38: note: You might need to cast the function pointer here hintview/Linux/header.c:31:41: note: Parameter 'user_data' can be declared as pointer to const hintview/Linux/header.c:36:23: style: Parameter 'self' can be declared as pointer to const. However it seems that 'cb_reload' is a callback function, if 'self' is declared with const you might also need to cast function pointer(s). [constParameterCallback] hintview/Linux/header.c:225:40: note: You might need to cast the function pointer here hintview/Linux/header.c:36:23: note: Parameter 'self' can be declared as pointer to const hintview/Linux/header.c:36:38: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'cb_reload' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] hintview/Linux/header.c:225:40: note: You might need to cast the function pointer here hintview/Linux/header.c:36:38: note: Parameter 'user_data' can be declared as pointer to const hintview/Linux/header.c:42:22: style: Parameter 'self' can be declared as pointer to const. However it seems that 'cb_about' is a callback function, if 'self' is declared with const you might also need to cast function pointer(s). [constParameterCallback] hintview/Linux/header.c:247:43: note: You might need to cast the function pointer here hintview/Linux/header.c:42:22: note: Parameter 'self' can be declared as pointer to const hintview/Linux/header.c:42:37: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'cb_about' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] hintview/Linux/header.c:247:43: note: You might need to cast the function pointer here hintview/Linux/header.c:42:37: note: Parameter 'user_data' can be declared as pointer to const hintview/Linux/header.c:47:21: style: Parameter 'self' can be declared as pointer to const. However it seems that 'cb_help' is a callback function, if 'self' is declared with const you might also need to cast function pointer(s). [constParameterCallback] hintview/Linux/header.c:245:37: note: You might need to cast the function pointer here hintview/Linux/header.c:47:21: note: Parameter 'self' can be declared as pointer to const hintview/Linux/header.c:47:36: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'cb_help' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] hintview/Linux/header.c:245:37: note: You might need to cast the function pointer here hintview/Linux/header.c:47:36: note: Parameter 'user_data' can be declared as pointer to const hintview/Linux/header.c:53:21: style: Parameter 'self' can be declared as pointer to const. However it seems that 'cb_quit' is a callback function, if 'self' is declared with const you might also need to cast function pointer(s). [constParameterCallback] hintview/Linux/header.c:251:28: note: You might need to cast the function pointer here hintview/Linux/header.c:53:21: note: Parameter 'self' can be declared as pointer to const hintview/Linux/header.c:53:36: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'cb_quit' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] hintview/Linux/header.c:251:28: note: You might need to cast the function pointer here hintview/Linux/header.c:53:36: note: Parameter 'user_data' can be declared as pointer to const hintview/Linux/header.c:59:28: style: Parameter 'self' can be declared as pointer to const. However it seems that 'cb_preferences' is a callback function, if 'self' is declared with const you might also need to cast function pointer(s). [constParameterCallback] hintview/Linux/header.c:240:35: note: You might need to cast the function pointer here hintview/Linux/header.c:59:28: note: Parameter 'self' can be declared as pointer to const hintview/Linux/header.c:59:43: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'cb_preferences' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] hintview/Linux/header.c:240:35: note: You might need to cast the function pointer here hintview/Linux/header.c:59:43: note: Parameter 'user_data' can be declared as pointer to const hintview/Linux/header.c:64:24: style: Parameter 'self' can be declared as pointer to const. However it seems that 'cb_outline' is a callback function, if 'self' is declared with const you might also need to cast function pointer(s). [constParameterCallback] hintview/Linux/header.c:232:39: note: You might need to cast the function pointer here hintview/Linux/header.c:64:24: note: Parameter 'self' can be declared as pointer to const hintview/Linux/header.c:64:39: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'cb_outline' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] hintview/Linux/header.c:232:39: note: You might need to cast the function pointer here hintview/Linux/header.c:64:39: note: Parameter 'user_data' can be declared as pointer to const hintview/Linux/header.c:185:62: style: Parameter 'data' can be declared as pointer to const. However it seems that 'cb_toggled_button_preference' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] hintview/Linux/header.c:206:6: note: You might need to cast the function pointer here hintview/Linux/header.c:185:62: note: Parameter 'data' can be declared as pointer to const hintview/Linux/main.c:172:5: error: There is an unknown macro here somewhere. Configuration is required. If return is a macro then please configure it. [unknownMacro] hintview/Linux/outline.c:29:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable depth [valueFlowBailoutIncompleteVar] hintview/Linux/outline.c:128:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WINDOW_TOPLEVEL [valueFlowBailoutIncompleteVar] hintview/Linux/preferences.c:78:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_WINDOW_TYPE_HINT_DIALOG [valueFlowBailoutIncompleteVar] hintview/Linux/preferences.c:55:44: style: Parameter 'self' can be declared as pointer to const. However it seems that 'cb_dialog_unrealize' is a callback function, if 'self' is declared with const you might also need to cast function pointer(s). [constParameterCallback] hintview/Linux/preferences.c:79:3: note: You might need to cast the function pointer here hintview/Linux/preferences.c:55:44: note: Parameter 'self' can be declared as pointer to const hintview/Linux/preferences.c:55:59: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'cb_dialog_unrealize' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] hintview/Linux/preferences.c:79:3: note: You might need to cast the function pointer here hintview/Linux/preferences.c:55:59: note: Parameter 'user_data' can be declared as pointer to const hintview/Linux/resources.c:9:68: style: union member 'Anonymous0::alignment' is never used. [unusedStructMember] hintview/Linux/resources.c:9:92: style: union member 'Anonymous0::ptr' is never used. [unusedStructMember] hintview/Linux/renderOGL.c:145:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_COMPILE_STATUS [valueFlowBailoutIncompleteVar] hintview/Linux/renderOGL.c:158:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_VERTEX_SHADER [valueFlowBailoutIncompleteVar] hintview/Linux/renderOGL.c:234:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_UNPACK_ALIGNMENT [valueFlowBailoutIncompleteVar] hintview/Linux/renderOGL.c:258:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable glewExperimental [valueFlowBailoutIncompleteVar] hintview/Linux/renderOGL.c:397:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_COLOR_BUFFER_BIT [valueFlowBailoutIncompleteVar] hintview/Linux/renderOGL.c:427:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_TEXTURE_2D [valueFlowBailoutIncompleteVar] hintview/Linux/renderOGL.c:457:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_RGBA [valueFlowBailoutIncompleteVar] hintview/Linux/renderOGL.c:506:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_UNPACK_ALIGNMENT [valueFlowBailoutIncompleteVar] hintview/Linux/renderOGL.c:569:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_TEXTURE_2D [valueFlowBailoutIncompleteVar] hintview/Linux/search.c:61:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WINDOW_TOPLEVEL [valueFlowBailoutIncompleteVar] hintview/Linux/search.c:13:27: style: Parameter 'button' can be declared as pointer to const. However it seems that 'cb_next_click' is a callback function, if 'button' is declared with const you might also need to cast function pointer(s). [constParameterCallback] hintview/Linux/search.c:92:7: note: You might need to cast the function pointer here hintview/Linux/search.c:13:27: note: Parameter 'button' can be declared as pointer to const hintview/Linux/search.c:14:26: style: Parameter 'entry' can be declared as pointer to const. However it seems that 'cb_next_click' is a callback function, if 'entry' is declared with const you might also need to cast function pointer(s). [constParameterCallback] hintview/Linux/search.c:92:7: note: You might need to cast the function pointer here hintview/Linux/search.c:14:26: note: Parameter 'entry' can be declared as pointer to const hintview/Linux/search.c:25:27: style: Parameter 'button' can be declared as pointer to const. However it seems that 'cb_prev_click' is a callback function, if 'button' is declared with const you might also need to cast function pointer(s). [constParameterCallback] hintview/Linux/search.c:86:7: note: You might need to cast the function pointer here hintview/Linux/search.c:25:27: note: Parameter 'button' can be declared as pointer to const hintview/Linux/search.c:26:25: style: Parameter 'data' can be declared as pointer to const. However it seems that 'cb_prev_click' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] hintview/Linux/search.c:86:7: note: You might need to cast the function pointer here hintview/Linux/search.c:26:25: note: Parameter 'data' can be declared as pointer to const hintview/Linux/search.c:32:36: style: Parameter 'widget' can be declared as pointer to const. However it seems that 'search_entry_destroyed' is a callback function, if 'widget' is declared with const you might also need to cast function pointer(s). [constParameterCallback] hintview/Linux/search.c:65:7: note: You might need to cast the function pointer here hintview/Linux/search.c:32:36: note: Parameter 'widget' can be declared as pointer to const hintview/Linux/renderOGL.c:263:5: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] hintview/Linux/renderOGL.c:436:91: style: Parameter 'e' can be declared as pointer to const [constParameterPointer] hintview/Linux/renderOGL.c:580:69: style: Parameter 'bits' can be declared as pointer to const [constParameterPointer] hintview/Linux/renderOGL.c:584:32: style: Parameter 'bits' can be declared as pointer to const [constParameterPointer] format.w:11693:23: error: There is an unknown macro here somewhere. Configuration is required. If HINT_VERSION_STRING is a macro then please configure it. [unknownMacro] hint.w:15486:2: error: #error float type must have size 4 [preprocessorErrorDirective] format.w:11315:2: error: #error float32 type must have size 4 [preprocessorErrorDirective] hintview/backend/stb_image.h:5245:17: style: Redundant condition: The condition 'req_comp' is redundant since 'req_comp >= 3' is sufficient. [redundantCondition] hintview/backend/stb_image.h:4926:23: style: Condition '!stbi__compute_transparency16(z,tc16,s->img_out_n)' is always false [knownConditionTrueFalse] hintview/backend/stb_image.h:4926:52: note: Calling function 'stbi__compute_transparency16' returns 1 hintview/backend/stb_image.h:4926:23: note: Condition '!stbi__compute_transparency16(z,tc16,s->img_out_n)' is always false hintview/backend/stb_image.h:4928:23: style: Condition '!stbi__compute_transparency(z,tc,s->img_out_n)' is always false [knownConditionTrueFalse] hintview/backend/stb_image.h:4928:50: note: Calling function 'stbi__compute_transparency' returns 1 hintview/backend/stb_image.h:4928:23: note: Condition '!stbi__compute_transparency(z,tc,s->img_out_n)' is always false hintview/backend/stb_image.h:5206:11: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] hintview/backend/stb_image.h:4576:13: style: Variable 'cur' is assigned an expression that holds the same value. [redundantAssignment] hintview/backend/stb_image.h:4526:23: note: cur is assigned 'a->out+stride*j' here. hintview/backend/stb_image.h:4576:13: note: Variable 'cur' is assigned an expression that holds the same value. hintview/backend/stb_image.h:5114:4: style: Unsigned expression 'v' can't be negative so it is unnecessary to test it. [unsignedPositive] hintview/backend/stb_image.h:1285:93: style:inconclusive: Function 'stbi_load_from_memory' argument 5 names different: declaration 'channels_in_file' definition 'comp'. [funcArgNamesDifferent] hintview/backend/stb_image.h:373:109: note: Function 'stbi_load_from_memory' argument 5 names different: declaration 'channels_in_file' definition 'comp'. hintview/backend/stb_image.h:1285:93: note: Function 'stbi_load_from_memory' argument 5 names different: declaration 'channels_in_file' definition 'comp'. hintview/backend/stb_image.h:1285:103: style:inconclusive: Function 'stbi_load_from_memory' argument 6 names different: declaration 'desired_channels' definition 'req_comp'. [funcArgNamesDifferent] hintview/backend/stb_image.h:373:131: note: Function 'stbi_load_from_memory' argument 6 names different: declaration 'desired_channels' definition 'req_comp'. hintview/backend/stb_image.h:1285:103: note: Function 'stbi_load_from_memory' argument 6 names different: declaration 'desired_channels' definition 'req_comp'. hintview/backend/stb_image.h:1292:107: style:inconclusive: Function 'stbi_load_from_callbacks' argument 5 names different: declaration 'channels_in_file' definition 'comp'. [funcArgNamesDifferent] hintview/backend/stb_image.h:374:109: note: Function 'stbi_load_from_callbacks' argument 5 names different: declaration 'channels_in_file' definition 'comp'. hintview/backend/stb_image.h:1292:107: note: Function 'stbi_load_from_callbacks' argument 5 names different: declaration 'channels_in_file' definition 'comp'. hintview/backend/stb_image.h:1292:117: style:inconclusive: Function 'stbi_load_from_callbacks' argument 6 names different: declaration 'desired_channels' definition 'req_comp'. [funcArgNamesDifferent] hintview/backend/stb_image.h:374:131: note: Function 'stbi_load_from_callbacks' argument 6 names different: declaration 'desired_channels' definition 'req_comp'. hintview/backend/stb_image.h:1292:117: note: Function 'stbi_load_from_callbacks' argument 6 names different: declaration 'desired_channels' definition 'req_comp'. hintview/backend/stb_image.h:1334:92: style:inconclusive: Function 'stbi_loadf_from_memory' argument 5 names different: declaration 'channels_in_file' definition 'comp'. [funcArgNamesDifferent] hintview/backend/stb_image.h:408:100: note: Function 'stbi_loadf_from_memory' argument 5 names different: declaration 'channels_in_file' definition 'comp'. hintview/backend/stb_image.h:1334:92: note: Function 'stbi_loadf_from_memory' argument 5 names different: declaration 'channels_in_file' definition 'comp'. hintview/backend/stb_image.h:1334:102: style:inconclusive: Function 'stbi_loadf_from_memory' argument 6 names different: declaration 'desired_channels' definition 'req_comp'. [funcArgNamesDifferent] hintview/backend/stb_image.h:408:122: note: Function 'stbi_loadf_from_memory' argument 6 names different: declaration 'desired_channels' definition 'req_comp'. hintview/backend/stb_image.h:1334:102: note: Function 'stbi_loadf_from_memory' argument 6 names different: declaration 'desired_channels' definition 'req_comp'. hintview/backend/stb_image.h:1341:106: style:inconclusive: Function 'stbi_loadf_from_callbacks' argument 5 names different: declaration 'channels_in_file' definition 'comp'. [funcArgNamesDifferent] hintview/backend/stb_image.h:409:112: note: Function 'stbi_loadf_from_callbacks' argument 5 names different: declaration 'channels_in_file' definition 'comp'. hintview/backend/stb_image.h:1341:106: note: Function 'stbi_loadf_from_callbacks' argument 5 names different: declaration 'channels_in_file' definition 'comp'. hintview/backend/stb_image.h:1341:116: style:inconclusive: Function 'stbi_loadf_from_callbacks' argument 6 names different: declaration 'desired_channels' definition 'req_comp'. [funcArgNamesDifferent] hintview/backend/stb_image.h:409:134: note: Function 'stbi_loadf_from_callbacks' argument 6 names different: declaration 'desired_channels' definition 'req_comp'. hintview/backend/stb_image.h:1341:116: note: Function 'stbi_loadf_from_callbacks' argument 6 names different: declaration 'desired_channels' definition 'req_comp'. hintview/backend/stb_image.h:7312:63: style:inconclusive: Function 'stbi_info_from_callbacks' argument 1 names different: declaration 'clbk' definition 'c'. [funcArgNamesDifferent] hintview/backend/stb_image.h:445:68: note: Function 'stbi_info_from_callbacks' argument 1 names different: declaration 'clbk' definition 'c'. hintview/backend/stb_image.h:7312:63: note: Function 'stbi_info_from_callbacks' argument 1 names different: declaration 'clbk' definition 'c'. hintview/backend/stb_image.h:7326:68: style:inconclusive: Function 'stbi_is_16_bit_from_callbacks' argument 1 names different: declaration 'clbk' definition 'c'. [funcArgNamesDifferent] hintview/backend/stb_image.h:447:73: note: Function 'stbi_is_16_bit_from_callbacks' argument 1 names different: declaration 'clbk' definition 'c'. hintview/backend/stb_image.h:7326:68: note: Function 'stbi_is_16_bit_from_callbacks' argument 1 names different: declaration 'clbk' definition 'c'. hintview/backend/stb_image.h:753:72: style: Parameter 'c' can be declared as pointer to const [constParameterPointer] hintview/backend/stb_image.h:1821:55: style: Parameter 'count' can be declared as pointer to const [constParameterPointer] hintview/backend/stb_image.h:2021:120: style: Parameter 'fac' can be declared as pointer to const [constParameterPointer] hintview/backend/stb_image.h:2021:146: style: Parameter 'dequant' can be declared as pointer to const [constParameterPointer] hintview/backend/stb_image.h:2100:108: style: Parameter 'fac' can be declared as pointer to const [constParameterPointer] hintview/backend/stb_image.h:2877:62: style: Parameter 'dequant' can be declared as pointer to const [constParameterPointer] hintview/backend/stb_image.h:3240:63: style: Parameter 'in_near' can be declared as pointer to const. However it seems that 'stbi__resample_row_v_2' is a callback function, if 'in_near' is declared with const you might also need to cast function pointer(s). [constParameterCallback] hintview/backend/stb_image.h:3686:59: note: You might need to cast the function pointer here hintview/backend/stb_image.h:3240:63: note: Parameter 'in_near' can be declared as pointer to const hintview/backend/stb_image.h:3240:81: style: Parameter 'in_far' can be declared as pointer to const. However it seems that 'stbi__resample_row_v_2' is a callback function, if 'in_far' is declared with const you might also need to cast function pointer(s). [constParameterCallback] hintview/backend/stb_image.h:3686:59: note: You might need to cast the function pointer here hintview/backend/stb_image.h:3240:81: note: Parameter 'in_far' can be declared as pointer to const hintview/backend/stb_image.h:3254:13: style: Variable 'input' can be declared as pointer to const [constVariablePointer] hintview/backend/stb_image.h:3280:64: style: Parameter 'in_near' can be declared as pointer to const. However it seems that 'stbi__resample_row_hv_2' is a callback function, if 'in_near' is declared with const you might also need to cast function pointer(s). [constParameterCallback] hintview/backend/stb_image.h:3600:34: note: You might need to cast the function pointer here hintview/backend/stb_image.h:3280:64: note: Parameter 'in_near' can be declared as pointer to const hintview/backend/stb_image.h:3280:82: style: Parameter 'in_far' can be declared as pointer to const. However it seems that 'stbi__resample_row_hv_2' is a callback function, if 'in_far' is declared with const you might also need to cast function pointer(s). [constParameterCallback] hintview/backend/stb_image.h:3600:34: note: You might need to cast the function pointer here hintview/backend/stb_image.h:3280:82: note: Parameter 'in_far' can be declared as pointer to const hintview/backend/stb_image.h:3421:67: style: Parameter 'in_near' can be declared as pointer to const. However it seems that 'stbi__resample_row_generic' is a callback function, if 'in_near' is declared with const you might also need to cast function pointer(s). [constParameterCallback] hintview/backend/stb_image.h:3689:59: note: You might need to cast the function pointer here hintview/backend/stb_image.h:3421:67: note: Parameter 'in_near' can be declared as pointer to const hintview/backend/stb_image.h:3783:25: style: Variable 'y' can be declared as pointer to const [constVariablePointer] hintview/backend/stb_image.h:4058:19: style: Variable 'p' can be declared as pointer to const [constVariablePointer] hintview/backend/stb_image.h:4400:19: style: Variable 's' can be declared as pointer to const [constVariablePointer] hintview/backend/stb_image.h:4621:11: style: Variable 'xorig' can be declared as const array [constVariable] hintview/backend/stb_image.h:4622:11: style: Variable 'yorig' can be declared as const array [constVariable] hintview/backend/stb_image.h:4623:11: style: Variable 'xspc' can be declared as const array [constVariable] hintview/backend/stb_image.h:4624:11: style: Variable 'yspc' can be declared as const array [constVariable] hintview/backend/stb_image.h:4655:19: style: Variable 's' can be declared as pointer to const [constVariablePointer] hintview/backend/stb_image.h:4680:19: style: Variable 's' can be declared as pointer to const [constVariablePointer] hintview/backend/stb_image.h:4703:60: style: Parameter 'palette' can be declared as pointer to const [constParameterPointer] hintview/backend/stb_image.h:4706:28: style: Variable 'orig' can be declared as pointer to const [constVariablePointer] hintview/backend/stb_image.h:4755:19: style: Variable 's' can be declared as pointer to const [constVariablePointer] hintview/backend/stb_image.h:5102:24: style: Variable 'mul_table' can be declared as const array [constVariable] hintview/backend/stb_image.h:5107:24: style: Variable 'shift_table' can be declared as const array [constVariable] hintview/backend/stb_image.h:6936:10: style: Variable 'p' can be declared as pointer to const [constVariablePointer] hintview/backend/stb_image.h:1972:38: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] hintview/backend/stb_image.h:4131:44: warning: Uninitialized variable: lencodes [uninitvar] hintview/backend/stb_image.h:4108:13: note: Assuming condition is false hintview/backend/stb_image.h:4131:44: note: Uninitialized variable: lencodes diff: DONE