(CFLAGS): Add --Wformat-noliteral in gcc mode.
authorWerner Koch <wk@gnupg.org>
Wed, 17 Dec 2003 12:28:54 +0000 (12:28 +0000)
committerWerner Koch <wk@gnupg.org>
Wed, 17 Dec 2003 12:28:54 +0000 (12:28 +0000)
ChangeLog
configure.ac

index 2a08051..1f99181 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2003-12-17  Werner Koch  <wk@gnupg.org>
+
+       * configure.ac (CFLAGS): Add --Wformat-noliteral in gcc mode.
+
 2003-12-16  Werner Koch  <wk@gnupg.org>
 
        * configure.ac: Check for funopen and fopencookie as part of the
index a0cf391..72df239 100644 (file)
@@ -894,6 +894,7 @@ esac
 if test "$GCC" = yes; then
     if test "$USE_MAINTAINER_MODE" = "yes"; then
         CFLAGS="$CFLAGS -Wall -Wcast-align -Wshadow -Wstrict-prototypes"
+        CFLAGS="$CFLAGS -Wformat-nonliteral"
     else
         CFLAGS="$CFLAGS -Wall"
     fi