Because we have been using C++11 we don't need this key.
--HG-- branch : feature
This commit is contained in:
parent
4243804f55
commit
d514b22611
|
@ -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 \
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue
Block a user