From d67dc273f70cb6b27cabac06fe2b74e6fbcce960 Mon Sep 17 00:00:00 2001 From: Simon Marchi Date: Thu, 11 Nov 2021 08:38:16 -0500 Subject: [PATCH] Add some warnings useful in C++ MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Change-Id: Ie8f0ee45ac2f4a4883119a70869a7e4507e7bd0d Signed-off-by: Simon Marchi Signed-off-by: Jérémie Galarneau --- configure.ac | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index d9ae7b3c9..0f12145db 100644 --- a/configure.ac +++ b/configure.ac @@ -90,8 +90,9 @@ m4_define([WARN_FLAGS_C_LIST], [ dnl -Wdiscarded-qualifiers dnl -Wmissing-prototypes dnl -Wmissing-parameter-type dnl - -Wjump-misses-init dnl - -Wnested-externs dnl + -Wsuggest-final-types dnl + -Wsuggest-final-methods dnl + -Wsuggest-override dnl ]) # Pass -Werror as an extra flag during the test: this is needed to make the -- 2.34.1