Cannot suppress warning -Wstrict-overflow. Completely disable it.

--HG--
branch : develop
master
Roman Telezhynskyi 2017-09-29 19:05:34 +03:00
parent 0adfbb8fb1
commit 4d113db163
2 changed files with 2 additions and 9 deletions

View File

@ -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

View File

@ -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 <QDialog>
QT_WARNING_POP
#include "../vmisc/vtablesearch.h"
#include "../vpatterndb/vcontainer.h"
#include "../xml/vpattern.h"