[vlc-devel] commit: Disable errors by default ( Rémi Denis-Courmont )

git version control git at videolan.org
Mon Nov 2 20:20:46 CET 2009


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Nov  2 21:17:47 2009 +0200| [3cbf06e19fa60eaad87c768795c53b338621aa37] | committer: 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...).

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=3cbf06e19fa60eaad87c768795c53b338621aa37
---

 configure.ac |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/configure.ac b/configure.ac
index 94da05a..50b7866 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1026,7 +1026,7 @@ RDC_PROG_CC_WFLAGS([all extra sign-compare undef pointer-arith bad-function-cast
 RDC_PROG_CC_FLAGS([-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_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"], [
     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 \




More information about the vlc-devel mailing list