[easytag/easytag-2-2] Add -Werror=return-type to compiler flags



commit 2688eddc69272d040490665a3283a2dba2d249ff
Author: David King <amigadave amigadave com>
Date:   Sun Dec 21 10:36:33 2014 +0000

    Add -Werror=return-type to compiler flags

 configure.ac |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 02350b7..05e7119 100644
--- a/configure.ac
+++ b/configure.ac
@@ -323,7 +323,7 @@ AC_SEARCH_LIBS([gethostbyname], [nsl socket], [],
      AC_MSG_RESULT([$have_ws2])])
 
 dnl Check that the compiler accepts the given warning flags.
-warning_flags="-Wall -Wstrict-prototypes -Wnested-externs -Werror=missing-prototypes 
-Werror=implicit-function-declaration -Werror=pointer-arith -Werror=init-self -Werror=format-security 
-Werror=format=2 -Werror=missing-include-dirs -Werror=declaration-after-statement"
+warning_flags="-Wall -Wstrict-prototypes -Wnested-externs -Werror=missing-prototypes 
-Werror=implicit-function-declaration -Werror=pointer-arith -Werror=init-self -Werror=format-security 
-Werror=format=2 -Werror=missing-include-dirs -Werror=declaration-after-statement -Werror=return-type"
 
 realsave_CFLAGS="$CFLAGS"
 for option in $warning_flags; do


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]