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 \
|
# -Winline \
|
||||||
-Winvalid-pch \
|
-Winvalid-pch \
|
||||||
# -Wunsafe-loop-optimizations \
|
# -Wunsafe-loop-optimizations \
|
||||||
-Wlong-long \
|
# -Wlong-long \ We have been using C++11
|
||||||
-Wmissing-format-attribute \
|
-Wmissing-format-attribute \
|
||||||
-Wswitch-default \
|
-Wswitch-default \
|
||||||
-Wuninitialized \
|
-Wuninitialized \
|
||||||
|
@ -517,7 +517,7 @@ CLANG_DEBUG_CXXFLAGS += \
|
||||||
-Wno-c++98-compat-local-type-template-args \
|
-Wno-c++98-compat-local-type-template-args \
|
||||||
-Wlogical-not-parentheses \
|
-Wlogical-not-parentheses \
|
||||||
-Wlogical-op-parentheses \
|
-Wlogical-op-parentheses \
|
||||||
-Wlong-long \
|
# -Wlong-long \ We have been using C++11
|
||||||
-Wloop-analysis \
|
-Wloop-analysis \
|
||||||
-Wmain \
|
-Wmain \
|
||||||
-Wmain-return-type \
|
-Wmain-return-type \
|
||||||
|
|
|
@ -11,11 +11,6 @@ unix {
|
||||||
QMAKE_CXXFLAGS += -Werror
|
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
|
noAddressSanitizer{ # For enable run qmake with CONFIG+=noAddressSanitizer
|
||||||
# do nothing
|
# do nothing
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user