From 3612088e37d8cd220b896df22984bb9011a360a2 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 2 May 2016 19:52:18 +0300 Subject: Add some more flags for check unused things. --- configure.ac | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 095716f..5035edb 100644 --- a/configure.ac +++ b/configure.ac @@ -235,6 +235,18 @@ AC_CHECK_COMPILER_WFLAG(nested-externs) AC_CHECK_COMPILER_WFLAG(old-style-definition) AC_CHECK_COMPILER_WFLAG(overlength-strings) AC_CHECK_COMPILER_WFLAG(redundant-decls) +#AC_CHECK_COMPILER_WFLAG(unused) +AC_CHECK_COMPILER_WFLAG(unused-but-set-parameter) +AC_CHECK_COMPILER_WFLAG(unused-but-set-variable) +AC_CHECK_COMPILER_WFLAG(unreachable-code) +AC_CHECK_COMPILER_WFLAG(unused-const-variable=2) +AC_CHECK_COMPILER_WFLAG(unused-function) +AC_CHECK_COMPILER_WFLAG(unused-local-typedefs) +AC_CHECK_COMPILER_WFLAG(unused-macros) +AC_CHECK_COMPILER_WFLAG(unused-parameter) +AC_CHECK_COMPILER_WFLAG(unused-result) +AC_CHECK_COMPILER_WFLAG(unused-value) +AC_CHECK_COMPILER_WFLAG(unused-variable) #AC_CHECK_COMPILER_WNOFLAG(format-nonliteral) #AC_CHECK_COMPILER_WNOFLAG(switch) #AC_CHECK_COMPILER_WNOFLAG(missing-field-initializers) -- cgit v1.2.3-70-g09d2