From be45abe6be99497054fb19c7f0e0d5813874073c Mon Sep 17 00:00:00 2001 From: firewave Date: Wed, 17 Jun 2020 16:59:51 +0200 Subject: [PATCH] gui.pro: aligned qmake warnings with make ones --- gui/gui.pro | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gui/gui.pro b/gui/gui.pro index 841fe4383..5af7108a5 100644 --- a/gui/gui.pro +++ b/gui/gui.pro @@ -198,11 +198,11 @@ win32 { } contains(QMAKE_CC, gcc) { - QMAKE_CXXFLAGS += -std=c++11 -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-deprecated-declarations + QMAKE_CXXFLAGS += -std=c++0x -pedantic -Wall -Wextra -Wcast-qual -Wno-deprecated-declarations -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-shadow -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar } contains(QMAKE_CXX, clang++) { - QMAKE_CXXFLAGS += -std=c++11 + QMAKE_CXXFLAGS += -std=c++0x -pedantic -Wall -Wextra -Wcast-qual -Wno-deprecated-declarations -Wfloat-equal -Wmissing-declarations -Wmissing-format-attribute -Wno-long-long -Wpacked -Wredundant-decls -Wundef -Wno-shadow -Wno-missing-field-initializers -Wno-missing-braces -Wno-sign-compare -Wno-multichar } contains(HAVE_QCHART, [yY][eE][sS]) {