[vte/vte-0-32] build: Add more compiler warnings (cherry picked from commit 5146e22b60cbbba25e432ee8b3e08533efae65e
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vte/vte-0-32] build: Add more compiler warnings (cherry picked from commit 5146e22b60cbbba25e432ee8b3e08533efae65e
- Date: Mon, 21 Nov 2011 13:53:55 +0000 (UTC)
commit 9fc22089b05cfe6c47ae8e8059a4092fa6933edc
Author: Christian Persch <chpe gnome org>
Date: Fri Nov 18 13:22:19 2011 +0100
build: Add more compiler warnings
(cherry picked from commit 5146e22b60cbbba25e432ee8b3e08533efae65e6)
configure.in | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/configure.in b/configure.in
index bd83e7d..970cfa3 100644
--- a/configure.in
+++ b/configure.in
@@ -137,9 +137,10 @@ AC_SUBST([LIBTOOL_FLAGS])
CC_CHECK_CFLAGS_APPEND([ \
-Wall -Wextra \
- -Wsign-compare -Werror-implicit-function-declaration \
+ -Wformat-nonliteral -Werror=format-security \
+ -Wsign-compare -Werror=implicit-function-declaration \
-Wpointer-arith -Wwrite-strings -Wstrict-prototypes \
- -Waggregate-return -Wcast-align -Wimplicit -Wuninitialised \
+ -Waggregate-return -Wcast-align -Wimplicit -Wuninitialized \
-Wmissing-prototypes -Wmissing-declarations -Wnested-externs \
-Wpacked -Wmissing-format-attribute -Wshadow \
-Wstrict-aliasing=2 -Winit-self -Wunsafe-loop-optimizations \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]