Cannot suppress warning -Wstrict-overflow. Completely disable it.
--HG-- branch : develop
This commit is contained in:
parent
0adfbb8fb1
commit
4d113db163
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue
Block a user