From 688483ee3b26368fdb67373daac3e2a129e58cf7 Mon Sep 17 00:00:00 2001 From: Sebastian Pipping Date: Fri, 7 Mar 2025 02:45:40 +0100 Subject: [PATCH] mass-cppcheck.sh: Make Cppcheck pass check for __attribute__((noreturn)) Related: https://sourceforge.net/p/cppcheck/discussion/general/thread/acbae4ae20/ https://sourceforge.net/p/cppcheck/discussion/general/thread/2f5d2766/ --- .github/workflows/scripts/mass-cppcheck.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/scripts/mass-cppcheck.sh b/.github/workflows/scripts/mass-cppcheck.sh index 1a5060e8..5261568f 100755 --- a/.github/workflows/scripts/mass-cppcheck.sh +++ b/.github/workflows/scripts/mass-cppcheck.sh @@ -43,6 +43,7 @@ for xml_context_bytes in 0 1024; do --check-level=exhaustive --suppress=objectIndex --suppress=unknownMacro + '-D__has_attribute(x)=1' -DXML_CONTEXT_BYTES=${xml_context_bytes} -DXML_GE=${xml_ge} )