2025-05-10 03:50 ftp://ftp.de.debian.org/debian/pool/main/d/dxvk/dxvk_2.6.1.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=sdl --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-59-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.67 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04) 14.2.0 cppcheck: head 2.17.0 head-info: b3c7f00 (2025-05-09 17:59:20 +0200) count: 50 50 elapsed-time: 20.2 18.5 head-timing-info: old-timing-info: head results: dxvk-2.6.1/src/util/util_bit.h:12:0: error: #error "Unknown CPU Architecture" [preprocessorErrorDirective] dxvk-2.6.1/src/util/util_bit.h:12:2: error: #error "Unknown CPU Architecture" [preprocessorErrorDirective] dxvk-2.6.1/src/dxvk/dxvk_options.cpp:13:5: performance: Variable 'hud' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] dxvk-2.6.1/src/dxvk/dxvk_options.cpp:21:5: performance: Variable 'deviceFilter' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] dxvk-2.6.1/src/util/config/config.h:32:5: style: Class 'Config' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dxvk-2.6.1/src/dxvk/dxvk_options.h:9:5: style: Struct 'DxvkOptions' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dxvk-2.6.1/src/util/com/com_private_data.cpp:44:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IUnknown [valueFlowBailoutIncompleteVar] dxvk-2.6.1/src/util/com/com_private_data.cpp:60:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IUnknown [valueFlowBailoutIncompleteVar] dxvk-2.6.1/src/util/com/com_private_data.cpp:77:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_OK [valueFlowBailoutIncompleteVar] dxvk-2.6.1/src/util/com/com_private_data.cpp:115:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_OK [valueFlowBailoutIncompleteVar] dxvk-2.6.1/src/util/com/com_private_data.cpp:129:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_OK [valueFlowBailoutIncompleteVar] dxvk-2.6.1/src/util/com/com_private_data.cpp:138:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable E_INVALIDARG [valueFlowBailoutIncompleteVar] dxvk-2.6.1/src/util/com/com_private_data.h:75:25: style: Class 'ComPrivateDataEntry' is unsafe, 'ComPrivateDataEntry::m_data' can leak by wrong usage. [unsafeClassCanLeak] dxvk-2.6.1/src/util/com/com_private_data.cpp:140:10: style: Variable 'entry' can be declared as pointer to const [constVariablePointer] dxvk-2.6.1/src/util/com/com_private_data.cpp:113:32: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] dxvk-2.6.1/src/util/com/com_private_data.cpp:153:0: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] dxvk-2.6.1/src/util/rc/util_rc_ptr.h:180:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T [valueFlowBailoutIncompleteVar] dxvk-2.6.1/src/util/thread.h:318:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCHED_OTHER [valueFlowBailoutIncompleteVar] dxvk-2.6.1/src/util/util_error.h:18:5: style: Class 'DxvkError' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dxvk-2.6.1/src/util/rc/util_rc_ptr.h:25:5: style: Class 'Rc' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dxvk-2.6.1/src/util/rc/util_rc_ptr.h:27:5: style: Class 'Rc' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dxvk-2.6.1/src/util/log/log.h:35:5: style: Class 'Logger' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dxvk-2.6.1/src/util/log/log_debug.h:27:44: style: Parameter 'stream' can be declared as reference to const [constParameterReference] dxvk-2.6.1/src/util/sha1/sha1.c:43:10: style: union member 'CHAR64LONG16::c' is never used. [unusedStructMember] dxvk-2.6.1/src/util/sha1/sha1.c:96:4: style: Variable 'a' is assigned a value that is never used. [unreadVariable] dxvk-2.6.1/src/util/sha1/sha1.c:96:8: style: Variable 'b' is assigned a value that is never used. [unreadVariable] dxvk-2.6.1/src/util/sha1/sha1.c:96:12: style: Variable 'c' is assigned a value that is never used. [unreadVariable] dxvk-2.6.1/src/util/sha1/sha1.c:96:16: style: Variable 'd' is assigned a value that is never used. [unreadVariable] dxvk-2.6.1/src/util/sha1/sha1.c:96:20: style: Variable 'e' is assigned a value that is never used. [unreadVariable] dxvk-2.6.1/src/util/sha1/sha1_util.h:54:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T [valueFlowBailoutIncompleteVar] dxvk-2.6.1/src/util/sha1/sha1_util.h:20:5: warning:inconclusive: Member variable 'Sha1Hash::m_digest' is not initialized in the constructor. [uninitMemberVar] dxvk-2.6.1/src/util/sha1/sha1_util.h:21:5: style: Class 'Sha1Hash' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dxvk-2.6.1/src/util/util_flush.h:40:5: style: Class 'GpuFlushTracker' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dxvk-2.6.1/src/util/util_flush.cpp:5:49: style:inconclusive: Function 'GpuFlushTracker' argument 1 names different: declaration 'maxAllowed' definition 'maxType'. [funcArgNamesDifferent] dxvk-2.6.1/src/util/util_flush.h:40:34: note: Function 'GpuFlushTracker' argument 1 names different: declaration 'maxAllowed' definition 'maxType'. dxvk-2.6.1/src/util/util_flush.cpp:5:49: note: Function 'GpuFlushTracker' argument 1 names different: declaration 'maxAllowed' definition 'maxType'. dxvk-2.6.1/src/util/util_gdi.cpp:34:64: style: Parameter 'Arg1' can be declared as pointer to const [constParameterPointer] dxvk-2.6.1/src/util/util_gdi.cpp:39:66: style: Parameter 'Arg1' can be declared as pointer to const [constParameterPointer] dxvk-2.6.1/src/util/util_shared_res.cpp:52:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_HANDLE_VALUE [valueFlowBailoutIncompleteVar] dxvk-2.6.1/src/util/util_shared_res.cpp:55:47: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] dxvk-2.6.1/src/util/util_shared_res.cpp:60:47: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] dxvk-2.6.1/src/util/util_shared_res.cpp:60:80: style: Parameter 'metadataSize' can be declared as pointer to const [constParameterPointer] dxvk-2.6.1/src/vulkan/vulkan_loader.h:26:5: style: Struct 'LibraryLoader' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dxvk-2.6.1/src/vulkan/vulkan_loader.h:82:5: style: Struct 'LibraryFn' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dxvk-2.6.1/src/util/rc/util_rc_ptr.h:25:5: style: Class 'Rc < LibraryLoader >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dxvk-2.6.1/src/util/rc/util_rc_ptr.h:27:5: style: Class 'Rc < LibraryLoader >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dxvk-2.6.1/src/util/rc/util_rc_ptr.h:38:5: style: Class 'Rc < LibraryLoader >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dxvk-2.6.1/src/util/rc/util_rc_ptr.h:49:5: style: Class 'Rc < LibraryLoader >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dxvk-2.6.1/src/util/rc/util_rc_ptr.h:25:5: style: Class 'Rc < InstanceLoader >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dxvk-2.6.1/src/util/rc/util_rc_ptr.h:27:5: style: Class 'Rc < InstanceLoader >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dxvk-2.6.1/src/util/rc/util_rc_ptr.h:38:5: style: Class 'Rc < InstanceLoader >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] dxvk-2.6.1/src/util/rc/util_rc_ptr.h:49:5: style: Class 'Rc < InstanceLoader >' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] diff: 2.17.0 dxvk-2.6.1/src/util/rc/util_rc_ptr.h:142:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable T [valueFlowBailoutIncompleteVar] head dxvk-2.6.1/src/util/util_bit.h:12:2: error: #error "Unknown CPU Architecture" [preprocessorErrorDirective] DONE