Because we have been using C++11 we don't need this key.

--HG--
branch : feature
master
Roman Telezhynskyi 2017-06-20 11:30:44 +03:00
parent 4243804f55
commit d514b22611
2 changed files with 2 additions and 7 deletions

View File

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

View File

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