[vlc-devel] commit: configure: remove return-type from Werror warnings (Pierre Ynard )

git version control git at videolan.org
Fri Aug 28 20:09:28 CEST 2009


vlc | branch: master | Pierre Ynard <linkfanel at yahoo.fr> | Fri Aug 28 20:02:58 2009 +0200| [0a761fdb9f89cc892ff3819977d4e1932e49fc13] | committer: Pierre Ynard 

configure: remove return-type from Werror warnings

Some "no return statement in function returning non-void" warnings are
definitely not errors, and cannot be silenced without introducing dead
code, which is arguably just worse.

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

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

diff --git a/configure.ac b/configure.ac
index b67b0a8..3922ec6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1016,7 +1016,7 @@ AC_ARG_ENABLE(warnings-as-error,
 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 \
-     bad-function-cast implicit sequence-point return-type strict-aliasing array-bounds missing-parameter-type \
+     bad-function-cast implicit sequence-point strict-aliasing array-bounds missing-parameter-type \
      overflow int-to-pointer-cast pointer-to-int-cast div-by-zero overflow ignored])
 ])
 AC_SUBST(CFLAGS_WERROR)




More information about the vlc-devel mailing list