[evolution-mapi] Do not use -Wredundant-decls at the moment
- From: Milan Crha <mcrha src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [evolution-mapi] Do not use -Wredundant-decls at the moment
- Date: Mon, 8 Feb 2010 16:38:19 +0000 (UTC)
commit 487fa91142aadb06707f73b0bc4bdd3763bde5ab
Author: Milan Crha <mcrha redhat com>
Date: Mon Feb 8 17:36:12 2010 +0100
Do not use -Wredundant-decls at the moment
It produces couple warnings due to libmapi and samba4, thus until
they fix it there remove this warning flag.
configure.ac | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 83b7fe0..daa5b1c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -63,7 +63,7 @@ AS_COMPILER_FLAGS(WARNING_FLAGS,
-Wformat-nonliteral -Wformat-security -Winit-self
-Wmissing-declarations -Wmissing-include-dirs
-Wmissing-noreturn -Wnested-externs -Wpointer-arith
- -Wredundant-decls -Wundef -Wwrite-strings")
+ -Wundef -Wwrite-strings")
AC_SUBST(WARNING_FLAGS)
dnl Other useful compiler warnings for test builds only.
@@ -71,6 +71,7 @@ dnl These may produce warnings we have no control over.
dnl
dnl -Wmissing-format-attribute
dnl -Wshadow
+dnl -Wredundant-decls
CFLAGS="$CFLAGS $WARNING_FLAGS"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]