From: Simon Marchi Date: Thu, 11 Nov 2021 13:38:16 +0000 (-0500) Subject: Add some warnings useful in C++ X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=d67dc273f70cb6b27cabac06fe2b74e6fbcce960;p=lttng-tools.git Add some warnings useful in C++ Change-Id: Ie8f0ee45ac2f4a4883119a70869a7e4507e7bd0d Signed-off-by: Simon Marchi Signed-off-by: Jérémie Galarneau --- 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