changeset 24658:2a507db5e715

Turn on -Wformat-security and make it an error with GCC 4.
author Richard Laager <rlaager@wiktel.com>
date Thu, 11 Dec 2008 04:29:43 +0000
parents 8d1ff9c7b889
children c624b5502874
files configure.ac
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/configure.ac	Thu Dec 11 03:31:16 2008 +0000
+++ b/configure.ac	Thu Dec 11 04:29:43 2008 +0000
@@ -1173,6 +1173,8 @@
 			"-Wendif-labels" \
 			"-Werror-implicit-function-declaration" \
 			"-Wextra -Wno-sign-compare -Wno-unused-parameter" \
+			"-Wformat-security" \
+				"-Werror=format-security" \
 			"-Winit-self" \
 			"-Wmissing-declarations" \
 			"-Wmissing-noreturn" \