# HG changeset patch # User Richard Laager # Date 1228969783 0 # Node ID 2a507db5e7153c60223862a4fb8f3628077090f6 # Parent 8d1ff9c7b88921cbb2efce41877f856b4da4547b Turn on -Wformat-security and make it an error with GCC 4. diff -r 8d1ff9c7b889 -r 2a507db5e715 configure.ac --- 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" \