Fix bug with GCC keys. Each section must contain keys from previous.
--HG-- branch : release
This commit is contained in:
parent
4936257f1a
commit
797c18745d
19
common.pri
19
common.pri
|
@ -361,6 +361,12 @@ g++5:GCC_DEBUG_CXXFLAGS += \
|
||||||
|
|
||||||
# Since GCC 6
|
# Since GCC 6
|
||||||
g++6:GCC_DEBUG_CXXFLAGS += \
|
g++6:GCC_DEBUG_CXXFLAGS += \
|
||||||
|
-Wswitch-bool \
|
||||||
|
-Wlogical-not-parentheses \
|
||||||
|
-Wsizeof-array-argument \
|
||||||
|
-Wbool-compare \
|
||||||
|
-Wsuggest-final-types \
|
||||||
|
-Wsuggest-final-methods \
|
||||||
-Wshift-negative-value \
|
-Wshift-negative-value \
|
||||||
-Wshift-overflow \
|
-Wshift-overflow \
|
||||||
-Wshift-overflow=2 \
|
-Wshift-overflow=2 \
|
||||||
|
@ -371,6 +377,19 @@ g++6:GCC_DEBUG_CXXFLAGS += \
|
||||||
|
|
||||||
# Since GCC 7
|
# Since GCC 7
|
||||||
g++7:GCC_DEBUG_CXXFLAGS += \
|
g++7:GCC_DEBUG_CXXFLAGS += \
|
||||||
|
-Wswitch-bool \
|
||||||
|
-Wlogical-not-parentheses \
|
||||||
|
-Wsizeof-array-argument \
|
||||||
|
-Wbool-compare \
|
||||||
|
-Wsuggest-final-types \
|
||||||
|
-Wsuggest-final-methods \
|
||||||
|
-Wshift-negative-value \
|
||||||
|
-Wshift-overflow \
|
||||||
|
-Wshift-overflow=2 \
|
||||||
|
-Wtautological-compare \
|
||||||
|
-Wnull-dereference \
|
||||||
|
-Wduplicated-cond \
|
||||||
|
-Wmisleading-indentation \
|
||||||
-Wduplicated-branches \
|
-Wduplicated-branches \
|
||||||
-Wrestrict \
|
-Wrestrict \
|
||||||
-Walloc-zero \
|
-Walloc-zero \
|
||||||
|
|
Loading…
Reference in New Issue
Block a user