aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2003-12-17 12:28:54 +0000
committerWerner Koch <[email protected]>2003-12-17 12:28:54 +0000
commita1bd2fa625962a2a8e2864d6f4704b0a65ca7a7f (patch)
treeb72a356882c19cc0c52a6aa18882f23697d0ed3a
parentReplaced deprecated type names. (diff)
downloadgnupg-a1bd2fa625962a2a8e2864d6f4704b0a65ca7a7f.tar.gz
gnupg-a1bd2fa625962a2a8e2864d6f4704b0a65ca7a7f.zip
(CFLAGS): Add --Wformat-noliteral in gcc mode.
Diffstat (limited to '')
-rw-r--r--ChangeLog4
-rw-r--r--configure.ac1
2 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 2a08051f0..1f99181f0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2003-12-17 Werner Koch <[email protected]>
+
+ * configure.ac (CFLAGS): Add --Wformat-noliteral in gcc mode.
+
2003-12-16 Werner Koch <[email protected]>
* configure.ac: Check for funopen and fopencookie as part of the
diff --git a/configure.ac b/configure.ac
index a0cf391a4..72df23915 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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