diff --git a/common.pri b/common.pri index 07d64191f..339b95675 100644 --- a/common.pri +++ b/common.pri @@ -289,7 +289,8 @@ GCC_DEBUG_CXXFLAGS += \ -Wmissing-noreturn \ -Wpointer-arith \ -Wstrict-null-sentinel \ - -Wstrict-overflow=5 \ +# -Wstrict-overflow=5 \ + -Wno-strict-overflow \ -Wundef \ -Wno-unused \ -ftrapv diff --git a/src/app/valentina/dialogs/dialogfinalmeasurements.h b/src/app/valentina/dialogs/dialogfinalmeasurements.h index 4056acd53..a4aa725be 100644 --- a/src/app/valentina/dialogs/dialogfinalmeasurements.h +++ b/src/app/valentina/dialogs/dialogfinalmeasurements.h @@ -29,16 +29,8 @@ #ifndef DIALOGFINALMEASUREMENTS_H #define DIALOGFINALMEASUREMENTS_H -#include "../vmisc/diagnostic.h" - -QT_WARNING_PUSH -QT_WARNING_DISABLE_GCC("-Wstrict-overflow") -// suppress warning Wstrict-overflow because of method QVector::move() - #include -QT_WARNING_POP - #include "../vmisc/vtablesearch.h" #include "../vpatterndb/vcontainer.h" #include "../xml/vpattern.h"