2026-02-17 00:12 ftp://ftp.de.debian.org/debian/pool/main/m/meson/meson_1.10.1.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=emscripten --library=python --library=zlib --library=boost --library=openmp --library=gtk --library=googletest --library=wxwidgets --library=qt --library=lua --library=sdl --library=sqlite3 --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 -j12 platform: Linux-6.18.9+deb14-amd64-x86_64-with-glibc2.42 python: 3.13.12 client-version: 1.3.69 compiler: g++ (Debian 15.2.0-13) 15.2.0 cppcheck: head 2.19.0 head-info: f7130c3b (2026-02-17 00:33:35 +0100) count: 434 434 elapsed-time: 9.3 3.9 head-timing-info: old-timing-info: head results: meson-1.10.1/manual tests/2 multiwrap/prog.c:26:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PNG_IMAGE_VERSION [valueFlowBailoutIncompleteVar] meson-1.10.1/manual tests/2 multiwrap/prog.c:46:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] meson-1.10.1/manual tests/4 standalone binaries/myapp.cpp:12:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SDL_INIT_VIDEO [valueFlowBailoutIncompleteVar] meson-1.10.1/manual tests/5 rpm/main.c:5:9: style: Variable 't' can be declared as pointer to const [constVariablePointer] meson-1.10.1/test cases/cmake/1 basic/subprojects/cmMod/cmMod.hpp:7:2: error: #error "Invalid MESON_MAGIC_FLAG" [preprocessorErrorDirective] meson-1.10.1/test cases/cmake/1 basic/main.cpp:8:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/cmake/10 header only/main.cpp:10:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/cmake/15 object library advanced/subprojects/cmObjLib/genC.cpp:10:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/cmake/13 system includes/main.cpp:8:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/cmake/15 object library advanced/main.cpp:8:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/cmake/15 object library advanced/subprojects/cmObjLib/libA.cpp:4:2: error: #error "BUILD_AS_OBJ was not defined" [preprocessorErrorDirective] meson-1.10.1/test cases/cmake/13 system includes/subprojects/cmMod/cmMod.cpp:7:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable World [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/cmake/12 generator expressions/main.cpp:8:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/cmake/13 system includes/subprojects/cmMod/cmMod.cpp:7:3: performance: Variable 'str' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] meson-1.10.1/test cases/cmake/13 system includes/subprojects/cmMod/cmMod.hpp:10:5: style: Class 'cmModClass' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] meson-1.10.1/test cases/cmake/13 system includes/subprojects/cmMod/cmMod.hpp:12:17: performance: Function 'getStr()' should return member 'str' by const reference. [returnByReference] meson-1.10.1/test cases/cmake/13 system includes/subprojects/cmMod/cmMod.cpp:6:31: performance: Function parameter 'foo' should be passed by const reference. [passedByValue] meson-1.10.1/test cases/cmake/18 skip include files/subprojects/cmMod/fakeInc/cmModInc1.cpp:2:2: error: #error "MESON_INCLUDE_IMPL is not defined" [preprocessorErrorDirective] meson-1.10.1/test cases/cmake/18 skip include files/main.cpp:8:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/cmake/18 skip include files/subprojects/cmMod/fakeInc/cmModInc2.cpp:2:2: error: #error "MESON_INCLUDE_IMPL is not defined" [preprocessorErrorDirective] meson-1.10.1/test cases/cmake/17 include path order/main.cpp:8:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/cmake/18 skip include files/subprojects/cmMod/fakeInc/cmModInc3.cpp:2:2: error: #error "MESON_INCLUDE_IMPL is not defined" [preprocessorErrorDirective] meson-1.10.1/test cases/cmake/17 include path order/subprojects/cmMod/cmMod.cpp:6:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable str [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/cmake/17 include path order/subprojects/cmMod/cmMod.cpp:10:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable str [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/cmake/18 skip include files/subprojects/cmMod/fakeInc/cmModInc4.cpp:2:2: error: #error "MESON_INCLUDE_IMPL is not defined" [preprocessorErrorDirective] meson-1.10.1/test cases/cmake/19 advanced options/subprojects/cmOpts/cmMod.cpp:10:2: error: #error "MESON_GLOBAL_FLAG was not set" [preprocessorErrorDirective] meson-1.10.1/test cases/cmake/18 skip include files/subprojects/cmMod/fakeInc/cmModInc3.cpp:5:20: style: Unused private function: 'cmModClass::getStr1' [unusedPrivateFunction] meson-1.10.1/test cases/cmake/18 skip include files/subprojects/cmMod/cmMod.hpp:10:15: note: Unused private function: 'cmModClass::getStr1' meson-1.10.1/test cases/cmake/18 skip include files/subprojects/cmMod/fakeInc/cmModInc3.cpp:5:20: note: Unused private function: 'cmModClass::getStr1' meson-1.10.1/test cases/cmake/18 skip include files/subprojects/cmMod/fakeInc/cmModInc1.cpp:6:3: performance: Variable 'str' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] meson-1.10.1/test cases/cmake/18 skip include files/subprojects/cmMod/cmMod.hpp:13:3: style: Class 'cmModClass' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] meson-1.10.1/test cases/cmake/18 skip include files/subprojects/cmMod/cmMod.hpp:11:15: performance: Function 'getStr2()' should return member 'str' by const reference. [returnByReference] meson-1.10.1/test cases/cmake/19 advanced options/main.cpp:9:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/cmake/18 skip include files/subprojects/cmMod/fakeInc/cmModInc1.cpp:5:31: performance: Function parameter 'foo' should be passed by const reference. [passedByValue] meson-1.10.1/test cases/cmake/2 advanced/main.cpp:6:2: error: #error "Invalid value of CONFIG_OPT" [preprocessorErrorDirective] meson-1.10.1/test cases/cmake/19 advanced options/subprojects/cmOpts/cmTest.cpp:8:2: error: #error "At most C++11 is required" [preprocessorErrorDirective] meson-1.10.1/test cases/cmake/2 advanced/slib.cpp:6:2: error: #error "Invalid value of CONFIG_OPT" [preprocessorErrorDirective] meson-1.10.1/test cases/cmake/2 advanced/subprojects/cmMod/lib/cmMod.cpp:6:2: error: #error "Invalid value of CONFIG_OPT" [preprocessorErrorDirective] meson-1.10.1/test cases/cmake/21 shared module/prog.c:6:2: error: #error "SPECIAL_MAGIC_DEFINE is not defined" [preprocessorErrorDirective] meson-1.10.1/test cases/cmake/2 advanced/subprojects/cmMod/main.cpp:9:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/cmake/19 advanced options/subprojects/cmOpts/main.cpp:8:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/cmake/2 advanced/subprojects/cmMod/lib/cmMod.hpp:10:5: style: Class 'cmModClass' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] meson-1.10.1/test cases/cmake/19 advanced options/subprojects/cmOpts/cmMod.hpp:10:3: style: Class 'cmModClass' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] meson-1.10.1/test cases/cmake/24 mixing languages/subprojects/cmTest/cmTest.c:5:2: error: #error "SOME_MAGIC_DEFINE != 42" [preprocessorErrorDirective] meson-1.10.1/test cases/cmake/27 dependency fallback/subprojects/cmMod/cmMod.hpp:7:2: error: #error "Invalid MESON_MAGIC_FLAG" [preprocessorErrorDirective] meson-1.10.1/test cases/cmake/27 dependency fallback/main.cpp:8:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/cmake/3 advanced no dep/subprojects/cmMod/lib/cmMod.cpp:5:2: error: #error "Invalid value of CONFIG_OPT" [preprocessorErrorDirective] meson-1.10.1/test cases/cmake/3 advanced no dep/main.cpp:6:2: error: #error "Invalid value of CONFIG_OPT" [preprocessorErrorDirective] meson-1.10.1/test cases/cmake/3 advanced no dep/subprojects/cmMod/main.cpp:8:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/cmake/3 advanced no dep/subprojects/cmMod/lib/cmMod.hpp:10:5: style: Class 'cmModClass' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] meson-1.10.1/test cases/cmake/5 object library/main.cpp:9:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/cmake/4 code gen/main.cpp:7:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/cmake/4 code gen/subprojects/cmCodeGen/main.cpp:8:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/cmake/8 custom command/subprojects/cmMod/args_test.cpp:8:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/cmake/8 custom command/subprojects/cmMod/cmMod.cpp:9:2: error: #error FOO not declared [preprocessorErrorDirective] meson-1.10.1/test cases/cmake/6 object library no dep/main.cpp:9:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/cmake/8 custom command/main.cpp:8:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/cmake/8 custom command/subprojects/cmMod/cp.cpp:8:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/cmake/8 custom command/subprojects/cmMod/cpyTest.cpp:8:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CPY_TEST_STR_2 [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/cmake/8 custom command/subprojects/cmMod/genMain.cpp:6:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/common/100 postconf with args/prog.c:4:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable THE_NUMBER [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/common/105 generatorcustom/gen.c:9:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/common/107 spaces backslash/comparer-end.c:4:2: error: #error "comparer.h not included" [preprocessorErrorDirective] meson-1.10.1/test cases/common/107 spaces backslash/comparer-end-notstring.c:4:2: error: #error "comparer.h not included" [preprocessorErrorDirective] meson-1.10.1/test cases/common/107 spaces backslash/comparer.c:4:2: error: #error "comparer.h not included" [preprocessorErrorDirective] meson-1.10.1/test cases/common/115 subproject project arguments/subprojects/subexe/subexe.c:14:2: error: #error [preprocessorErrorDirective] meson-1.10.1/test cases/common/115 subproject project arguments/exe.cpp:18:2: error: #error [preprocessorErrorDirective] meson-1.10.1/test cases/common/115 subproject project arguments/exe.c:2:2: error: #error [preprocessorErrorDirective] meson-1.10.1/test cases/common/117 shared module/prog.c:73:5: warning: Return value of function dlerror() is not used. [ignoredReturnValue] meson-1.10.1/test cases/common/117 shared module/prog.c:69:11: style: Variable 'error' can be declared as pointer to const [constVariablePointer] meson-1.10.1/test cases/common/119 cpp and asm/trivial.cc:14:4: error: #error "Forgot to pass asm define" [preprocessorErrorDirective] meson-1.10.1/test cases/common/125 configure file in generator/src/main.c:5:2: error: #error Configuration RESULT is not defined correctly [preprocessorErrorDirective] meson-1.10.1/test cases/common/13 pch/c/prog.c:4:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/common/13 pch/cpp/prog.cc:4:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/common/13 pch/generated/prog.c:4:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FOO [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/common/13 pch/mixed/func.c:2:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/common/13 pch/mixed/main.cc:4:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/common/13 pch/withIncludeDirectories/prog.c:4:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/common/13 pch/withIncludeFile/prog.c:4:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/common/130 include order/ordertest.c:5:2: error: #error "Should have picked up hdr.h from inc1/hdr.h" [preprocessorErrorDirective] meson-1.10.1/test cases/common/133 c cpp and asm/main.cpp:9:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/common/138 C and CPP link/foo.cpp:25:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable N [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/common/14 configure file/dumpprog.c:8:2: error: #error Token did not get undefined. [preprocessorErrorDirective] meson-1.10.1/test cases/common/14 configure file/prog10.c:5:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MESSAGE1 [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/common/14 configure file/prog2.c:4:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZERO_RESULT [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/common/14 configure file/prog4.c:5:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RESULTA [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/common/14 configure file/prog5.c:5:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MESSAGE [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/common/14 configure file/prog9.c:10:2: error: #error "Should be defined" [preprocessorErrorDirective] meson-1.10.1/test cases/common/141 special characters/arg-string-test.c:6:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CHAR [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/common/14 configure file/prog6.c:5:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MESSAGE1 [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/common/14 configure file/prog7.c:5:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MESSAGE1 [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/common/141 special characters/arg-char-test.c:5:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CHAR [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/common/141 special characters/arg-unquoted-test.c:13:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/common/144 link depends custom target/foo.c:4:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEPFILE [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/common/144 link depends custom target/foo.c:14:3: error: Resource leak: f [resourceLeak] meson-1.10.1/test cases/common/144 link depends custom target/foo.c:5:9: style: Variable 'f' can be declared as pointer to const [constVariablePointer] meson-1.10.1/test cases/common/147 simd/simd_avx.c:4:2: error: #error The correct internal header was not used [preprocessorErrorDirective] meson-1.10.1/test cases/common/147 simd/simd_sse2.c:24:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ALIGN_16 [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/common/147 simd/simd_sse3.c:25:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ALIGN_16 [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/common/147 simd/simd_sse42.c:30:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ALIGN_16 [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/common/147 simd/simd_sse41.c:27:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ALIGN_16 [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/common/147 simd/simdchecker.c:28:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ALIGN_16 [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/common/147 simd/simd_ssse3.c:33:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ALIGN_16 [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/common/155 subproject dir name collision/other_subdir/custom_subproject_dir/other.c:15:12: style: Same expression on both sides of '!='. [duplicateExpression] meson-1.10.1/test cases/common/173 as-needed/libB.cpp:10:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable linked [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/common/174 ndebug if-release enabled/main.c:13:12: warning: Assert statement calls a function which may have desired side effects: 'meson_test_set_side_effect'. [assertWithSideEffect] meson-1.10.1/test cases/common/183 partial dependency/declare_dependency/headers/foo.c:16:2: error: #error "Included C sources that shouldn't be." [preprocessorErrorDirective] meson-1.10.1/test cases/common/183 partial dependency/external_dependency/link.c:11:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZLIB_VERSION [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/common/198 broken subproject/subprojects/broken/broken.c:1:2: error: #error This must not compile [preprocessorErrorDirective] meson-1.10.1/test cases/common/20 global arg/prog.c:2:4: error: #error "Global argument not set" [preprocessorErrorDirective] meson-1.10.1/test cases/common/20 global arg/prog.cc:6:2: error: #error "Global argument not set" [preprocessorErrorDirective] meson-1.10.1/test cases/common/2 cpp/cpp.C:4:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/common/2 cpp/trivial.cc:4:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/common/201 kwarg entry/prog.c:5:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MESSAGE [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/common/205 native file path override/main.cpp:4:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/common/206 tap tests/tester.c:5:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/common/206 tap tests/cat.c:10:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/common/207 warning level 0/main.cpp:7:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/common/21 target arg/func.c:2:2: error: #error "Local argument not set" [preprocessorErrorDirective] meson-1.10.1/test cases/common/21 target arg/prog.cc:6:2: error: #error "Local argument not set" [preprocessorErrorDirective] meson-1.10.1/test cases/common/213 source set dictionary/subdir/b.c:10:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable p [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/common/212 source set configuration_data/subdir/b.c:10:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable p [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/common/215 source set realistic example/boards/arm/aarch64.cc:6:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/common/215 source set realistic example/boards/arm/versatilepb.cc:12:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/common/215 source set realistic example/boards/arm/arm32.cc:6:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/common/215 source set realistic example/boards/arm/xlnx_zcu102.cc:12:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/common/215 source set realistic example/boards/arm/arm.cc:5:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable THE_TARGET [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/common/215 source set realistic example/boards/arm/arm.cc:3:23: style:inconclusive: Either there is a missing 'override', or the member function 'ARMBoard::target' can be const. [functionConst] meson-1.10.1/test cases/common/215 source set realistic example/boards/arm/arm.h:7:17: note: Either there is a missing 'override', or the member function 'ARMBoard::target' can be const. meson-1.10.1/test cases/common/215 source set realistic example/boards/arm/arm.cc:3:23: note: Either there is a missing 'override', or the member function 'ARMBoard::target' can be const. meson-1.10.1/test cases/common/215 source set realistic example/boards/arm/arm.cc:8:16: style: Either there is a missing 'override', or the member function 'ARMBoard::some_arm_thing' can be static. [functionStatic] meson-1.10.1/test cases/common/215 source set realistic example/boards/arm/arm.h:8:10: note: Either there is a missing 'override', or the member function 'ARMBoard::some_arm_thing' can be static. meson-1.10.1/test cases/common/215 source set realistic example/boards/arm/arm.cc:8:16: note: Either there is a missing 'override', or the member function 'ARMBoard::some_arm_thing' can be static. meson-1.10.1/test cases/common/215 source set realistic example/boards/arm/virt.cc:12:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/common/215 source set realistic example/devices/virtio-mmio.cc:12:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/common/215 source set realistic example/boards/x86/pc.cc:11:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable THE_TARGET [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/common/215 source set realistic example/boards/x86/pc.cc:16:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/common/215 source set realistic example/boards/x86/pc.cc:22:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/common/215 source set realistic example/devices/virtio-pci.cc:12:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/common/215 source set realistic example/boards/x86/pc.cc:9:23: style:inconclusive: Either there is a missing 'override', or the member function 'X86Board::target' can be const. [functionConst] meson-1.10.1/test cases/common/215 source set realistic example/boards/x86/pc.cc:5:17: note: Either there is a missing 'override', or the member function 'X86Board::target' can be const. meson-1.10.1/test cases/common/215 source set realistic example/boards/x86/pc.cc:9:23: note: Either there is a missing 'override', or the member function 'X86Board::target' can be const. meson-1.10.1/test cases/common/215 source set realistic example/devices/virtio.cc:5:20: style: Either there is a missing 'override', or the member function 'VirtioDevice::some_virtio_thing' can be static. [functionStatic] meson-1.10.1/test cases/common/215 source set realistic example/devices/virtio.h:7:10: note: Either there is a missing 'override', or the member function 'VirtioDevice::some_virtio_thing' can be static. meson-1.10.1/test cases/common/215 source set realistic example/devices/virtio.cc:5:20: note: Either there is a missing 'override', or the member function 'VirtioDevice::some_virtio_thing' can be static. meson-1.10.1/test cases/common/215 source set realistic example/main.cc:26:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/common/215 source set realistic example/was-found.cc:5:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/common/215 source set realistic example/not-found.cc:6:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/common/215 source set realistic example/zlib.cc:9:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZLIB [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/common/215 source set realistic example/zlib.cc:5:10: style: The function 'initialize' overrides a function in a base class but is not marked with a 'override' specifier. [missingOverride] meson-1.10.1/test cases/common/215 source set realistic example/common.h:38:18: note: Virtual function in base class meson-1.10.1/test cases/common/215 source set realistic example/zlib.cc:5:10: note: Function in derived class meson-1.10.1/test cases/common/223 persubproject options/subprojects/sub2/foo.cpp:3:1: style: The class 'Dummy' does not declare a constructor although it has private member variables which likely require initialization. [noConstructor] meson-1.10.1/test cases/common/223 persubproject options/subprojects/sub2/foo.cpp:4:7: style: class member 'Dummy::x' is never used. [unusedStructMember] meson-1.10.1/test cases/common/223 persubproject options/subprojects/sub2/foo.cpp:8:12: style: Variable 'obj' is assigned a value that is never used. [unreadVariable] meson-1.10.1/test cases/common/223 persubproject options/subprojects/sub1/foo.c:6:7: style: Unused variable: x [unusedVariable] meson-1.10.1/test cases/common/226 link depends indexed custom target/foo.c:4:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEPFILE [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/common/226 link depends indexed custom target/foo.c:14:3: error: Resource leak: f [resourceLeak] meson-1.10.1/test cases/common/226 link depends indexed custom target/foo.c:5:9: style: Variable 'f' can be declared as pointer to const [constVariablePointer] meson-1.10.1/test cases/common/23 endian/prog.c:5:27: style: Condition '*((uint8_t*)&one)==1' is always true [knownConditionTrueFalse] meson-1.10.1/test cases/common/23 endian/prog.c:4:20: note: Assignment 'one=1', assigned value is 1 meson-1.10.1/test cases/common/23 endian/prog.c:5:27: note: Condition '*((uint8_t*)&one)==1' is always true meson-1.10.1/test cases/common/23 endian/prog.c:19:23: style: Condition 'is_be' is always false [knownConditionTrueFalse] meson-1.10.1/test cases/common/23 endian/prog.c:17:13: note: Assignment 'is_be=0', assigned value is 0 meson-1.10.1/test cases/common/23 endian/prog.c:19:23: note: Condition 'is_be' is always false meson-1.10.1/test cases/common/23 endian/prog.c:21:24: style: Condition '!is_be' is always true [knownConditionTrueFalse] meson-1.10.1/test cases/common/23 endian/prog.c:17:13: note: Assignment 'is_be=0', assigned value is 0 meson-1.10.1/test cases/common/23 endian/prog.c:21:24: note: Condition '!is_be' is always true meson-1.10.1/test cases/common/236 proper args splitting/main.c:2:3: error: #error "FOO is not defined" [preprocessorErrorDirective] meson-1.10.1/test cases/common/251 add_project_dependencies/lib.c:5:2: error: #error expected compile_arg not found [preprocessorErrorDirective] meson-1.10.1/test cases/common/25 config subdir/src/prog.c:4:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RETURN_VALUE [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/common/254 long output/dumper.c:6:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/common/259 preprocess/bar.c:1:5: error: syntax error [syntaxError] meson-1.10.1/test cases/common/273 both libraries/src/main.c:7:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXPECTED [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/common/276 required keyword in compiles functions/invalid.c:6:1: error: syntax error [syntaxError] meson-1.10.1/test cases/common/281 subproj options/subprojects/sub2/f.c:3:1: error: Found an exit path from function with non-void return type that has missing return statement [missingReturn] meson-1.10.1/test cases/common/282 test args and depends in path/test.c:24:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/common/282 test args and depends in path/test.c:19:15: style: Parameter 'test' can be declared as pointer to const [constParameterPointer] meson-1.10.1/test cases/common/3 static/lib3.c:6:3: error: #error "did not get static only C args" [preprocessorErrorDirective] meson-1.10.1/test cases/common/31 define10/prog.c:5:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ONE [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/common/4 shared/libfile2.c:13:3: error: #error "Did not get shared only arguments" [preprocessorErrorDirective] meson-1.10.1/test cases/common/41 test args/env2vars.c:7:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/common/41 test args/cmd_args.c:6:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/common/41 test args/tester.c:15:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/common/41 test args/tester.c:27:9: error: Resource leak: fd [resourceLeak] meson-1.10.1/test cases/common/41 test args/tester.c:31:9: error: Resource leak: fd [resourceLeak] meson-1.10.1/test cases/common/41 test args/tester.c:33:5: error: Resource leak: fd [resourceLeak] meson-1.10.1/test cases/common/41 test args/envvars.c:7:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/common/44 pkgconfig-gen/dependencies/main.c:4:2: error: #error LIBFOO should be defined in pkgconfig cflags [preprocessorErrorDirective] meson-1.10.1/test cases/common/44 pkgconfig-gen/dependencies/test2.c:5:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INC1 [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/common/57 custom header generator/prog.c:4:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RET_VAL [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/common/79 same basename/lib.c:21:2: error: #error "Missing type definition." [preprocessorErrorDirective] meson-1.10.1/test cases/common/80 declare dep/main.c:5:2: error: #error "Entity use flag not used for compilation." [preprocessorErrorDirective] meson-1.10.1/test cases/common/82 add language/prog.cc:4:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/common/89 default library/eftest.cpp:8:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/common/91 benchmark/delayer.c:14:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/common/94 threads/threadprog.c:41:8: style: Variable 'rc' is reassigned a value before the old one has been used. [redundantAssignment] meson-1.10.1/test cases/common/94 threads/threadprog.c:40:8: note: rc is assigned meson-1.10.1/test cases/common/94 threads/threadprog.c:41:8: note: rc is overwritten meson-1.10.1/test cases/common/96 stringdef/stringdef.c:5:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FOO [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/common/94 threads/threadprog.c:31:35: style: Parameter 'arg' can be declared as pointer to const. However it seems that 'main_func' is a callback function, if 'arg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] meson-1.10.1/test cases/common/94 threads/threadprog.c:40:40: note: You might need to cast the function pointer here meson-1.10.1/test cases/common/94 threads/threadprog.c:31:35: note: Parameter 'arg' can be declared as pointer to const meson-1.10.1/test cases/cuda/10 cuda dependency/modules/prog.cc:14:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/common/99 postconf/prog.c:4:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable THE_NUMBER [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/cuda/10 cuda dependency/cpp/prog.cc:13:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/cuda/12 cuda dependency (mixed)/prog.cpp:16:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/cython/1 basic/libdir/storer.c:10:5: warning: If memory allocation fails, then there is a possible null pointer dereference: s [nullPointerOutOfMemory] meson-1.10.1/test cases/cython/1 basic/libdir/storer.c:9:23: note: Assuming allocation function fails meson-1.10.1/test cases/cython/1 basic/libdir/storer.c:9:23: note: Assignment 's=malloc(sizeof(struct _Storer))', assigned value is 0 meson-1.10.1/test cases/cython/1 basic/libdir/storer.c:10:5: note: Null pointer dereference meson-1.10.1/test cases/cython/1 basic/libdir/storer.c:18:30: style: Parameter 's' can be declared as pointer to const [constParameterPointer] meson-1.10.1/test cases/cuda/10 cuda dependency/version_reqs/prog.cc:11:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/d/10 d cpp/libfile.cpp:4:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/failing build/2 pch disabled/c/pch/prog_pch.c:2:2: error: #error "This file is only for use with MSVC." [preprocessorErrorDirective] meson-1.10.1/test cases/failing build/3 cmake subproject isolation/main.cpp:8:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/failing build/2 pch disabled/c/prog.c:4:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/failing build/5 c werror/test.c:2:14: error: Division by zero. [zerodiv] meson-1.10.1/test cases/failing build/3 cmake subproject isolation/subprojects/cmMod/cmMod.cpp:7:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOME_DEFINE [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/failing build/3 cmake subproject isolation/subprojects/cmMod/cmMod.cpp:7:3: performance: Variable 'str' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] meson-1.10.1/test cases/failing build/3 cmake subproject isolation/subprojects/cmMod/cmMod.hpp:11:3: style: Class 'cmModClass' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] meson-1.10.1/test cases/failing build/3 cmake subproject isolation/subprojects/cmMod/cmMod.hpp:13:15: performance: Function 'getStr()' should return member 'str' by const reference. [returnByReference] meson-1.10.1/test cases/failing build/3 cmake subproject isolation/subprojects/cmMod/cmMod.cpp:6:31: performance: Function parameter 'foo' should be passed by const reference. [passedByValue] meson-1.10.1/test cases/failing build/6 cpp werror/test.cpp:2:14: error: Division by zero. [zerodiv] meson-1.10.1/test cases/failing test/5 tap tests/tester.c:5:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/failing/117 missing compiler/subprojects/sub/main.c:1:26: style: Parameter 'argv' can be declared as const array [constParameter] meson-1.10.1/test cases/failing/112 run_target in add_install_script/trivial.c:9:9: error: Resource leak: fp [resourceLeak] meson-1.10.1/test cases/failing/112 run_target in add_install_script/trivial.c:4:11: style: Variable 'fp' can be declared as pointer to const [constVariablePointer] meson-1.10.1/test cases/fortran/9 cpp/main.cpp:6:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/frameworks/11 gir subproject/gir/meson-subsample.h:5:2: error: #error "MESON_TEST not defined." [preprocessorErrorDirective] meson-1.10.1/test cases/frameworks/1 boost/extralib.cpp:19:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable format [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/frameworks/1 boost/extralib.cpp:25:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable trace [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/frameworks/1 boost/nomod.cpp:12:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/frameworks/1 boost/linkexe.cc:8:10: style:inconclusive: Technically the member function 'callable::operator()' can be const. [functionConst] meson-1.10.1/test cases/frameworks/1 boost/partial_dep/foo.cpp:18:10: style:inconclusive: Technically the member function 'Foo::vector' can be const. [functionConst] meson-1.10.1/test cases/frameworks/1 boost/partial_dep/foo.hpp:24:13: note: Technically the member function 'Foo::vector' can be const. meson-1.10.1/test cases/frameworks/1 boost/partial_dep/foo.cpp:18:10: note: Technically the member function 'Foo::vector' can be const. meson-1.10.1/test cases/frameworks/1 boost/partial_dep/main.cpp:24:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/frameworks/10 gtk-doc/foo.c:11:35: style: Parameter 'self' can be declared as pointer to const [constParameterPointer] meson-1.10.1/test cases/frameworks/10 gtk-doc/foo.c:15:46: style: Parameter 'klass' can be declared as pointer to const [constParameterPointer] meson-1.10.1/test cases/frameworks/10 gtk-doc/foo.c:27:30: style: Parameter 'self' can be declared as pointer to const [constParameterPointer] meson-1.10.1/test cases/frameworks/11 gir subproject/subprojects/mesongir/meson-sample.h:5:2: error: #error "MESON_TEST not defined." [preprocessorErrorDirective] meson-1.10.1/test cases/frameworks/10 gtk-doc/foo.c:6:7: style: struct member '_FooObj::dummy' is never used. [unusedStructMember] meson-1.10.1/test cases/frameworks/1 boost/python_module.cpp:9:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PY_MAJOR_VERSION [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/frameworks/1 boost/python_module.cpp:7:26: performance: Function parameter 'msg' should be passed by const reference. However it seems that 'set' is a callback function. [passedByValueCallback] meson-1.10.1/test cases/frameworks/1 boost/python_module.cpp:19:29: note: Function pointer used here. meson-1.10.1/test cases/frameworks/1 boost/python_module.cpp:7:26: note: Function parameter 'msg' should be passed by const reference. However it seems that 'set' is a callback function. meson-1.10.1/test cases/frameworks/12 multiple gir/gir/meson-subsample.c:45:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable meson_sub_sample_parent_class [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/frameworks/12 multiple gir/gir/meson-subsample.c:99:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PARAM_CONSTRUCT_ONLY [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/frameworks/12 multiple gir/gir/meson-subsample.c:41:19: style: Variable 'self' can be declared as pointer to const [constVariablePointer] meson-1.10.1/test cases/frameworks/12 multiple gir/gir/meson-subsample.c:52:40: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'meson_sub_sample_get_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] meson-1.10.1/test cases/frameworks/12 multiple gir/gir/meson-subsample.c:90:32: note: You might need to cast the function pointer here meson-1.10.1/test cases/frameworks/12 multiple gir/gir/meson-subsample.c:52:40: note: Parameter 'pspec' can be declared as pointer to const meson-1.10.1/test cases/frameworks/12 multiple gir/gir/meson-subsample.c:54:19: style: Variable 'self' can be declared as pointer to const [constVariablePointer] meson-1.10.1/test cases/frameworks/12 multiple gir/gir/meson-subsample.c:70:42: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'meson_sub_sample_set_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] meson-1.10.1/test cases/frameworks/12 multiple gir/gir/meson-subsample.c:91:32: note: You might need to cast the function pointer here meson-1.10.1/test cases/frameworks/12 multiple gir/gir/meson-subsample.c:70:42: note: Parameter 'pspec' can be declared as pointer to const meson-1.10.1/test cases/frameworks/12 multiple gir/gir/meson-subsample.c:106:40: style: Parameter 'self' can be declared as pointer to const [constParameterPointer] meson-1.10.1/test cases/frameworks/12 multiple gir/mesongir/meson-sample.c:32:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MESON_TYPE_SAMPLE [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/frameworks/12 multiple gir/mesongir/meson-sample.c:44:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable meson_sample_parent_class [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/frameworks/12 multiple gir/mesongir/meson-sample.c:98:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PARAM_CONSTRUCT_ONLY [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/frameworks/12 multiple gir/mesongir/meson-sample.c:40:23: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] meson-1.10.1/test cases/frameworks/12 multiple gir/mesongir/meson-sample.c:51:40: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'meson_sample_get_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] meson-1.10.1/test cases/frameworks/12 multiple gir/mesongir/meson-sample.c:89:32: note: You might need to cast the function pointer here meson-1.10.1/test cases/frameworks/12 multiple gir/mesongir/meson-sample.c:51:40: note: Parameter 'pspec' can be declared as pointer to const meson-1.10.1/test cases/frameworks/12 multiple gir/mesongir/meson-sample.c:53:23: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] meson-1.10.1/test cases/frameworks/12 multiple gir/mesongir/meson-sample.c:69:42: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'meson_sample_set_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] meson-1.10.1/test cases/frameworks/12 multiple gir/mesongir/meson-sample.c:90:32: note: You might need to cast the function pointer here meson-1.10.1/test cases/frameworks/12 multiple gir/mesongir/meson-sample.c:69:42: note: Parameter 'pspec' can be declared as pointer to const meson-1.10.1/test cases/frameworks/12 multiple gir/mesongir/meson-sample.c:105:33: style: Parameter 'self' can be declared as pointer to const [constParameterPointer] meson-1.10.1/test cases/frameworks/12 multiple gir/mesongir/meson-sample.c:119:23: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] meson-1.10.1/test cases/frameworks/16 sdl2/sdl2prog.c:14:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/frameworks/15 llvm/sum.c:37:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LLVMAbortProcessAction [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/frameworks/18 vulkan/vulkanprog.c:22:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VK_SUCCESS [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/frameworks/19 pcap/pcap_prog.c:6:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCAP_ERRBUF_SIZE [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/frameworks/19 pcap/pcap_prog.c:13:13: style: Variable 'p' can be declared as pointer to const [constVariablePointer] meson-1.10.1/test cases/frameworks/2 gtest/test.cc:4:5: style: Same expression on both sides of '-'. [duplicateExpression] meson-1.10.1/test cases/frameworks/2 gtest/test_nomain.cc:4:5: style: Same expression on both sides of '-'. [duplicateExpression] meson-1.10.1/test cases/frameworks/25 hdf5/main.c:13:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/frameworks/25 hdf5/main.c:22:1: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] meson-1.10.1/test cases/frameworks/25 hdf5/main.c:22:1: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] meson-1.10.1/test cases/frameworks/25 hdf5/main.c:22:1: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] meson-1.10.1/test cases/frameworks/22 gir link order/meson-sample.c:26:44: style: Parameter 'klass' can be declared as pointer to const [constParameterPointer] meson-1.10.1/test cases/frameworks/22 gir link order/meson-sample.c:31:33: style: Parameter 'self' can be declared as pointer to const [constParameterPointer] meson-1.10.1/test cases/frameworks/26 netcdf/main.cpp:8:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NC_CLOBBER [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/frameworks/25 hdf5/main.cpp:12:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/frameworks/26 netcdf/main.c:7:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NC_CLOBBER [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/frameworks/28 gir link order 2/meson-sample.c:23:44: style: Parameter 'klass' can be declared as pointer to const [constParameterPointer] meson-1.10.1/test cases/frameworks/28 gir link order 2/meson-sample.c:28:33: style: Parameter 'self' can be declared as pointer to const [constParameterPointer] meson-1.10.1/test cases/frameworks/25 hdf5/main.cpp:7:10: style: The scope of the variable 'maj' can be reduced. [variableScope] meson-1.10.1/test cases/frameworks/25 hdf5/main.cpp:7:15: style: The scope of the variable 'min' can be reduced. [variableScope] meson-1.10.1/test cases/frameworks/25 hdf5/main.cpp:7:20: style: The scope of the variable 'rel' can be reduced. [variableScope] meson-1.10.1/test cases/frameworks/29 blocks/main.c:3:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable callback [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/frameworks/34 gir static lib/statichelper/meson-sample.c:32:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MESON_TYPE_SAMPLE [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/frameworks/34 gir static lib/statichelper/meson-sample.c:44:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable meson_sample_parent_class [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/frameworks/34 gir static lib/statichelper/meson-sample.c:98:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PARAM_CONSTRUCT_ONLY [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/frameworks/34 gir static lib/statichelper/meson-sample.c:40:23: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] meson-1.10.1/test cases/frameworks/34 gir static lib/statichelper/meson-sample.c:51:40: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'meson_sample_get_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] meson-1.10.1/test cases/frameworks/34 gir static lib/statichelper/meson-sample.c:89:32: note: You might need to cast the function pointer here meson-1.10.1/test cases/frameworks/34 gir static lib/statichelper/meson-sample.c:51:40: note: Parameter 'pspec' can be declared as pointer to const meson-1.10.1/test cases/frameworks/34 gir static lib/statichelper/meson-sample.c:53:23: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] meson-1.10.1/test cases/frameworks/34 gir static lib/statichelper/meson-sample.c:69:42: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'meson_sample_set_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] meson-1.10.1/test cases/frameworks/34 gir static lib/statichelper/meson-sample.c:90:32: note: You might need to cast the function pointer here meson-1.10.1/test cases/frameworks/34 gir static lib/statichelper/meson-sample.c:69:42: note: Parameter 'pspec' can be declared as pointer to const meson-1.10.1/test cases/frameworks/34 gir static lib/statichelper/meson-sample.c:105:33: style: Parameter 'self' can be declared as pointer to const [constParameterPointer] meson-1.10.1/test cases/frameworks/34 gir static lib/statichelper/meson-sample.c:119:23: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] meson-1.10.1/test cases/frameworks/34 gir static lib/subdir/gir/meson-subsample.c:45:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable meson_sub_sample_parent_class [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/frameworks/34 gir static lib/subdir/gir/meson-subsample.c:99:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PARAM_CONSTRUCT_ONLY [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/frameworks/34 gir static lib/subdir/gir/meson-subsample.c:41:19: style: Variable 'self' can be declared as pointer to const [constVariablePointer] meson-1.10.1/test cases/frameworks/34 gir static lib/subdir/gir/meson-subsample.c:52:40: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'meson_sub_sample_get_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] meson-1.10.1/test cases/frameworks/34 gir static lib/subdir/gir/meson-subsample.c:90:32: note: You might need to cast the function pointer here meson-1.10.1/test cases/frameworks/34 gir static lib/subdir/gir/meson-subsample.c:52:40: note: Parameter 'pspec' can be declared as pointer to const meson-1.10.1/test cases/frameworks/34 gir static lib/subdir/gir/meson-subsample.c:54:19: style: Variable 'self' can be declared as pointer to const [constVariablePointer] meson-1.10.1/test cases/frameworks/34 gir static lib/subdir/gir/meson-subsample.c:70:42: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'meson_sub_sample_set_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] meson-1.10.1/test cases/frameworks/34 gir static lib/subdir/gir/meson-subsample.c:91:32: note: You might need to cast the function pointer here meson-1.10.1/test cases/frameworks/34 gir static lib/subdir/gir/meson-subsample.c:70:42: note: Parameter 'pspec' can be declared as pointer to const meson-1.10.1/test cases/frameworks/34 gir static lib/subdir/gir/meson-subsample.c:106:40: style: Parameter 'self' can be declared as pointer to const [constParameterPointer] meson-1.10.1/test cases/frameworks/4 qt/manualinclude.cpp:10:21: style: Either there is a missing 'override', or the member function 'ManualInclude::myslot' can be static. [functionStatic] meson-1.10.1/test cases/frameworks/4 qt/manualinclude.h:14:10: note: Either there is a missing 'override', or the member function 'ManualInclude::myslot' can be static. meson-1.10.1/test cases/frameworks/4 qt/manualinclude.cpp:10:21: note: Either there is a missing 'override', or the member function 'ManualInclude::myslot' can be static. meson-1.10.1/test cases/frameworks/4 qt/q5core.cpp:14:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TranslationsPath [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/frameworks/4 qt/main.cpp:17:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stuff [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/frameworks/4 qt/main.cpp:54:3: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] meson-1.10.1/test cases/frameworks/4 qt/subfolder/main.cpp:7:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stuff3 [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/frameworks/40 qt qml/QmlMain.cpp:11:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable My_Module6 [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/frameworks/40 qt qml/QmlMain.cpp:21:82: style: Parameter 'object' can be declared as pointer to const [constParameterPointer] meson-1.10.1/test cases/frameworks/7 gnome/gir/dep1/dep2/dep2.h:5:2: error: #error "MESON_TEST_1 not defined." [preprocessorErrorDirective] meson-1.10.1/test cases/frameworks/5 protocol buffers/asubdir/main.cpp:4:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GOOGLE_PROTOBUF_VERIFY_VERSION [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/frameworks/7 gnome/gir/dep1/dep3/dep3.h:5:2: error: #error "MESON_TEST_1 not defined." [preprocessorErrorDirective] meson-1.10.1/test cases/frameworks/5 protocol buffers/main.cpp:4:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GOOGLE_PROTOBUF_VERIFY_VERSION [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/frameworks/5 protocol buffers/withpath/pathprog.cpp:7:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GOOGLE_PROTOBUF_VERIFY_VERSION [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/frameworks/7 gnome/gir/meson-sample2.h:5:2: error: #error "MESON_TEST_1 not defined." [preprocessorErrorDirective] meson-1.10.1/test cases/frameworks/6 gettext/src/intlmain.c:12:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/frameworks/5 protocol buffers/sidedir/sideprog.cpp:7:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GOOGLE_PROTOBUF_VERIFY_VERSION [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/frameworks/7 gnome/gir/dep1/dep1.h:5:2: error: #error "MESON_TEST_1 not defined." [preprocessorErrorDirective] meson-1.10.1/test cases/frameworks/7 gnome/gir/meson-sample.h:5:2: error: #error "MESON_TEST_1 not defined." [preprocessorErrorDirective] meson-1.10.1/test cases/frameworks/7 gnome/gir/meson-python-sample.c:26:57: style: Parameter 'klass' can be declared as pointer to const [constParameterPointer] meson-1.10.1/test cases/frameworks/7 gnome/gir/meson-python-sample.c:35:46: style: Parameter 'self' can be declared as pointer to const [constParameterPointer] meson-1.10.1/test cases/frameworks/7 gnome/gir/meson-python-sample.c:48:55: style: Parameter 'self' can be declared as pointer to const [constParameterPointer] meson-1.10.1/test cases/frameworks/7 gnome/resources/generated-main.c:12:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_RESOURCE_LOOKUP_FLAGS_NONE [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/frameworks/7 gnome/mkenums/main5.c:8:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MESON_TYPE_THE_XENUM [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/frameworks/7 gnome/mkenums/main.c:8:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MESON_TYPE_THE_XENUM [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/frameworks/7 gnome/mkenums/main4.c:8:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MESON_TYPE_THE_XENUM [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/frameworks/7 gnome/resources/simple-main.c:13:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_RESOURCE_LOOKUP_FLAGS_NONE [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/frameworks/8 flex/prog.c:17:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/frameworks/7 gnome/schemas/schemaprog.c:15:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/frameworks/8 flex/prog.c:27:19: style: Parameter 's' can be declared as pointer to const [constParameterPointer] meson-1.10.1/test cases/frameworks/9 wxwidgets/wxprog.cpp:20:13: warning: Return value of function menuFile->AppendSeparator() is not used. [ignoredReturnValue] meson-1.10.1/test cases/frameworks/9 wxwidgets/wxprog.cpp:36:15: style: Either there is a missing 'override', or the member function 'MyFrame::OnAbout' can be static. [functionStatic] meson-1.10.1/test cases/frameworks/9 wxwidgets/mainwin.h:17:8: note: Either there is a missing 'override', or the member function 'MyFrame::OnAbout' can be static. meson-1.10.1/test cases/frameworks/9 wxwidgets/wxprog.cpp:36:15: note: Either there is a missing 'override', or the member function 'MyFrame::OnAbout' can be static. meson-1.10.1/test cases/java/9 jni/lib/com_mesonbuild_JniTest.c:6:12: style: Parameter 'env' can be declared as pointer to const [constParameterPointer] meson-1.10.1/test cases/frameworks/9 wxwidgets/wxprog.cpp:32:38: style: Parameter 'event' can be declared as reference to const [constParameterReference] meson-1.10.1/test cases/frameworks/9 wxwidgets/wxprog.cpp:36:39: style: Parameter 'event' can be declared as reference to const [constParameterReference] meson-1.10.1/test cases/frameworks/9 wxwidgets/wxprog.cpp:40:39: style: Parameter 'event' can be declared as reference to const [constParameterReference] meson-1.10.1/test cases/frameworks/9 wxwidgets/wxprog.cpp:50:18: style: Variable 'name' is assigned a value that is never used. [unreadVariable] meson-1.10.1/test cases/frameworks/9 wxwidgets/wxprog.cpp:51:14: style: Variable 'p' is assigned a value that is never used. [unreadVariable] meson-1.10.1/test cases/frameworks/9 wxwidgets/wxprog.cpp:52:13: style: Variable 's' is assigned a value that is never used. [unreadVariable] meson-1.10.1/test cases/java/9 jni/lib/native.c:6:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable JNI_VERSION_1_8 [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/linuxlike/11 runpath rpath ldlibrarypath/main.c:9:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/linuxlike/1 pkg-config/prog.c:4:12: style: Variable 'something' can be declared as pointer to const [constVariablePointer] meson-1.10.1/test cases/java/9 jni/lib/native.c:4:20: style: Parameter 'vm' can be declared as pointer to const [constParameterPointer] meson-1.10.1/test cases/java/9 jni/lib/native.c:4:30: style: Parameter 'reserved' can be declared as pointer to const [constParameterPointer] meson-1.10.1/test cases/java/9 jni/lib/native.c:10:22: style: Parameter 'vm' can be declared as pointer to const [constParameterPointer] meson-1.10.1/test cases/java/9 jni/lib/native.c:10:32: style: Parameter 'reserved' can be declared as pointer to const [constParameterPointer] meson-1.10.1/test cases/linuxlike/11 runpath rpath ldlibrarypath/lib.c:2:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RET_VALUE [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/linuxlike/1 pkg-config/prog-checkver.c:33:12: style: Variable 'something' can be declared as pointer to const [constVariablePointer] meson-1.10.1/test cases/linuxlike/13 cmake dependency/testFlagSet.c:5:2: error: #error "REQUIRED_MESON_FLAG1 not set" [preprocessorErrorDirective] meson-1.10.1/test cases/linuxlike/13 cmake dependency/prog.c:4:12: style: Variable 'something' can be declared as pointer to const [constVariablePointer] meson-1.10.1/test cases/linuxlike/13 cmake dependency/prog-checkver.c:33:12: style: Variable 'something' can be declared as pointer to const [constVariablePointer] meson-1.10.1/test cases/linuxlike/4 extdep static lib/lib.c:4:12: style: Variable 'something' can be declared as pointer to const [constVariablePointer] meson-1.10.1/test cases/linuxlike/2 external library/prog.c:4:12: style: Variable 'something' can be declared as pointer to const [constVariablePointer] meson-1.10.1/test cases/linuxlike/6 subdir include order/prog.c:4:2: error: #error "Failed" [preprocessorErrorDirective] meson-1.10.1/test cases/native/2 global arg/prog.c:2:4: error: #error "Global argument not set" [preprocessorErrorDirective] meson-1.10.1/test cases/native/2 global arg/prog.cc:6:2: error: #error "Global argument not set" [preprocessorErrorDirective] meson-1.10.1/test cases/native/3 pipeline/src/srcgen.c:15:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/native/3 pipeline/src/srcgen.c:8:11: style: Variable 'ifilename' can be declared as pointer to const [constVariablePointer] meson-1.10.1/test cases/native/3 pipeline/src/srcgen.c:9:11: style: Variable 'ofilename' can be declared as pointer to const [constVariablePointer] meson-1.10.1/test cases/native/3 pipeline/src/prog.c:4:11: style: Variable 'foo' can be declared as pointer to const [constVariablePointer] meson-1.10.1/test cases/native/3 pipeline/srcgen.c:19:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/native/5 install script/src/exe.c:7:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/native/3 pipeline/srcgen.c:9:11: style: Variable 'ofilename' can be declared as pointer to const [constVariablePointer] meson-1.10.1/test cases/native/3 pipeline/srcgen.c:10:11: style: Variable 'ifilename' can be declared as pointer to const [constVariablePointer] meson-1.10.1/test cases/native/3 pipeline/srcgen.c:11:11: style: Variable 'dfilename' can be declared as pointer to const [constVariablePointer] meson-1.10.1/test cases/native/4 tryrun/no_compile.c:1:16: error: Unmatched '{'. Configuration: '__GNUC__=1'. [syntaxError] meson-1.10.1/test cases/native/5 install script/src/exe.c:19:9: error: Memory leak: fullname [memleak] meson-1.10.1/test cases/native/5 install script/src/exe.c:13:12: warning: If memory allocation fails, then there is a possible null pointer dereference: fullname [nullPointerOutOfMemory] meson-1.10.1/test cases/native/5 install script/src/exe.c:12:29: note: Assuming allocation function fails meson-1.10.1/test cases/native/5 install script/src/exe.c:12:29: note: Assignment 'fullname=malloc(strlen(dirname)+1+strlen(argv[1])+1)', assigned value is 0 meson-1.10.1/test cases/native/5 install script/src/exe.c:13:12: note: Null pointer dereference meson-1.10.1/test cases/native/5 install script/src/exe.c:14:12: warning: If memory allocation fails, then there is a possible null pointer dereference: fullname [nullPointerOutOfMemory] meson-1.10.1/test cases/native/5 install script/src/exe.c:12:29: note: Assuming allocation function fails meson-1.10.1/test cases/native/5 install script/src/exe.c:12:29: note: Assignment 'fullname=malloc(strlen(dirname)+1+strlen(argv[1])+1)', assigned value is 0 meson-1.10.1/test cases/native/5 install script/src/exe.c:14:12: note: Null pointer dereference meson-1.10.1/test cases/native/5 install script/src/exe.c:15:12: warning: If memory allocation fails, then there is a possible null pointer dereference: fullname [nullPointerOutOfMemory] meson-1.10.1/test cases/native/5 install script/src/exe.c:12:29: note: Assuming allocation function fails meson-1.10.1/test cases/native/5 install script/src/exe.c:12:29: note: Assignment 'fullname=malloc(strlen(dirname)+1+strlen(argv[1])+1)', assigned value is 0 meson-1.10.1/test cases/native/5 install script/src/exe.c:15:12: note: Null pointer dereference meson-1.10.1/test cases/native/5 install script/src/exe.c:17:23: warning: If memory allocation fails, then there is a possible null pointer dereference: fullname [nullPointerOutOfMemory] meson-1.10.1/test cases/native/5 install script/src/exe.c:12:29: note: Assuming allocation function fails meson-1.10.1/test cases/native/5 install script/src/exe.c:12:29: note: Assignment 'fullname=malloc(strlen(dirname)+1+strlen(argv[1])+1)', assigned value is 0 meson-1.10.1/test cases/native/5 install script/src/exe.c:17:23: note: Null pointer dereference meson-1.10.1/test cases/native/4 tryrun/ok.c:5:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/native/5 install script/src/exe.c:5:27: style: Parameter 'argv' can be declared as const array [constParameter] meson-1.10.1/test cases/native/5 install script/src/exe.c:11:12: style: Variable 'dirname' can be declared as pointer to const [constVariablePointer] meson-1.10.1/test cases/native/6 add language/prog.cc:4:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/native/7 selfbuilt custom/tool.cpp:12:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/native/8 external program shebang parsing/main.c:34:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/native/8 external program shebang parsing/main.c:44:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/native/8 external program shebang parsing/main.c:55:7: style: Condition '!line' is always false [knownConditionTrueFalse] meson-1.10.1/test cases/native/8 external program shebang parsing/main.c:62:7: style: Condition '!line' is always false [knownConditionTrueFalse] meson-1.10.1/test cases/objc/4 c++ project objc subproject/master.cpp:8:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/native/9 override with exe/subprojects/sub/foobar.c:8:46: warning: If resource allocation fails, then there is a possible null pointer dereference: f [nullPointerOutOfResources] meson-1.10.1/test cases/native/9 override with exe/subprojects/sub/foobar.c:6:18: note: Assuming allocation function fails meson-1.10.1/test cases/native/9 override with exe/subprojects/sub/foobar.c:6:18: note: Assignment 'f=fopen(argv[1],"w")', assigned value is 0 meson-1.10.1/test cases/native/9 override with exe/subprojects/sub/foobar.c:8:46: note: Null pointer dereference meson-1.10.1/test cases/native/9 override with exe/subprojects/sub/foobar.c:10:18: warning: If resource allocation fails, then there is a possible null pointer dereference: f [nullPointerOutOfResources] meson-1.10.1/test cases/native/9 override with exe/subprojects/sub/foobar.c:6:18: note: Assuming allocation function fails meson-1.10.1/test cases/native/9 override with exe/subprojects/sub/foobar.c:6:18: note: Assignment 'f=fopen(argv[1],"w")', assigned value is 0 meson-1.10.1/test cases/native/9 override with exe/subprojects/sub/foobar.c:10:18: note: Null pointer dereference meson-1.10.1/test cases/native/9 override with exe/subprojects/sub/foobar.c:4:26: style: Parameter 'argv' can be declared as const array [constParameter] meson-1.10.1/test cases/python/3 cython/libdir/storer.c:10:5: warning: If memory allocation fails, then there is a possible null pointer dereference: s [nullPointerOutOfMemory] meson-1.10.1/test cases/python/3 cython/libdir/storer.c:9:23: note: Assuming allocation function fails meson-1.10.1/test cases/python/3 cython/libdir/storer.c:9:23: note: Assignment 's=malloc(sizeof(struct _Storer))', assigned value is 0 meson-1.10.1/test cases/python/3 cython/libdir/storer.c:10:5: note: Null pointer dereference meson-1.10.1/test cases/python/3 cython/libdir/storer.c:18:30: style: Parameter 's' can be declared as pointer to const [constParameterPointer] meson-1.10.1/test cases/python/9 extmodule limited api/limited.c:4:2: error: #error Py_LIMITED_API must be defined. [preprocessorErrorDirective] meson-1.10.1/test cases/python/9 extmodule limited api/not_limited.c:20:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_TypeError [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/python3/3 cython/libdir/storer.c:10:5: warning: If memory allocation fails, then there is a possible null pointer dereference: s [nullPointerOutOfMemory] meson-1.10.1/test cases/python3/3 cython/libdir/storer.c:9:23: note: Assuming allocation function fails meson-1.10.1/test cases/python3/3 cython/libdir/storer.c:9:23: note: Assignment 's=malloc(sizeof(struct _Storer))', assigned value is 0 meson-1.10.1/test cases/python3/3 cython/libdir/storer.c:10:5: note: Null pointer dereference meson-1.10.1/test cases/python3/3 cython/libdir/storer.c:18:30: style: Parameter 's' can be declared as pointer to const [constParameterPointer] meson-1.10.1/test cases/rust/15 polyglot sharedlib/adder.c:10:5: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] meson-1.10.1/test cases/rust/15 polyglot sharedlib/adder.c:9:22: note: Assuming allocation function fails meson-1.10.1/test cases/rust/15 polyglot sharedlib/adder.c:9:22: note: Assignment 'a=malloc(sizeof(struct _Adder))', assigned value is 0 meson-1.10.1/test cases/rust/15 polyglot sharedlib/adder.c:10:5: note: Null pointer dereference meson-1.10.1/test cases/rust/13 external c dependencies/c_accessing_zlib.c:9:5: warning: Return value of function inflateInit() is not used. [ignoredReturnValue] meson-1.10.1/test cases/rust/16 internal c dependencies/lib.c:5:25: error: There is an unknown macro here somewhere. Configuration is required. If MODE is a macro then please configure it. [unknownMacro] meson-1.10.1/test cases/rust/22 cargo subproject/main.c:3:26: style: Parameter 'argv' can be declared as const array [constParameter] meson-1.10.1/test cases/rust/28 mixed/main.cc:5:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/swift/11 mixed cpp/mylib.cpp:5:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/swift/11 mixed cpp/mylib.cpp:9:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/swift/11 mixed cpp/mylib.cpp:13:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/swift/11 mixed cpp/mylib.cpp:17:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/swift/11 mixed cpp/mylib.cpp:21:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/swift/11 mixed cpp/mylib.cpp:12:12: style: The member function 'Test::testCallFromClass' can be static. [functionStatic] meson-1.10.1/test cases/swift/11 mixed cpp/mylib.h:9:10: note: The member function 'Test::testCallFromClass' can be static. meson-1.10.1/test cases/swift/11 mixed cpp/mylib.cpp:12:12: note: The member function 'Test::testCallFromClass' can be static. meson-1.10.1/test cases/swift/11 mixed cpp/mylib.h:7:5: style: Class 'Test' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] meson-1.10.1/test cases/unit/103 strip/lib.c:3:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/unit/110 freeze/freeze.c:6:46: style: Parameter 'info' can be declared as pointer to const. However it seems that 'do_nothing' is a callback function, if 'info' is declared with const you might also need to cast function pointer(s). [constParameterCallback] meson-1.10.1/test cases/unit/110 freeze/freeze.c:12:23: note: You might need to cast the function pointer here meson-1.10.1/test cases/unit/110 freeze/freeze.c:6:46: note: Parameter 'info' can be declared as pointer to const meson-1.10.1/test cases/unit/110 freeze/freeze.c:6:58: style: Parameter 'context' can be declared as pointer to const. However it seems that 'do_nothing' is a callback function, if 'context' is declared with const you might also need to cast function pointer(s). [constParameterCallback] meson-1.10.1/test cases/unit/110 freeze/freeze.c:12:23: note: You might need to cast the function pointer here meson-1.10.1/test cases/unit/110 freeze/freeze.c:6:58: note: Parameter 'context' can be declared as pointer to const meson-1.10.1/test cases/unit/12 promote/subprojects/s1/subprojects/scommon/scommon_broken.c:1:2: error: #error This file must not be used. The other scommon one should be instead. [preprocessorErrorDirective] meson-1.10.1/test cases/unit/114 complex link cases/main.c:3:26: style: Parameter 'argv' can be declared as const array [constParameter] meson-1.10.1/test cases/unit/126 python extension/foo.c:8:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/unit/126 python extension/foo.c:6:20: style: Parameter 'self' can be declared as pointer to const. However it seems that 'bar_impl' is a callback function, if 'self' is declared with const you might also need to cast function pointer(s). [constParameterCallback] meson-1.10.1/test cases/unit/126 python extension/foo.c:13:13: note: You might need to cast the function pointer here meson-1.10.1/test cases/unit/126 python extension/foo.c:6:20: note: Parameter 'self' can be declared as pointer to const meson-1.10.1/test cases/unit/126 python extension/foo.c:6:36: style: Parameter 'args' can be declared as pointer to const. However it seems that 'bar_impl' is a callback function, if 'args' is declared with const you might also need to cast function pointer(s). [constParameterCallback] meson-1.10.1/test cases/unit/126 python extension/foo.c:13:13: note: You might need to cast the function pointer here meson-1.10.1/test cases/unit/126 python extension/foo.c:6:36: note: Parameter 'args' can be declared as pointer to const meson-1.10.1/test cases/unit/18 pkgconfig static/main.c:5:24: style: Parameter 'argv' can be declared as const array [constParameter] meson-1.10.1/test cases/unit/35 dist script/subprojects/sub/prog.c:1:2: error: #error This should be replaced by a program during dist [preprocessorErrorDirective] meson-1.10.1/test cases/unit/33 cross file overrides always args/test.c:5:26: style: Parameter 'argv' can be declared as const array [constParameter] meson-1.10.1/test cases/unit/36 exe_wrapper behaviour/prog.c:14:7: error: Resource leak: f [resourceLeak] meson-1.10.1/test cases/unit/36 exe_wrapper behaviour/prog.c:15:3: error: Resource leak: f [resourceLeak] meson-1.10.1/test cases/unit/36 exe_wrapper behaviour/prog.c:12:41: warning: If resource allocation fails, then there is a possible null pointer dereference: f [nullPointerOutOfResources] meson-1.10.1/test cases/unit/36 exe_wrapper behaviour/prog.c:11:21: note: Assuming allocation function fails meson-1.10.1/test cases/unit/36 exe_wrapper behaviour/prog.c:11:21: note: Assignment 'f=fopen(argv[1],"w")', assigned value is 0 meson-1.10.1/test cases/unit/36 exe_wrapper behaviour/prog.c:12:41: note: Null pointer dereference meson-1.10.1/test cases/unit/36 exe_wrapper behaviour/prog.c:3:28: style: Parameter 'argv' can be declared as const array [constParameter] meson-1.10.1/test cases/unit/39 external, internal library rpath/built library/prog.c:3:27: style: Parameter 'argv' can be declared as const array [constParameter] meson-1.10.1/test cases/unit/44 vscpp17/main.cpp:10:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable preferred_separator [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/unit/44 vscpp17/main.cpp:10:9: style: Variable 'fs' is assigned a value that is never used. [unreadVariable] meson-1.10.1/test cases/unit/47 reconfigure/main.c:1:26: style: Parameter 'argv' can be declared as const array [constParameter] meson-1.10.1/test cases/unit/5 compiler detection/trivial.cc:4:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/unit/56 introspection/t3.cpp:5:20: style: Condition 'i<1000' is always true [knownConditionTrueFalse] meson-1.10.1/test cases/unit/56 introspection/t3.cpp:5:15: note: Assignment 'i=0', assigned value is 0 meson-1.10.1/test cases/unit/56 introspection/t3.cpp:5:20: note: Condition 'i<1000' is always true meson-1.10.1/test cases/unit/6 std override/prog11.cpp:4:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/unit/6 std override/prog98.cpp:4:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/unit/6 std override/progp.cpp:4:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/unit/64 alias target/main.c:1:26: style: Parameter 'argv' can be declared as const array [constParameter] meson-1.10.1/test cases/unit/66 static link/test1.c:4:26: style: Parameter 'argv' can be declared as const array [constParameter] meson-1.10.1/test cases/unit/66 static link/test4.c:3:26: style: Parameter 'argv' can be declared as const array [constParameter] meson-1.10.1/test cases/unit/66 static link/test2.c:3:26: style: Parameter 'argv' can be declared as const array [constParameter] meson-1.10.1/test cases/unit/66 static link/test3.c:3:26: style: Parameter 'argv' can be declared as const array [constParameter] meson-1.10.1/test cases/unit/66 static link/test5.c:3:26: style: Parameter 'argv' can be declared as const array [constParameter] meson-1.10.1/test cases/unit/88 multiple envvars/prog.c:4:2: error: #error CPPFLAG not set [preprocessorErrorDirective] meson-1.10.1/test cases/unit/87 run native test/main.c:14:7: error: Resource leak: f [resourceLeak] meson-1.10.1/test cases/unit/87 run native test/main.c:15:3: error: Resource leak: f [resourceLeak] meson-1.10.1/test cases/unit/87 run native test/main.c:12:41: warning: If resource allocation fails, then there is a possible null pointer dereference: f [nullPointerOutOfResources] meson-1.10.1/test cases/unit/87 run native test/main.c:11:21: note: Assuming allocation function fails meson-1.10.1/test cases/unit/87 run native test/main.c:11:21: note: Assignment 'f=fopen(argv[1],"w")', assigned value is 0 meson-1.10.1/test cases/unit/87 run native test/main.c:12:41: note: Null pointer dereference meson-1.10.1/test cases/unit/87 run native test/main.c:3:28: style: Parameter 'argv' can be declared as const array [constParameter] meson-1.10.1/test cases/unit/88 multiple envvars/prog.cpp:4:2: error: #error CPPFLAG not set [preprocessorErrorDirective] meson-1.10.1/test cases/unit/9 d dedup/prog.c:4:2: error: #error FOO is not defined. [preprocessorErrorDirective] meson-1.10.1/test cases/unit/91 install skip subprojects/subprojects/bar/bar.c:1:26: style: Parameter 'argv' can be declared as const array [constParameter] meson-1.10.1/test cases/unit/91 install skip subprojects/foo.c:1:26: style: Parameter 'argv' can be declared as const array [constParameter] meson-1.10.1/test cases/unit/94 custominc/helper.c:4:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RETURN_VALUE [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/unit/94 custominc/prog2.c:9:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RETURN_VALUE [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/unit/97 link full name/libtestprovider/provider.c:6:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/unit/97 link full name/proguser/receiver.c:13:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/unit/98 install all targets/main.c:1:26: style: Parameter 'argv' can be declared as const array [constParameter] meson-1.10.1/test cases/unit/98 install all targets/subdir/main.c:1:26: style: Parameter 'argv' can be declared as const array [constParameter] meson-1.10.1/test cases/vala/11 generated vapi/libfoo/foo.c:11:34: style: Parameter 'klass' can be declared as pointer to const [constParameterPointer] meson-1.10.1/test cases/vala/16 mixed dependence/mixer-glue.c:3:31: style: Parameter 'mixer' can be declared as pointer to const [constParameterPointer] meson-1.10.1/test cases/vala/11 generated vapi/libbar/bar.c:12:34: style: Parameter 'klass' can be declared as pointer to const [constParameterPointer] meson-1.10.1/test cases/vala/11 generated vapi/libfoo/foo.c:16:23: style: Parameter 'self' can be declared as pointer to const [constParameterPointer] meson-1.10.1/test cases/vala/11 generated vapi/libbar/bar.c:17:23: style: Parameter 'self' can be declared as pointer to const [constParameterPointer] meson-1.10.1/test cases/wasm/2 threads/threads.c:19:3: error: #error "threads not enabled\n" [preprocessorErrorDirective] meson-1.10.1/test cases/wasm/1 basic/hello.cpp:4:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/wasm/2 threads/threads.cpp:6:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/windows/15 resource scripts with duplicate filenames/verify.c:14:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RT_RCDATA [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/windows/15 resource scripts with duplicate filenames/verify.c:10:9: style: Variable 'data' can be declared as pointer to const [constVariablePointer] meson-1.10.1/test cases/windows/24 diasdk copy dll/dia_from_dll.cpp:21:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IDiaDataSource [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/windows/18 msvc charset/utf8.c:3:26: style: Parameter 'argcv' can be declared as const array [constParameter] meson-1.10.1/test cases/windows/18 msvc charset/iso-8859-1.c:3:26: style: Parameter 'argcv' can be declared as const array [constParameter] meson-1.10.1/test cases/windows/24 diasdk copy dll/dia_from_dll.cpp:21:83: style: C-style pointer casting [cstyleCast] meson-1.10.1/test cases/windows/23 diasdk/dia_registered.cpp:19:82: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IDiaDataSource [valueFlowBailoutIncompleteVar] meson-1.10.1/test cases/windows/23 diasdk/dia_registered.cpp:19:99: style: C-style pointer casting [cstyleCast] meson-1.10.1/test cases/windows/25 embed manifest/prog.c:1:26: style: Parameter 'argv' can be declared as const array [constParameter] diff: head meson-1.10.1/test cases/common/23 endian/prog.c:21:24: style: Condition '!is_be' is always true [knownConditionTrueFalse] meson-1.10.1/test cases/common/23 endian/prog.c:17:13: note: Assignment 'is_be=0', assigned value is 0 meson-1.10.1/test cases/common/23 endian/prog.c:21:24: note: Condition '!is_be' is always true 2.19.0 meson-1.10.1/test cases/unit/44 vscpp17/main.cpp:10:6: style: Variable 'fs' is assigned a value that is never used. [unreadVariable] DONE