Commit 3cbf06e1 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Disable errors by default

This breaks pretty much everybody's build. Thus it's completely
inadequate as a default setting (think of new devs...).
parent 0c204dcb
...@@ -1026,7 +1026,7 @@ RDC_PROG_CC_WFLAGS([all extra sign-compare undef pointer-arith bad-function-cast ...@@ -1026,7 +1026,7 @@ RDC_PROG_CC_WFLAGS([all extra sign-compare undef pointer-arith bad-function-cast
RDC_PROG_CC_FLAGS([-pipe]) RDC_PROG_CC_FLAGS([-pipe])
AC_ARG_ENABLE(warnings-as-error, 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_HELP_STRING([--enable-warnings-as-error],[Treat acceptable warnings as error (default disabled)]),, [enable_warnings_as_error="no"])
AS_IF([test "${enable_warnings_as_error}" = "yes"], [ 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 \ missing-braces nonnull parentheses uninitialized address enum-compare undef comment switch \
......
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