Added -Wextra to the gcc flags in VL_PROG_CC_WARNINGS macro.

This commit is contained in:
Andrey Kiselev 2005-11-30 14:26:58 +00:00
parent 50253597da
commit a647f3f1f0

View File

@ -41,9 +41,9 @@ EOF
dnl GCC dnl GCC
if test "$GCC" = "yes"; then if test "$GCC" = "yes"; then
if test -z "$ansi"; then if test -z "$ansi"; then
vl_cv_prog_cc_warnings="-Wall" vl_cv_prog_cc_warnings="-Wall -Wextra"
else else
vl_cv_prog_cc_warnings="-Wall -ansi -pedantic" vl_cv_prog_cc_warnings="-Wall -Wextra -ansi -pedantic"
fi fi
dnl Most compilers print some kind of a version string with some command dnl Most compilers print some kind of a version string with some command