Fix bug with GCC keys. Each section must contain keys from previous.

(grafted from 8777105870e8f71e3529b99b415b75e793b6b77d)

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2019-01-19 14:07:22 +02:00
parent 9c4393d435
commit 2cbeff76d4

View File

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