2025-09-01 06:52 ftp://ftp.de.debian.org/debian/pool/main/libo/libopenmpt/libopenmpt_0.8.2.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=zlib --library=microsoft_atl --library=mfc --library=sdl --library=emscripten --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 -j4 platform: Linux-6.12.41+deb13-amd64-x86_64-with-glibc2.41 python: 3.13.5 client-version: 1.3.67 compiler: g++ (Debian 14.2.0-19) 14.2.0 cppcheck: head 2.18.0 head-info: 2ee39fe (2025-08-30 22:07:31 +0200) count: 160 229 elapsed-time: 2.0 5.0 head-timing-info: old-timing-info: head results: libopenmpt-0.8.2+release.autotools/common/mptBaseMacros.h:19:0: error: failed to evaluate #if condition, undefined function-like macro invocation: MPT_CXX_AT_LEAST( ... ) [preprocessorErrorDirective] libopenmpt-0.8.2+release.autotools/common/mptBaseMacros.h:19:2: error: failed to evaluate #if condition, undefined function-like macro invocation: MPT_CXX_AT_LEAST( ... ) [preprocessorErrorDirective] libopenmpt-0.8.2+release.autotools/examples/libopenmpt_example_c.c:36:0: error: failed to evaluate #if condition, undefined function-like macro invocation: OPENMPT_API_VERSION_AT_LEAST( ... ) [preprocessorErrorDirective] libopenmpt-0.8.2+release.autotools/examples/libopenmpt_example_c.c:36:2: error: failed to evaluate #if condition, undefined function-like macro invocation: OPENMPT_API_VERSION_AT_LEAST( ... ) [preprocessorErrorDirective] libopenmpt-0.8.2+release.autotools/examples/libopenmpt_example_c_pipe.c:35:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libopenmpt-0.8.2+release.autotools/examples/libopenmpt_example_c_pipe.c:42:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OPENMPT_ERROR_FUNC_RESULT_DEFAULT [valueFlowBailoutIncompleteVar] libopenmpt-0.8.2+release.autotools/examples/libopenmpt_example_c_pipe.c:49:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OPENMPT_ERROR_OUT_OF_MEMORY [valueFlowBailoutIncompleteVar] libopenmpt-0.8.2+release.autotools/examples/libopenmpt_example_c_pipe.c:79:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] libopenmpt-0.8.2+release.autotools/examples/libopenmpt_example_c_mem.c:56:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libopenmpt-0.8.2+release.autotools/examples/libopenmpt_example_c_pipe.c:116:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OPENMPT_ERROR_OK [valueFlowBailoutIncompleteVar] libopenmpt-0.8.2+release.autotools/examples/libopenmpt_example_c_mem.c:63:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OPENMPT_ERROR_FUNC_RESULT_DEFAULT [valueFlowBailoutIncompleteVar] libopenmpt-0.8.2+release.autotools/examples/libopenmpt_example_c_mem.c:70:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OPENMPT_ERROR_OUT_OF_MEMORY [valueFlowBailoutIncompleteVar] libopenmpt-0.8.2+release.autotools/examples/libopenmpt_example_c_mem.c:212:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OPENMPT_ERROR_OK [valueFlowBailoutIncompleteVar] libopenmpt-0.8.2+release.autotools/examples/libopenmpt_example_c_probe.c:43:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libopenmpt-0.8.2+release.autotools/examples/libopenmpt_example_c_probe.c:54:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OPENMPT_ERROR_OK [valueFlowBailoutIncompleteVar] libopenmpt-0.8.2+release.autotools/examples/libopenmpt_example_c_probe.c:185:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libopenmpt-0.8.2+release.autotools/examples/libopenmpt_example_c_pipe.c:69:57: warning: Possible null pointer dereference: mod_err_str [nullPointer] libopenmpt-0.8.2+release.autotools/examples/libopenmpt_example_c_pipe.c:67:18: note: Assignment 'mod_err_str=NULL', assigned value is 0 libopenmpt-0.8.2+release.autotools/examples/libopenmpt_example_c_pipe.c:69:57: note: Null pointer dereference libopenmpt-0.8.2+release.autotools/examples/libopenmpt_example_c_pipe.c:75:17: style: Variable 'retval' is assigned a value that is never used. [unreadVariable] libopenmpt-0.8.2+release.autotools/examples/libopenmpt_example_c_pipe.c:169:7: style: Variable 'mod' is assigned a value that is never used. [unreadVariable] libopenmpt-0.8.2+release.autotools/examples/libopenmpt_example_c_stdout.c:40:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libopenmpt-0.8.2+release.autotools/examples/libopenmpt_example_c_stdout.c:47:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OPENMPT_ERROR_FUNC_RESULT_DEFAULT [valueFlowBailoutIncompleteVar] libopenmpt-0.8.2+release.autotools/examples/libopenmpt_example_c_stdout.c:54:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OPENMPT_ERROR_OUT_OF_MEMORY [valueFlowBailoutIncompleteVar] libopenmpt-0.8.2+release.autotools/examples/libopenmpt_example_c_stdout.c:84:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] libopenmpt-0.8.2+release.autotools/examples/libopenmpt_example_c_stdout.c:122:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OPENMPT_ERROR_OK [valueFlowBailoutIncompleteVar] libopenmpt-0.8.2+release.autotools/examples/libopenmpt_example_c_probe.c:153:8: style: Variable 'file' is assigned a value that is never used. [unreadVariable] libopenmpt-0.8.2+release.autotools/examples/libopenmpt_example_c_mem.c:90:57: warning: Possible null pointer dereference: mod_err_str [nullPointer] libopenmpt-0.8.2+release.autotools/examples/libopenmpt_example_c_mem.c:88:18: note: Assignment 'mod_err_str=NULL', assigned value is 0 libopenmpt-0.8.2+release.autotools/examples/libopenmpt_example_c_mem.c:90:57: note: Null pointer dereference libopenmpt-0.8.2+release.autotools/examples/libopenmpt_example_c_unsafe.c:91:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable paFloat32 [valueFlowBailoutIncompleteVar] libopenmpt-0.8.2+release.autotools/examples/libopenmpt_example_c_stdout.c:74:57: warning: Possible null pointer dereference: mod_err_str [nullPointer] libopenmpt-0.8.2+release.autotools/examples/libopenmpt_example_c_stdout.c:72:18: note: Assignment 'mod_err_str=NULL', assigned value is 0 libopenmpt-0.8.2+release.autotools/examples/libopenmpt_example_c_stdout.c:74:57: note: Null pointer dereference libopenmpt-0.8.2+release.autotools/examples/libopenmpt_example_c_stdout.c:111:28: style: Parameter 'argv' can be declared as const array [constParameter] libopenmpt-0.8.2+release.autotools/examples/libopenmpt_example_c_mem.c:175:8: style: Variable 'blob' is assigned a value that is never used. [unreadVariable] libopenmpt-0.8.2+release.autotools/examples/libopenmpt_example_c_mem.c:180:8: style: Variable 'file' is assigned a value that is never used. [unreadVariable] libopenmpt-0.8.2+release.autotools/examples/libopenmpt_example_c_mem.c:328:7: style: Variable 'mod' is assigned a value that is never used. [unreadVariable] libopenmpt-0.8.2+release.autotools/examples/libopenmpt_example_c_mem.c:333:8: style: Variable 'blob' is assigned a value that is never used. [unreadVariable] libopenmpt-0.8.2+release.autotools/examples/libopenmpt_example_c_stdout.c:80:17: style: Variable 'retval' is assigned a value that is never used. [unreadVariable] libopenmpt-0.8.2+release.autotools/examples/libopenmpt_example_c_stdout.c:192:7: style: Variable 'mod' is assigned a value that is never used. [unreadVariable] libopenmpt-0.8.2+release.autotools/examples/libopenmpt_example_c_stdout.c:197:8: style: Variable 'file' is assigned a value that is never used. [unreadVariable] libopenmpt-0.8.2+release.autotools/examples/libopenmpt_example_c_unsafe.c:89:10: warning:inconclusive: If resource allocation fails, then there is a possible null pointer dereference: file [nullPointerOutOfResources] libopenmpt-0.8.2+release.autotools/examples/libopenmpt_example_c_unsafe.c:83:14: note: Assuming allocation function fails libopenmpt-0.8.2+release.autotools/examples/libopenmpt_example_c_unsafe.c:83:14: note: Assignment 'file=fopen(argv[1],"rb")', assigned value is 0 libopenmpt-0.8.2+release.autotools/examples/libopenmpt_example_c_unsafe.c:89:10: note: Null pointer dereference libopenmpt-0.8.2+release.autotools/examples/libopenmpt_example_cxx.cpp:75:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable binary [valueFlowBailoutIncompleteVar] libopenmpt-0.8.2+release.autotools/examples/libopenmpt_example_c_unsafe.c:68:28: style: Parameter 'argv' can be declared as const array [constParameter] libopenmpt-0.8.2+release.autotools/examples/libopenmpt_example_c_unsafe.c:77:15: style: Variable 'count' is assigned a value that is never used. [unreadVariable] libopenmpt-0.8.2+release.autotools/libopenmpt/libopenmpt_impl.cpp:63:0: error: failed to evaluate #if condition, undefined function-like macro invocation: MPT_WINRT_BEFORE( ... ) [preprocessorErrorDirective] libopenmpt-0.8.2+release.autotools/libopenmpt/libopenmpt_impl.cpp:63:2: error: failed to evaluate #if condition, undefined function-like macro invocation: MPT_WINRT_BEFORE( ... ) [preprocessorErrorDirective] libopenmpt-0.8.2+release.autotools/test/test.h:16:1: error: There is an unknown macro here somewhere. Configuration is required. If OPENMPT_NAMESPACE_BEGIN is a macro then please configure it. [unknownMacro] libopenmpt-0.8.2+release.autotools/libopenmpt/libopenmpt_ext_impl.cpp:107:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable effect_general [valueFlowBailoutIncompleteVar] libopenmpt-0.8.2+release.autotools/libopenmpt/libopenmpt_ext_impl.cpp:119:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable effect_general [valueFlowBailoutIncompleteVar] libopenmpt-0.8.2+release.autotools/libopenmpt/libopenmpt_ext_impl.cpp:172:93: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_GLOBAL_VOLUME [valueFlowBailoutIncompleteVar] libopenmpt-0.8.2+release.autotools/libopenmpt/libopenmpt_ext_impl.cpp:176:81: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_GLOBAL_VOLUME [valueFlowBailoutIncompleteVar] libopenmpt-0.8.2+release.autotools/libopenmpt/libopenmpt_ext_impl.cpp:186:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nGlobalVol [valueFlowBailoutIncompleteVar] libopenmpt-0.8.2+release.autotools/libopenmpt/libopenmpt_ext_impl.cpp:193:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nGlobalVol [valueFlowBailoutIncompleteVar] libopenmpt-0.8.2+release.autotools/libopenmpt/libopenmpt_ext_impl.cpp:200:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CHN_MUTE [valueFlowBailoutIncompleteVar] libopenmpt-0.8.2+release.autotools/libopenmpt/libopenmpt_ext_impl.cpp:217:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dwFlags [valueFlowBailoutIncompleteVar] libopenmpt-0.8.2+release.autotools/libopenmpt/libopenmpt_ext_impl.cpp:228:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INS_MUTE [valueFlowBailoutIncompleteVar] libopenmpt-0.8.2+release.autotools/libopenmpt/libopenmpt_ext_impl.cpp:243:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INS_MUTE [valueFlowBailoutIncompleteVar] libopenmpt-0.8.2+release.autotools/libopenmpt/libopenmpt_ext_impl.cpp:257:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NOTE_MIN [valueFlowBailoutIncompleteVar] libopenmpt-0.8.2+release.autotools/libopenmpt/libopenmpt_ext_impl.cpp:293:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_CHANNELS [valueFlowBailoutIncompleteVar] libopenmpt-0.8.2+release.autotools/libopenmpt/libopenmpt_ext_impl.cpp:302:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_CHANNELS [valueFlowBailoutIncompleteVar] libopenmpt-0.8.2+release.autotools/libopenmpt/libopenmpt_ext_impl.cpp:310:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_CHANNELS [valueFlowBailoutIncompleteVar] libopenmpt-0.8.2+release.autotools/libopenmpt/libopenmpt_ext_impl.cpp:318:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_CHANNELS [valueFlowBailoutIncompleteVar] libopenmpt-0.8.2+release.autotools/libopenmpt/libopenmpt_ext_impl.cpp:326:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_CHANNELS [valueFlowBailoutIncompleteVar] libopenmpt-0.8.2+release.autotools/libopenmpt/libopenmpt_ext_impl.cpp:334:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_CHANNELS [valueFlowBailoutIncompleteVar] libopenmpt-0.8.2+release.autotools/libopenmpt/libopenmpt_ext_impl.cpp:342:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_CHANNELS [valueFlowBailoutIncompleteVar] libopenmpt-0.8.2+release.autotools/libopenmpt/libopenmpt_impl.hpp:283:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable args [valueFlowBailoutIncompleteVar] libopenmpt-0.8.2+release.autotools/openmpt123/openmpt123_terminal.hpp:114:0: error: failed to evaluate #if condition, undefined function-like macro invocation: MPT_WINRT_BEFORE( ... ) [preprocessorErrorDirective] libopenmpt-0.8.2+release.autotools/openmpt123/openmpt123_terminal.hpp:114:2: error: failed to evaluate #if condition, undefined function-like macro invocation: MPT_WINRT_BEFORE( ... ) [preprocessorErrorDirective] libopenmpt-0.8.2+release.autotools/libopenmpt/libopenmpt_ext_impl.cpp:55:24: performance:inconclusive: Technically the member function 'openmpt::module_ext_impl::ctor' can be static (but you may consider moving to unnamed namespace). [functionStatic] libopenmpt-0.8.2+release.autotools/libopenmpt/libopenmpt_ext_impl.hpp:54:7: note: Technically the member function 'openmpt::module_ext_impl::ctor' can be static (but you may consider moving to unnamed namespace). libopenmpt-0.8.2+release.autotools/libopenmpt/libopenmpt_ext_impl.cpp:55:24: note: Technically the member function 'openmpt::module_ext_impl::ctor' can be static (but you may consider moving to unnamed namespace). libopenmpt-0.8.2+release.autotools/libopenmpt/libopenmpt.hpp:149:28: style: Class 'exception' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] libopenmpt-0.8.2+release.autotools/libopenmpt/libopenmpt.hpp:476:28: style: Class 'module' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] libopenmpt-0.8.2+release.autotools/libopenmpt/libopenmpt.hpp:486:28: style: Class 'module' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] libopenmpt-0.8.2+release.autotools/libopenmpt/libopenmpt.hpp:517:28: style: Class 'module' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] libopenmpt-0.8.2+release.autotools/libopenmpt/libopenmpt.hpp:546:28: style: Class 'module' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] libopenmpt-0.8.2+release.autotools/libopenmpt/libopenmpt_ext.hpp:46:28: style: Class 'module_ext' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] libopenmpt-0.8.2+release.autotools/libopenmpt/libopenmpt_ext.hpp:47:28: style: Class 'module_ext' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] libopenmpt-0.8.2+release.autotools/libopenmpt/libopenmpt_ext.hpp:48:28: style: Class 'module_ext' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] libopenmpt-0.8.2+release.autotools/libopenmpt/libopenmpt_ext.hpp:49:28: style: Class 'module_ext' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] libopenmpt-0.8.2+release.autotools/libopenmpt/libopenmpt_impl.hpp:81:2: style: Class 'std_ostream_log' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] libopenmpt-0.8.2+release.autotools/libopenmpt/libopenmpt_ext.hpp:54:37: style: The destructor '~module_ext' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] libopenmpt-0.8.2+release.autotools/libopenmpt/libopenmpt.hpp:577:37: note: Virtual destructor in base class libopenmpt-0.8.2+release.autotools/libopenmpt/libopenmpt_ext.hpp:54:37: note: Destructor in derived class libopenmpt-0.8.2+release.autotools/libopenmpt/libopenmpt_impl.hpp:82:11: style: The destructor '~std_ostream_log' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] libopenmpt-0.8.2+release.autotools/libopenmpt/libopenmpt_impl.hpp:73:11: note: Virtual destructor in base class libopenmpt-0.8.2+release.autotools/libopenmpt/libopenmpt_impl.hpp:82:11: note: Destructor in derived class libopenmpt-0.8.2+release.autotools/libopenmpt/libopenmpt_ext_impl.hpp:58:3: style: The destructor '~module_ext_impl' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] libopenmpt-0.8.2+release.autotools/libopenmpt/libopenmpt_ext.hpp:111:2: note: Virtual destructor in base class libopenmpt-0.8.2+release.autotools/libopenmpt/libopenmpt_ext_impl.hpp:58:3: note: Destructor in derived class libopenmpt-0.8.2+release.autotools/libopenmpt/libopenmpt_cxx.cpp:407:14: performance:inconclusive: Technically the member function 'openmpt::module::is_pattern_skip_item' can be static (but you may consider moving to unnamed namespace). [functionStatic] libopenmpt-0.8.2+release.autotools/libopenmpt/libopenmpt.hpp:1037:33: note: Technically the member function 'openmpt::module::is_pattern_skip_item' can be static (but you may consider moving to unnamed namespace). libopenmpt-0.8.2+release.autotools/libopenmpt/libopenmpt_cxx.cpp:407:14: note: Technically the member function 'openmpt::module::is_pattern_skip_item' can be static (but you may consider moving to unnamed namespace). libopenmpt-0.8.2+release.autotools/libopenmpt/libopenmpt_cxx.cpp:413:14: performance:inconclusive: Technically the member function 'openmpt::module::is_pattern_stop_item' can be static (but you may consider moving to unnamed namespace). [functionStatic] libopenmpt-0.8.2+release.autotools/libopenmpt/libopenmpt.hpp:1053:33: note: Technically the member function 'openmpt::module::is_pattern_stop_item' can be static (but you may consider moving to unnamed namespace). libopenmpt-0.8.2+release.autotools/libopenmpt/libopenmpt_cxx.cpp:413:14: note: Technically the member function 'openmpt::module::is_pattern_stop_item' can be static (but you may consider moving to unnamed namespace). libopenmpt-0.8.2+release.autotools/libopenmpt/libopenmpt_ext_impl.cpp:25:60: performance: Function parameter 'stream' should be passed by const reference. [passedByValue] libopenmpt-0.8.2+release.autotools/libopenmpt/libopenmpt_cxx.cpp:31:43: style:inconclusive: Function 'exception' argument 1 names different: declaration 'text' definition 'text_'. [funcArgNamesDifferent] libopenmpt-0.8.2+release.autotools/libopenmpt/libopenmpt.hpp:149:59: note: Function 'exception' argument 1 names different: declaration 'text' definition 'text_'. libopenmpt-0.8.2+release.autotools/libopenmpt/libopenmpt_cxx.cpp:31:43: note: Function 'exception' argument 1 names different: declaration 'text' definition 'text_'. libopenmpt-0.8.2+release.autotools/sounddsp/AGC.cpp:38:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable int64 [valueFlowBailoutIncompleteVar] libopenmpt-0.8.2+release.autotools/sounddsp/EQ.cpp:74:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable channels [valueFlowBailoutIncompleteVar] libopenmpt-0.8.2+release.autotools/sounddsp/DSP.cpp:447:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mix_precision_bits [valueFlowBailoutIncompleteVar] libopenmpt-0.8.2+release.autotools/sounddsp/DSP.cpp:96:2: performance: Variable 'nSurroundSize' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] libopenmpt-0.8.2+release.autotools/sounddsp/DSP.cpp:97:2: performance: Variable 'nSurroundPos' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] libopenmpt-0.8.2+release.autotools/sounddsp/DSP.cpp:98:2: performance: Variable 'nDolbyDepth' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] libopenmpt-0.8.2+release.autotools/sounddsp/DSP.cpp:101:2: performance: Variable 'nDolbyHP_Y1' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] libopenmpt-0.8.2+release.autotools/sounddsp/DSP.cpp:102:2: performance: Variable 'nDolbyHP_X1' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] libopenmpt-0.8.2+release.autotools/sounddsp/DSP.cpp:103:2: performance: Variable 'nDolbyLP_Y1' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] libopenmpt-0.8.2+release.autotools/sounddsp/DSP.cpp:104:2: performance: Variable 'nDolbyHP_B0' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] libopenmpt-0.8.2+release.autotools/sounddsp/DSP.cpp:105:2: performance: Variable 'nDolbyHP_B1' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] libopenmpt-0.8.2+release.autotools/sounddsp/DSP.cpp:106:2: performance: Variable 'nDolbyHP_A1' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] libopenmpt-0.8.2+release.autotools/sounddsp/DSP.cpp:107:2: performance: Variable 'nDolbyLP_B0' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] libopenmpt-0.8.2+release.autotools/sounddsp/DSP.cpp:108:2: performance: Variable 'nDolbyLP_B1' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] libopenmpt-0.8.2+release.autotools/sounddsp/DSP.cpp:109:2: performance: Variable 'nDolbyLP_A1' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] libopenmpt-0.8.2+release.autotools/sounddsp/DSP.cpp:120:2: performance: Variable 'nXBassFlt_Y1' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] libopenmpt-0.8.2+release.autotools/sounddsp/DSP.cpp:121:2: performance: Variable 'nXBassFlt_X1' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] libopenmpt-0.8.2+release.autotools/sounddsp/DSP.cpp:122:2: performance: Variable 'nXBassFlt_B0' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] libopenmpt-0.8.2+release.autotools/sounddsp/DSP.cpp:123:2: performance: Variable 'nXBassFlt_B1' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] libopenmpt-0.8.2+release.autotools/sounddsp/DSP.cpp:124:2: performance: Variable 'nXBassFlt_A1' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] libopenmpt-0.8.2+release.autotools/sounddsp/DSP.cpp:127:2: performance: Variable 'nDCRFlt_Y1lf' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] libopenmpt-0.8.2+release.autotools/sounddsp/DSP.cpp:128:2: performance: Variable 'nDCRFlt_X1lf' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] libopenmpt-0.8.2+release.autotools/sounddsp/DSP.cpp:129:2: performance: Variable 'nDCRFlt_Y1rf' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] libopenmpt-0.8.2+release.autotools/sounddsp/DSP.cpp:130:2: performance: Variable 'nDCRFlt_X1rf' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] libopenmpt-0.8.2+release.autotools/sounddsp/DSP.cpp:131:2: performance: Variable 'nDCRFlt_Y1lb' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] libopenmpt-0.8.2+release.autotools/sounddsp/DSP.cpp:132:2: performance: Variable 'nDCRFlt_X1lb' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] libopenmpt-0.8.2+release.autotools/sounddsp/DSP.cpp:133:2: performance: Variable 'nDCRFlt_Y1rb' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] libopenmpt-0.8.2+release.autotools/sounddsp/DSP.cpp:134:2: performance: Variable 'nDCRFlt_X1rb' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] libopenmpt-0.8.2+release.autotools/sounddsp/DSP.cpp:434:16: performance:inconclusive: Technically the member function 'BitCrush::Initialize' can be static (but you may consider moving to unnamed namespace). [functionStatic] libopenmpt-0.8.2+release.autotools/sounddsp/DSP.h:134:7: note: Technically the member function 'BitCrush::Initialize' can be static (but you may consider moving to unnamed namespace). libopenmpt-0.8.2+release.autotools/sounddsp/DSP.cpp:434:16: note: Technically the member function 'BitCrush::Initialize' can be static (but you may consider moving to unnamed namespace). libopenmpt-0.8.2+release.autotools/sounddsp/DSP.cpp:441:16: style:inconclusive: Technically the member function 'BitCrush::Process' can be const. [functionConst] libopenmpt-0.8.2+release.autotools/sounddsp/DSP.h:135:7: note: Technically the member function 'BitCrush::Process' can be const. libopenmpt-0.8.2+release.autotools/sounddsp/DSP.cpp:441:16: note: Technically the member function 'BitCrush::Process' can be const. libopenmpt-0.8.2+release.autotools/sounddsp/DSP.cpp:285:8: style: The scope of the variable 'py' can be reduced. [variableScope] libopenmpt-0.8.2+release.autotools/sounddsp/DSP.cpp:345:54: style:inconclusive: Function 'X86_StereoDCRemoval' argument 2 names different: declaration 'count' definition 'nSamples'. [funcArgNamesDifferent] libopenmpt-0.8.2+release.autotools/sounddsp/DSP.cpp:30:47: note: Function 'X86_StereoDCRemoval' argument 2 names different: declaration 'count' definition 'nSamples'. libopenmpt-0.8.2+release.autotools/sounddsp/DSP.cpp:345:54: note: Function 'X86_StereoDCRemoval' argument 2 names different: declaration 'count' definition 'nSamples'. libopenmpt-0.8.2+release.autotools/sounddsp/DSP.cpp:374:52: style:inconclusive: Function 'X86_MonoDCRemoval' argument 2 names different: declaration 'count' definition 'nSamples'. [funcArgNamesDifferent] libopenmpt-0.8.2+release.autotools/sounddsp/DSP.cpp:31:45: note: Function 'X86_MonoDCRemoval' argument 2 names different: declaration 'count' definition 'nSamples'. libopenmpt-0.8.2+release.autotools/sounddsp/DSP.cpp:374:52: note: Function 'X86_MonoDCRemoval' argument 2 names different: declaration 'count' definition 'nSamples'. libopenmpt-0.8.2+release.autotools/soundlib/AudioCriticalSection.h:93:7: performance:inconclusive: Technically the member function 'CriticalSection::Enter' can be static (but you may consider moving to unnamed namespace). [functionStatic] libopenmpt-0.8.2+release.autotools/soundlib/AudioCriticalSection.h:94:7: performance:inconclusive: Technically the member function 'CriticalSection::Leave' can be static (but you may consider moving to unnamed namespace). [functionStatic] libopenmpt-0.8.2+release.autotools/sounddsp/DSP.cpp:234:65: style: Parameter 'MixRearBuffer' can be declared as pointer to const [constParameterPointer] libopenmpt-0.8.2+release.autotools/libopenmpt/libopenmpt_c.cpp:255:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libopenmpt-0.8.2+release.autotools/sounddsp/Reverb.cpp:63:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pi [valueFlowBailoutIncompleteVar] libopenmpt-0.8.2+release.autotools/sounddsp/Reverb.cpp:125:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ASCII [valueFlowBailoutIncompleteVar] libopenmpt-0.8.2+release.autotools/sounddsp/Reverb.cpp:282:87: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable first [valueFlowBailoutIncompleteVar] libopenmpt-0.8.2+release.autotools/sounddsp/Reverb.cpp:768:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable l [valueFlowBailoutIncompleteVar] libopenmpt-0.8.2+release.autotools/sounddsp/Reverb.cpp:851:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Delay [valueFlowBailoutIncompleteVar] libopenmpt-0.8.2+release.autotools/sounddsp/Reverb.cpp:969:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable l [valueFlowBailoutIncompleteVar] libopenmpt-0.8.2+release.autotools/libopenmpt/libopenmpt_c.cpp:75:11: style: The destructor '~invalid_module_pointer' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] libopenmpt-0.8.2+release.autotools/libopenmpt/libopenmpt.hpp:154:37: note: Virtual destructor in base class libopenmpt-0.8.2+release.autotools/libopenmpt/libopenmpt_c.cpp:75:11: note: Destructor in derived class libopenmpt-0.8.2+release.autotools/libopenmpt/libopenmpt_c.cpp:86:11: style: The destructor '~argument_null_pointer' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] libopenmpt-0.8.2+release.autotools/libopenmpt/libopenmpt.hpp:154:37: note: Virtual destructor in base class libopenmpt-0.8.2+release.autotools/libopenmpt/libopenmpt_c.cpp:86:11: note: Destructor in derived class libopenmpt-0.8.2+release.autotools/libopenmpt/libopenmpt_c.cpp:40:15: style: C-style pointer casting [cstyleCast] libopenmpt-0.8.2+release.autotools/libopenmpt/libopenmpt_c.cpp:454:12: style: C-style pointer casting [cstyleCast] libopenmpt-0.8.2+release.autotools/libopenmpt/libopenmpt_c.cpp:526:26: style: C-style pointer casting [cstyleCast] libopenmpt-0.8.2+release.autotools/libopenmpt/libopenmpt_c.cpp:568:14: style: C-style pointer casting [cstyleCast] libopenmpt-0.8.2+release.autotools/libopenmpt/libopenmpt_c.cpp:582:26: style: C-style pointer casting [cstyleCast] libopenmpt-0.8.2+release.autotools/libopenmpt/libopenmpt_c.cpp:623:14: style: C-style pointer casting [cstyleCast] libopenmpt-0.8.2+release.autotools/libopenmpt/libopenmpt_c.cpp:640:14: style: C-style pointer casting [cstyleCast] libopenmpt-0.8.2+release.autotools/libopenmpt/libopenmpt_c.cpp:1508:34: style: C-style pointer casting [cstyleCast] libopenmpt-0.8.2+release.autotools/libopenmpt/libopenmpt_c.cpp:1555:14: style: C-style pointer casting [cstyleCast] libopenmpt-0.8.2+release.autotools/libopenmpt/libopenmpt_c.cpp:1565:34: style: C-style pointer casting [cstyleCast] libopenmpt-0.8.2+release.autotools/libopenmpt/libopenmpt_c.cpp:1611:14: style: C-style pointer casting [cstyleCast] libopenmpt-0.8.2+release.autotools/libopenmpt/libopenmpt_c.cpp:1630:14: style: C-style pointer casting [cstyleCast] libopenmpt-0.8.2+release.autotools/libopenmpt/libopenmpt_c.cpp:466:146: style:inconclusive: Function 'openmpt_could_open_probability' argument 5 names different: declaration 'user' definition 'loguser'. [funcArgNamesDifferent] libopenmpt-0.8.2+release.autotools/libopenmpt/libopenmpt.h:512:183: note: Function 'openmpt_could_open_probability' argument 5 names different: declaration 'user' definition 'loguser'. libopenmpt-0.8.2+release.autotools/libopenmpt/libopenmpt_c.cpp:466:146: note: Function 'openmpt_could_open_probability' argument 5 names different: declaration 'user' definition 'loguser'. libopenmpt-0.8.2+release.autotools/libopenmpt/libopenmpt_c.cpp:469:146: style:inconclusive: Function 'openmpt_could_open_propability' argument 5 names different: declaration 'user' definition 'loguser'. [funcArgNamesDifferent] libopenmpt-0.8.2+release.autotools/libopenmpt/libopenmpt.h:528:183: note: Function 'openmpt_could_open_propability' argument 5 names different: declaration 'user' definition 'loguser'. libopenmpt-0.8.2+release.autotools/libopenmpt/libopenmpt_c.cpp:469:146: note: Function 'openmpt_could_open_propability' argument 5 names different: declaration 'user' definition 'loguser'. libopenmpt-0.8.2+release.autotools/libopenmpt/libopenmpt_c.cpp:520:132: style:inconclusive: Function 'openmpt_module_create' argument 4 names different: declaration 'loguser' definition 'user'. [funcArgNamesDifferent] libopenmpt-0.8.2+release.autotools/libopenmpt/libopenmpt.h:680:169: note: Function 'openmpt_module_create' argument 4 names different: declaration 'loguser' definition 'user'. libopenmpt-0.8.2+release.autotools/libopenmpt/libopenmpt_c.cpp:520:132: note: Function 'openmpt_module_create' argument 4 names different: declaration 'loguser' definition 'user'. libopenmpt-0.8.2+release.autotools/libopenmpt/libopenmpt_c.cpp:576:126: style:inconclusive: Function 'openmpt_module_create_from_memory' argument 4 names different: declaration 'loguser' definition 'user'. [funcArgNamesDifferent] libopenmpt-0.8.2+release.autotools/libopenmpt/libopenmpt.h:713:163: note: Function 'openmpt_module_create_from_memory' argument 4 names different: declaration 'loguser' definition 'user'. libopenmpt-0.8.2+release.autotools/libopenmpt/libopenmpt_c.cpp:576:126: note: Function 'openmpt_module_create_from_memory' argument 4 names different: declaration 'loguser' definition 'user'. libopenmpt-0.8.2+release.autotools/soundlib/MIDIEvents.h:16:1: error: There is an unknown macro here somewhere. Configuration is required. If OPENMPT_NAMESPACE_BEGIN is a macro then please configure it. [unknownMacro] libopenmpt-0.8.2+release.autotools/common/FileReaderFwd.h:44:1: error: There is an unknown macro here somewhere. Configuration is required. If OPENMPT_NAMESPACE_BEGIN is a macro then please configure it. [unknownMacro] libopenmpt-0.8.2+release.autotools/soundlib/Paula.h:18:1: error: There is an unknown macro here somewhere. Configuration is required. If OPENMPT_NAMESPACE_BEGIN is a macro then please configure it. [unknownMacro] libopenmpt-0.8.2+release.autotools/common/mptString.h:31:1: error: There is an unknown macro here somewhere. Configuration is required. If OPENMPT_NAMESPACE_BEGIN is a macro then please configure it. [unknownMacro] libopenmpt-0.8.2+release.autotools/soundlib/TinyFFT.h:29:2: style: Class 'TinyFFT' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] libopenmpt-0.8.2+release.autotools/soundlib/TinyFFT.cpp:151:5: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] libopenmpt-0.8.2+release.autotools/soundlib/WindowedFIR.cpp:25:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pi [valueFlowBailoutIncompleteVar] libopenmpt-0.8.2+release.autotools/soundlib/WindowedFIR.cpp:19:22: performance:inconclusive: Technically the member function 'CWindowedFIR::coef' can be static (but you may consider moving to unnamed namespace). [functionStatic] libopenmpt-0.8.2+release.autotools/soundlib/WindowedFIR.h:75:9: note: Technically the member function 'CWindowedFIR::coef' can be static (but you may consider moving to unnamed namespace). libopenmpt-0.8.2+release.autotools/soundlib/WindowedFIR.cpp:19:22: note: Technically the member function 'CWindowedFIR::coef' can be static (but you may consider moving to unnamed namespace). libopenmpt-0.8.2+release.autotools/soundlib/WindowedFIR.cpp:88:11: style: Local variable 'coef' shadows outer function [shadowFunction] libopenmpt-0.8.2+release.autotools/soundlib/WindowedFIR.h:75:9: note: Shadowed declaration libopenmpt-0.8.2+release.autotools/soundlib/WindowedFIR.cpp:88:11: note: Shadow variable libopenmpt-0.8.2+release.autotools/src/openmpt/soundfile_write/wav_write.cpp:39:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RIFFHeader [valueFlowBailoutIncompleteVar] libopenmpt-0.8.2+release.autotools/src/openmpt/soundfile_write/wav_write.cpp:59:73: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RIFFChunk [valueFlowBailoutIncompleteVar] libopenmpt-0.8.2+release.autotools/src/openmpt/soundfile_write/wav_write.cpp:81:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable idfmt_ [valueFlowBailoutIncompleteVar] libopenmpt-0.8.2+release.autotools/src/openmpt/soundfile_write/wav_write.cpp:128:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable idCSET [valueFlowBailoutIncompleteVar] libopenmpt-0.8.2+release.autotools/src/openmpt/soundfile_write/wav_write.cpp:152:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable utf8 [valueFlowBailoutIncompleteVar] libopenmpt-0.8.2+release.autotools/src/openmpt/soundfile_write/wav_write.cpp:182:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable idRIFF [valueFlowBailoutIncompleteVar] libopenmpt-0.8.2+release.autotools/src/openmpt/soundfile_write/wav_write.hpp:36:2: style: Class 'WAVWriter' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] libopenmpt-0.8.2+release.autotools/src/openmpt/soundfile_write/wav_write.cpp:153:9: performance: Ineffective call of function 'substr' because a prefix of the string is assigned to itself. Use resize() or pop_back() instead. [uselessCallsSubstr] diff: head libopenmpt-0.8.2+release.autotools/common/mptBaseMacros.h:19:0: error: failed to evaluate #if condition, undefined function-like macro invocation: MPT_CXX_AT_LEAST( ... ) [preprocessorErrorDirective] head libopenmpt-0.8.2+release.autotools/common/mptBaseMacros.h:19:2: error: failed to evaluate #if condition, undefined function-like macro invocation: MPT_CXX_AT_LEAST( ... ) [preprocessorErrorDirective] 2.18.0 libopenmpt-0.8.2+release.autotools/common/serialization_utils.h:36:1: error: There is an unknown macro here somewhere. Configuration is required. If OPENMPT_NAMESPACE_BEGIN is a macro then please configure it. [unknownMacro] 2.18.0 libopenmpt-0.8.2+release.autotools/examples/libopenmpt_example_c.c:118:57: warning: Possible null pointer dereference: mod_err_str [nullPointer] libopenmpt-0.8.2+release.autotools/examples/libopenmpt_example_c.c:116:18: note: Assignment 'mod_err_str=NULL', assigned value is 0 libopenmpt-0.8.2+release.autotools/examples/libopenmpt_example_c.c:118:57: note: Null pointer dereference 2.18.0 libopenmpt-0.8.2+release.autotools/examples/libopenmpt_example_c.c:137:28: style: Parameter 'argv' can be declared as const array [constParameter] 2.18.0 libopenmpt-0.8.2+release.autotools/examples/libopenmpt_example_c.c:148:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OPENMPT_ERROR_OK [valueFlowBailoutIncompleteVar] 2.18.0 libopenmpt-0.8.2+release.autotools/examples/libopenmpt_example_c.c:282:7: style: Variable 'mod' is assigned a value that is never used. [unreadVariable] 2.18.0 libopenmpt-0.8.2+release.autotools/examples/libopenmpt_example_c.c:287:8: style: Variable 'file' is assigned a value that is never used. [unreadVariable] head libopenmpt-0.8.2+release.autotools/examples/libopenmpt_example_c.c:36:0: error: failed to evaluate #if condition, undefined function-like macro invocation: OPENMPT_API_VERSION_AT_LEAST( ... ) [preprocessorErrorDirective] head libopenmpt-0.8.2+release.autotools/examples/libopenmpt_example_c.c:36:2: error: failed to evaluate #if condition, undefined function-like macro invocation: OPENMPT_API_VERSION_AT_LEAST( ... ) [preprocessorErrorDirective] 2.18.0 libopenmpt-0.8.2+release.autotools/examples/libopenmpt_example_c.c:84:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] 2.18.0 libopenmpt-0.8.2+release.autotools/examples/libopenmpt_example_c.c:91:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OPENMPT_ERROR_FUNC_RESULT_DEFAULT [valueFlowBailoutIncompleteVar] 2.18.0 libopenmpt-0.8.2+release.autotools/examples/libopenmpt_example_c.c:98:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OPENMPT_ERROR_OUT_OF_MEMORY [valueFlowBailoutIncompleteVar] 2.18.0 libopenmpt-0.8.2+release.autotools/libopenmpt/libopenmpt_impl.cpp:108:1: error: There is an unknown macro here somewhere. Configuration is required. If OPENMPT_NAMESPACE_END is a macro then please configure it. [unknownMacro] head libopenmpt-0.8.2+release.autotools/libopenmpt/libopenmpt_impl.cpp:63:0: error: failed to evaluate #if condition, undefined function-like macro invocation: MPT_WINRT_BEFORE( ... ) [preprocessorErrorDirective] head libopenmpt-0.8.2+release.autotools/libopenmpt/libopenmpt_impl.cpp:63:2: error: failed to evaluate #if condition, undefined function-like macro invocation: MPT_WINRT_BEFORE( ... ) [preprocessorErrorDirective] 2.18.0 libopenmpt-0.8.2+release.autotools/openmpt123/openmpt123.cpp:1091:19: style: Condition 'flags.show_ui' is always false [knownConditionTrueFalse] libopenmpt-0.8.2+release.autotools/openmpt123/openmpt123.cpp:1054:7: note: Assuming that condition 'multiline' is not redundant libopenmpt-0.8.2+release.autotools/openmpt123/openmpt123.cpp:1046:23: note: multiline is assigned 'flags.show_ui' here. libopenmpt-0.8.2+release.autotools/openmpt123/openmpt123.cpp:1091:19: note: Condition 'flags.show_ui' is always false 2.18.0 libopenmpt-0.8.2+release.autotools/openmpt123/openmpt123.cpp:1111:10: style: Condition '!handle_keypress(*c,flags,mod,audio_stream)' is always false [knownConditionTrueFalse] libopenmpt-0.8.2+release.autotools/openmpt123/openmpt123.cpp:1111:26: note: Calling function 'handle_keypress' returns 1 libopenmpt-0.8.2+release.autotools/openmpt123/openmpt123.cpp:1111:10: note: Condition '!handle_keypress(*c,flags,mod,audio_stream)' is always false 2.18.0 libopenmpt-0.8.2+release.autotools/openmpt123/openmpt123.cpp:1142:103: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLOCKS_PER_SEC [valueFlowBailoutIncompleteVar] 2.18.0 libopenmpt-0.8.2+release.autotools/openmpt123/openmpt123.cpp:1158:14: style: The if condition is the same as the previous if condition [duplicateCondition] libopenmpt-0.8.2+release.autotools/openmpt123/openmpt123.cpp:1154:14: note: First condition libopenmpt-0.8.2+release.autotools/openmpt123/openmpt123.cpp:1158:14: note: Second condition 2.18.0 libopenmpt-0.8.2+release.autotools/openmpt123/openmpt123.cpp:1438:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable probe_file_header_flags_default2 [valueFlowBailoutIncompleteVar] 2.18.0 libopenmpt-0.8.2+release.autotools/openmpt123/openmpt123.cpp:1577:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable binary [valueFlowBailoutIncompleteVar] 2.18.0 libopenmpt-0.8.2+release.autotools/openmpt123/openmpt123.cpp:1626:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable binary [valueFlowBailoutIncompleteVar] 2.18.0 libopenmpt-0.8.2+release.autotools/openmpt123/openmpt123.cpp:1720:7: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] 2.18.0 libopenmpt-0.8.2+release.autotools/openmpt123/openmpt123.cpp:173:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable binary [valueFlowBailoutIncompleteVar] 2.18.0 libopenmpt-0.8.2+release.autotools/openmpt123/openmpt123.cpp:1764:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable binary [valueFlowBailoutIncompleteVar] 2.18.0 libopenmpt-0.8.2+release.autotools/openmpt123/openmpt123.cpp:1802:12: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] libopenmpt-0.8.2+release.autotools/openmpt123/openmpt123.cpp:1804:7: note: Found duplicate branches for 'if' and 'else'. libopenmpt-0.8.2+release.autotools/openmpt123/openmpt123.cpp:1802:12: note: Found duplicate branches for 'if' and 'else'. 2.18.0 libopenmpt-0.8.2+release.autotools/openmpt123/openmpt123.cpp:199:11: style: The destructor '~file_audio_stream' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] libopenmpt-0.8.2+release.autotools/openmpt123/openmpt123.hpp:539:11: note: Virtual destructor in base class libopenmpt-0.8.2+release.autotools/openmpt123/openmpt123.cpp:199:11: note: Destructor in derived class 2.18.0 libopenmpt-0.8.2+release.autotools/openmpt123/openmpt123.cpp:2075:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] 2.18.0 libopenmpt-0.8.2+release.autotools/openmpt123/openmpt123.cpp:208:40: performance: Function parameter 'buffers' should be passed by const reference. [passedByValue] 2.18.0 libopenmpt-0.8.2+release.autotools/openmpt123/openmpt123.cpp:211:47: performance: Function parameter 'buffers' should be passed by const reference. [passedByValue] 2.18.0 libopenmpt-0.8.2+release.autotools/openmpt123/openmpt123.cpp:2221:148: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] 2.18.0 libopenmpt-0.8.2+release.autotools/openmpt123/openmpt123.cpp:331:11: style: The destructor '~realtime_audio_stream' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] libopenmpt-0.8.2+release.autotools/openmpt123/openmpt123.hpp:364:11: note: Virtual destructor in base class libopenmpt-0.8.2+release.autotools/openmpt123/openmpt123.cpp:331:11: note: Destructor in derived class 2.18.0 libopenmpt-0.8.2+release.autotools/openmpt123/openmpt123.cpp:340:40: performance: Function parameter 'buffers' should be passed by const reference. [passedByValue] 2.18.0 libopenmpt-0.8.2+release.autotools/openmpt123/openmpt123.cpp:343:47: performance: Function parameter 'buffers' should be passed by const reference. [passedByValue] 2.18.0 libopenmpt-0.8.2+release.autotools/openmpt123/openmpt123.cpp:566:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable source_encoding [valueFlowBailoutIncompleteVar] 2.18.0 libopenmpt-0.8.2+release.autotools/openmpt123/openmpt123.cpp:617:8: style: The if condition is the same as the previous if condition [duplicateCondition] libopenmpt-0.8.2+release.autotools/openmpt123/openmpt123.cpp:613:8: note: First condition libopenmpt-0.8.2+release.autotools/openmpt123/openmpt123.cpp:617:8: note: Second condition 2.18.0 libopenmpt-0.8.2+release.autotools/openmpt123/openmpt123.cpp:642:136: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable banner [valueFlowBailoutIncompleteVar] 2.18.0 libopenmpt-0.8.2+release.autotools/openmpt123/openmpt123.cpp:734:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RENDER_MASTERGAIN_MILLIBEL [valueFlowBailoutIncompleteVar] 2.18.0 libopenmpt-0.8.2+release.autotools/openmpt123/openmpt123.cpp:751:31: style: Struct 'prev_file' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] 2.18.0 libopenmpt-0.8.2+release.autotools/openmpt123/openmpt123.cpp:752:31: style: Struct 'next_file' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] 2.18.0 libopenmpt-0.8.2+release.autotools/openmpt123/openmpt123.hpp:253:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable device [valueFlowBailoutIncompleteVar] 2.18.0 libopenmpt-0.8.2+release.autotools/openmpt123/openmpt123.hpp:375:48: performance: Function parameter 'buffers' should be passed by const reference. [passedByValue] 2.18.0 libopenmpt-0.8.2+release.autotools/openmpt123/openmpt123.hpp:376:55: performance: Function parameter 'buffers' should be passed by const reference. [passedByValue] 2.18.0 libopenmpt-0.8.2+release.autotools/openmpt123/openmpt123.hpp:397:11: style: The destructor '~write_buffers_polling_wrapper' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] libopenmpt-0.8.2+release.autotools/openmpt123/openmpt123.hpp:364:11: note: Virtual destructor in base class libopenmpt-0.8.2+release.autotools/openmpt123/openmpt123.hpp:397:11: note: Destructor in derived class 2.18.0 libopenmpt-0.8.2+release.autotools/openmpt123/openmpt123.hpp:420:40: performance: Function parameter 'buffers' should be passed by const reference. [passedByValue] 2.18.0 libopenmpt-0.8.2+release.autotools/openmpt123/openmpt123.hpp:432:47: performance: Function parameter 'buffers' should be passed by const reference. [passedByValue] 2.18.0 libopenmpt-0.8.2+release.autotools/openmpt123/openmpt123.hpp:454:11: style: The destructor '~write_buffers_polling_wrapper_int' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] libopenmpt-0.8.2+release.autotools/openmpt123/openmpt123.hpp:364:11: note: Virtual destructor in base class libopenmpt-0.8.2+release.autotools/openmpt123/openmpt123.hpp:454:11: note: Destructor in derived class 2.18.0 libopenmpt-0.8.2+release.autotools/openmpt123/openmpt123.hpp:476:40: performance: Function parameter 'buffers' should be passed by const reference. [passedByValue] 2.18.0 libopenmpt-0.8.2+release.autotools/openmpt123/openmpt123.hpp:488:47: performance: Function parameter 'buffers' should be passed by const reference. [passedByValue] 2.18.0 libopenmpt-0.8.2+release.autotools/openmpt123/openmpt123.hpp:506:11: style: The destructor '~void_audio_stream' overrides a destructor in a base class but is identical to the overridden function [uselessOverride] libopenmpt-0.8.2+release.autotools/openmpt123/openmpt123.hpp:364:11: note: Virtual destructor in base class libopenmpt-0.8.2+release.autotools/openmpt123/openmpt123.hpp:506:11: note: Destructor in derived class 2.18.0 libopenmpt-0.8.2+release.autotools/openmpt123/openmpt123.hpp:506:11: style: The destructor '~void_audio_stream' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] libopenmpt-0.8.2+release.autotools/openmpt123/openmpt123.hpp:364:11: note: Virtual destructor in base class libopenmpt-0.8.2+release.autotools/openmpt123/openmpt123.hpp:506:11: note: Destructor in derived class 2.18.0 libopenmpt-0.8.2+release.autotools/openmpt123/openmpt123.hpp:510:40: performance: Function parameter 'buffers' should be passed by const reference. [passedByValue] 2.18.0 libopenmpt-0.8.2+release.autotools/openmpt123/openmpt123.hpp:514:47: performance: Function parameter 'buffers' should be passed by const reference. [passedByValue] 2.18.0 libopenmpt-0.8.2+release.autotools/openmpt123/openmpt123.hpp:529:7: style: The function 'write_metadata' overrides a function in a base class but is identical to the overridden function [uselessOverride] libopenmpt-0.8.2+release.autotools/openmpt123/openmpt123.hpp:367:15: note: Virtual function in base class libopenmpt-0.8.2+release.autotools/openmpt123/openmpt123.hpp:529:7: note: Function in derived class 2.18.0 libopenmpt-0.8.2+release.autotools/openmpt123/openmpt123.hpp:533:7: style: The function 'write_updated_metadata' overrides a function in a base class but is identical to the overridden function [uselessOverride] libopenmpt-0.8.2+release.autotools/openmpt123/openmpt123.hpp:371:15: note: Virtual function in base class libopenmpt-0.8.2+release.autotools/openmpt123/openmpt123.hpp:533:7: note: Function in derived class 2.18.0 libopenmpt-0.8.2+release.autotools/openmpt123/openmpt123.hpp:537:40: performance: Function parameter 'buffers' should be passed by const reference. [passedByValue] 2.18.0 libopenmpt-0.8.2+release.autotools/openmpt123/openmpt123.hpp:538:47: performance: Function parameter 'buffers' should be passed by const reference. [passedByValue] 2.18.0 libopenmpt-0.8.2+release.autotools/openmpt123/openmpt123.hpp:539:11: style: The destructor '~file_audio_stream_base' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] libopenmpt-0.8.2+release.autotools/openmpt123/openmpt123.hpp:364:11: note: Virtual destructor in base class libopenmpt-0.8.2+release.autotools/openmpt123/openmpt123.hpp:539:11: note: Destructor in derived class 2.18.0 libopenmpt-0.8.2+release.autotools/openmpt123/openmpt123.hpp:72:2: style: Struct 'show_help_exception' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] 2.18.0 libopenmpt-0.8.2+release.autotools/openmpt123/openmpt123.hpp:89:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Tstring [valueFlowBailoutIncompleteVar] 2.18.0 libopenmpt-0.8.2+release.autotools/openmpt123/openmpt123_exception.hpp:25:2: style: Struct 'exception' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] 2.18.0 libopenmpt-0.8.2+release.autotools/openmpt123/openmpt123_raw.hpp:30:3: style: The destructor '~raw_stream_raii' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] libopenmpt-0.8.2+release.autotools/openmpt123/openmpt123.hpp:539:11: note: Virtual destructor in base class libopenmpt-0.8.2+release.autotools/openmpt123/openmpt123_raw.hpp:30:3: note: Destructor in derived class 2.18.0 libopenmpt-0.8.2+release.autotools/openmpt123/openmpt123_raw.hpp:36:40: performance: Function parameter 'buffers' should be passed by const reference. [passedByValue] 2.18.0 libopenmpt-0.8.2+release.autotools/openmpt123/openmpt123_raw.hpp:43:15: portability:inconclusive: Casting from float * to const char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] 2.18.0 libopenmpt-0.8.2+release.autotools/openmpt123/openmpt123_raw.hpp:45:47: performance: Function parameter 'buffers' should be passed by const reference. [passedByValue] 2.18.0 libopenmpt-0.8.2+release.autotools/openmpt123/openmpt123_raw.hpp:52:119: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable int16_t [valueFlowBailoutIncompleteVar] 2.18.0 libopenmpt-0.8.2+release.autotools/openmpt123/openmpt123_stdout.hpp:27:40: performance: Function parameter 'buffers' should be passed by const reference. [passedByValue] 2.18.0 libopenmpt-0.8.2+release.autotools/openmpt123/openmpt123_stdout.hpp:34:20: portability:inconclusive: Casting from float * to const char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] 2.18.0 libopenmpt-0.8.2+release.autotools/openmpt123/openmpt123_stdout.hpp:36:47: performance: Function parameter 'buffers' should be passed by const reference. [passedByValue] 2.18.0 libopenmpt-0.8.2+release.autotools/openmpt123/openmpt123_stdout.hpp:43:130: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable int16_t [valueFlowBailoutIncompleteVar] head libopenmpt-0.8.2+release.autotools/openmpt123/openmpt123_terminal.hpp:114:0: error: failed to evaluate #if condition, undefined function-like macro invocation: MPT_WINRT_BEFORE( ... ) [preprocessorErrorDirective] head libopenmpt-0.8.2+release.autotools/openmpt123/openmpt123_terminal.hpp:114:2: error: failed to evaluate #if condition, undefined function-like macro invocation: MPT_WINRT_BEFORE( ... ) [preprocessorErrorDirective] 2.18.0 libopenmpt-0.8.2+release.autotools/openmpt123/openmpt123_terminal.hpp:145:11: style: The destructor '~textout' overrides a destructor in a base class but is not marked with a 'override' specifier. [missingOverride] libopenmpt-0.8.2+release.autotools/openmpt123/openmpt123_terminal.hpp:96:3: note: Virtual destructor in base class libopenmpt-0.8.2+release.autotools/openmpt123/openmpt123_terminal.hpp:145:11: note: Destructor in derived class 2.18.0 libopenmpt-0.8.2+release.autotools/openmpt123/openmpt123_terminal.hpp:200:2: style: Class 'textout_ostream' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] 2.18.0 libopenmpt-0.8.2+release.autotools/openmpt123/openmpt123_terminal.hpp:220:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable locale [valueFlowBailoutIncompleteVar] 2.18.0 libopenmpt-0.8.2+release.autotools/openmpt123/openmpt123_terminal.hpp:462:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICANON [valueFlowBailoutIncompleteVar] 2.18.0 libopenmpt-0.8.2+release.autotools/openmpt123/openmpt123_terminal.hpp:474:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCSANOW [valueFlowBailoutIncompleteVar] 2.18.0 libopenmpt-0.8.2+release.autotools/openmpt123/openmpt123_terminal.hpp:494:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POLLIN [valueFlowBailoutIncompleteVar] 2.18.0 libopenmpt-0.8.2+release.autotools/openmpt123/openmpt123_terminal.hpp:515:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nullopt [valueFlowBailoutIncompleteVar] 2.18.0 libopenmpt-0.8.2+release.autotools/openmpt123/openmpt123_terminal.hpp:71:81: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable lf [valueFlowBailoutIncompleteVar] 2.18.0 libopenmpt-0.8.2+release.autotools/openmpt123/openmpt123_terminal.hpp:76:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Tstring [valueFlowBailoutIncompleteVar] 2.18.0 libopenmpt-0.8.2+release.autotools/soundlib/Snd_defs.h:768:1: error: There is an unknown macro here somewhere. Configuration is required. If OPENMPT_NAMESPACE_END is a macro then please configure it. [unknownMacro] 2.18.0 libopenmpt-0.8.2+release.autotools/soundlib/plugins/dmo/DMOUtils.h:11:1: error: There is an unknown macro here somewhere. Configuration is required. If OPENMPT_NAMESPACE_BEGIN is a macro then please configure it. [unknownMacro] 2.18.0 libopenmpt-0.8.2+release.autotools/soundlib/tuningbase.h:19:1: error: There is an unknown macro here somewhere. Configuration is required. If OPENMPT_NAMESPACE_BEGIN is a macro then please configure it. [unknownMacro] DONE