Skip to content

Commit

Permalink
Add missing Qt compiler warning macros (#6860)
Browse files Browse the repository at this point in the history
The compilation warnings macros disable the warning during compilation
for a certain platform and can thus be disregarded from cppcheck.
  • Loading branch information
bjornblissing authored Oct 5, 2024
1 parent 4fba1e3 commit 9e34cbc
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion cfg/qt.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -5376,7 +5376,10 @@
<define name="QT_TRANSLATE_NOOP3_UTF8(scope, x, comment)" value="{x, comment}"/>
<define name="QT_WARNING_PUSH" value=""/>
<define name="QT_WARNING_POP" value=""/>
<define name="QT_WARNING_DISABLE_GCC(x)" value=""/>
<define name="QT_WARNING_DISABLE_MSVC(number)" value=""/>
<define name="QT_WARNING_DISABLE_INTEL(number)" value=""/>
<define name="QT_WARNING_DISABLE_CLANG(text)" value=""/>
<define name="QT_WARNING_DISABLE_GCC(text)" value=""/>
<define name="QT_WARNING_DISABLE_DEPRECATED" value=""/>
<define name="QT_STRINGIFY(x)" value="#x"/>
<define name="QCOMPARE(actual, expected)" value="(void)((actual)==(expected))"/>
Expand Down

0 comments on commit 9e34cbc

Please sign in to comment.