Move warnings -Wsuggest-final-types and -Wsuggest-final-methods to GCC 8 block.
This commit is contained in:
parent
68f9707df2
commit
83bdf5af33
|
@ -404,9 +404,7 @@ g++5:GCC_DEBUG_CXXFLAGS += \
|
||||||
-Wswitch-bool \
|
-Wswitch-bool \
|
||||||
-Wlogical-not-parentheses \
|
-Wlogical-not-parentheses \
|
||||||
-Wsizeof-array-argument \
|
-Wsizeof-array-argument \
|
||||||
-Wbool-compare \
|
-Wbool-compare
|
||||||
-Wsuggest-final-types \
|
|
||||||
-Wsuggest-final-methods
|
|
||||||
|
|
||||||
# Since GCC 6
|
# Since GCC 6
|
||||||
g++6:GCC_DEBUG_CXXFLAGS += \
|
g++6:GCC_DEBUG_CXXFLAGS += \
|
||||||
|
@ -433,7 +431,9 @@ g++7{
|
||||||
# Since GCC 8
|
# Since GCC 8
|
||||||
g++8:GCC_DEBUG_CXXFLAGS += \
|
g++8:GCC_DEBUG_CXXFLAGS += \
|
||||||
-Wmultistatement-macros \
|
-Wmultistatement-macros \
|
||||||
-Warray-bounds
|
-Warray-bounds \
|
||||||
|
-Wsuggest-final-types \
|
||||||
|
-Wsuggest-final-methods
|
||||||
|
|
||||||
# Usefull Clang warnings keys.
|
# Usefull Clang warnings keys.
|
||||||
CLANG_DEBUG_CXXFLAGS += \
|
CLANG_DEBUG_CXXFLAGS += \
|
||||||
|
|
Loading…
Reference in New Issue
Block a user