From d514b226119ef9a6269b933aa04ac72806e484c7 Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Tue, 20 Jun 2017 11:30:44 +0300 Subject: [PATCH] Because we have been using C++11 we don't need this key. --HG-- branch : feature --- common.pri | 4 ++-- src/libs/vlayout/warnings.pri | 5 ----- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/common.pri b/common.pri index f3b70cacb..43bc542f8 100644 --- a/common.pri +++ b/common.pri @@ -278,7 +278,7 @@ GCC_DEBUG_CXXFLAGS += \ # -Winline \ -Winvalid-pch \ # -Wunsafe-loop-optimizations \ - -Wlong-long \ +# -Wlong-long \ We have been using C++11 -Wmissing-format-attribute \ -Wswitch-default \ -Wuninitialized \ @@ -517,7 +517,7 @@ CLANG_DEBUG_CXXFLAGS += \ -Wno-c++98-compat-local-type-template-args \ -Wlogical-not-parentheses \ -Wlogical-op-parentheses \ - -Wlong-long \ +# -Wlong-long \ We have been using C++11 -Wloop-analysis \ -Wmain \ -Wmain-return-type \ diff --git a/src/libs/vlayout/warnings.pri b/src/libs/vlayout/warnings.pri index f80effc8d..29c54daef 100644 --- a/src/libs/vlayout/warnings.pri +++ b/src/libs/vlayout/warnings.pri @@ -11,11 +11,6 @@ unix { QMAKE_CXXFLAGS += -Werror } - # -isystem key works only for headers. In some cases it's not enough. But we can't delete these warnings and - # want them in the global list. Compromise decision is to delete them from the local list. - QMAKE_CXXFLAGS -= \ - -Wlong-long \ - noAddressSanitizer{ # For enable run qmake with CONFIG+=noAddressSanitizer # do nothing } else {