diff --git a/src/libs/vlayout/vrawsapoint.h b/src/libs/vlayout/vrawsapoint.h index 11a8f0947..1dbac9abe 100644 --- a/src/libs/vlayout/vrawsapoint.h +++ b/src/libs/vlayout/vrawsapoint.h @@ -37,6 +37,7 @@ QT_WARNING_PUSH QT_WARNING_DISABLE_GCC("-Weffc++") +// cppcheck-suppress unknownMacro QT_WARNING_DISABLE_GCC("-Wnon-virtual-dtor") QT_WARNING_DISABLE_CLANG("-Wnon-virtual-dtor") diff --git a/src/libs/vpatterndb/vpiece.cpp b/src/libs/vpatterndb/vpiece.cpp index 3b61905ef..9bbbaeb2c 100644 --- a/src/libs/vpatterndb/vpiece.cpp +++ b/src/libs/vpatterndb/vpiece.cpp @@ -1113,6 +1113,7 @@ VPassmark VPiece::CreatePassmark(const QVector &path, int previousIn passmarkData.id = path.at(passmarkIndex).GetId(); passmarkData.globalPassmarkLength = ToPixel(GlobalPassmarkLength(data), *data->GetPatternUnit()); + // cppcheck-suppress unknownMacro QT_WARNING_POP return VPassmark(passmarkData);