From 358a5759e843499bd47d5bb5954e7b705598235c Mon Sep 17 00:00:00 2001 From: Yaakov Selkowitz Date: Fri, 28 Jul 2023 15:09:48 -0400 Subject: [PATCH] Fix build with cppcheck-2.11 String literal concatenation raises syntaxError with cppcheck-2.11, which is a regression: https://trac.cppcheck.net/ticket/11830 --- libkcapi.spec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libkcapi.spec b/libkcapi.spec index 0a6779c..4d0e210 100644 --- a/libkcapi.spec +++ b/libkcapi.spec @@ -418,7 +418,9 @@ done %make_build scan %endif %if %{with cppcheck} -%make_build cppcheck +# string literal concatenation raises syntaxError with cppcheck-2.11 +# https://trac.cppcheck.net/ticket/11830 +%make_build cppcheck CPPCHECK="cppcheck -UCHECK_DIR" %endif %if %{with test}