summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMurray Cumming <murrayc@murrayc.com>2011-06-29 09:51:52 +0200
committerMurray Cumming <murrayc@murrayc.com>2011-06-29 09:51:52 +0200
commit3e113b10089311f4d986698e3c605440a57033a6 (patch)
tree341b8e97cbf0e80148dd8a4b3e0dffb2f366abd5
parent49ab09c643d38885658e5979f2fdb0b51d5fb0e8 (diff)
downloadglibmm-3e113b10089311f4d986698e3c605440a57033a6.tar.gz
Add -Wformat-security to the --enable-warnings=fatal build.
* configure.ac: This seems to be popular now.
-rw-r--r--ChangeLog6
-rw-r--r--configure.ac2
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 02fd6aeb..29cc06c1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2011-06-29 Murray Cumming <murrayc@murrayc.com>
+
+ Add -Wformat-security to the --enable-warnings=fatal build.
+
+ * configure.ac: This seems to be popular now.
+
2011-06-19 José Alburquerque <jaalburqu@svn.gnome.org>
giomm: Add TimeZoneMonitor.
diff --git a/configure.ac b/configure.ac
index 79cf8c03..3ae3c082 100644
--- a/configure.ac
+++ b/configure.ac
@@ -118,7 +118,7 @@ GLIBMM_ARG_ENABLE_DEBUG_REFCOUNTING
# Evaluate the --enable-warnings=level option.
MM_ARG_ENABLE_WARNINGS([GLIBMM_WXXFLAGS],
[-Wall],
- [-pedantic -Wall -Wextra -Wno-long-long],
+ [-pedantic -Wall -Wextra -Wformat-security -Wno-long-long],
[G])
# Offer the ability to omit some API from the library,