[glibmm] Add -Wformat-security to the --enable-warnings=fatal build.



commit 3e113b10089311f4d986698e3c605440a57033a6
Author: Murray Cumming <murrayc murrayc com>
Date:   Wed Jun 29 09:51:52 2011 +0200

    Add -Wformat-security to the --enable-warnings=fatal build.
    
    * configure.ac: This seems to be popular now.

 ChangeLog    |    6 ++++++
 configure.ac |    2 +-
 2 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 02fd6ae..29cc06c 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 79cf8c0..3ae3c08 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,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]