From 2cbeff76d4409578ab766c097b80fb5c4ecc3e24 Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Sat, 19 Jan 2019 14:07:22 +0200 Subject: [PATCH] Fix bug with GCC keys. Each section must contain keys from previous. (grafted from 8777105870e8f71e3529b99b415b75e793b6b77d) --HG-- branch : develop --- common.pri | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/common.pri b/common.pri index 4104aa6a0..37384d954 100644 --- a/common.pri +++ b/common.pri @@ -361,6 +361,12 @@ g++5:GCC_DEBUG_CXXFLAGS += \ # Since GCC 6 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-overflow \ -Wshift-overflow=2 \ @@ -371,6 +377,19 @@ g++6:GCC_DEBUG_CXXFLAGS += \ # Since GCC 7 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 \ -Wrestrict \ -Walloc-zero \