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



commit 928c5e111dc1aac5da8d9de0767c06eb4f456bbb
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 1e8b635..0c7d1bf 100644
--- a/configure.ac
+++ b/configure.ac
@@ -344,7 +344,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]