[vlc-devel] commit: 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. ( Pierre d'Herbemont )

git version control git at videolan.org
Thu Aug 20 23:06:30 CEST 2009


vlc | branch: master | Pierre d'Herbemont <pdherbemont at free.fr> | Thu Aug 20 22:36:54 2009 +0200| [e626c159ced80b35de0ab73bfd3f7e7438a90d57] | committer: Pierre d'Herbemont 

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.

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

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

diff --git a/configure.ac b/configure.ac
index 998365c..84742e6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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],




More information about the vlc-devel mailing list