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 {