From a647f3f1f037b1ca3a41d78075084d6990798b8d Mon Sep 17 00:00:00 2001 From: Andrey Kiselev Date: Wed, 30 Nov 2005 14:26:58 +0000 Subject: [PATCH] Added -Wextra to the gcc flags in VL_PROG_CC_WARNINGS macro. --- m4/acinclude.m4 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/m4/acinclude.m4 b/m4/acinclude.m4 index d236a6bc..4fbbe07e 100644 --- a/m4/acinclude.m4 +++ b/m4/acinclude.m4 @@ -41,9 +41,9 @@ EOF dnl GCC if test "$GCC" = "yes"; then if test -z "$ansi"; then - vl_cv_prog_cc_warnings="-Wall" + vl_cv_prog_cc_warnings="-Wall -Wextra" else - vl_cv_prog_cc_warnings="-Wall -ansi -pedantic" + vl_cv_prog_cc_warnings="-Wall -Wextra -ansi -pedantic" fi dnl Most compilers print some kind of a version string with some command