Commit e626c159 authored by Pierre's avatar Pierre
Browse files

configure: Add "missing-braces nonnull parentheses uninitialized address...

configure: Add "missing-braces nonnull parentheses uninitialized address enum-compare undef comment switch" to the list of warnings that should not appear anymore in source code.
parent 908d0b93
......@@ -1009,8 +1009,9 @@ RDC_PROG_CC_FLAGS_IFELSE([-pipe])
AC_ARG_ENABLE(warnings-as-error,
AS_HELP_STRING([--enable-warnings-as-error],[Treat acceptable warnings as error (default in debug)]),, [enable_warnings_as_error="$enable_debug"])
AS_IF([test "${enable_warnings_as_error}" = "yes"], [
RDC_PROG_CC_WERRORFLAGS([unused-function unused-label unused-value unused-parameter unused-variable unused])
])
RDC_PROG_CC_WERRORFLAGS([unused-function unused-label unused-value unused-parameter unused-variable unused \
missing-braces nonnull parentheses uninitialized address enum-compare undef comment switch ignored])
])
dnl Check for various optimization flags
AC_CACHE_CHECK([if \$CC accepts -Os],
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment