[gnome-terminal] build: Add more compiler warnings
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-terminal] build: Add more compiler warnings
- Date: Thu, 3 May 2012 19:02:19 +0000 (UTC)
commit c7f4d542140ff705c7c33505532bbf57ea1309b6
Author: Christian Persch <chpe gnome org>
Date: Fri Nov 18 13:21:14 2011 +0100
build: Add more compiler warnings
configure.ac | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 750e237..bcaed17 100644
--- a/configure.ac
+++ b/configure.ac
@@ -178,9 +178,10 @@ fi
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]