[beast/devel: 5/6] ROOT: treat format-security warnings as errors
- From: Tim Janik <timj src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [beast/devel: 5/6] ROOT: treat format-security warnings as errors
- Date: Sun, 20 Jan 2013 02:38:30 +0000 (UTC)
commit 169da7db78594a62f6536ebcca4efd62d8ee8d80
Author: Tim Janik <timj gnu org>
Date: Sun Jan 20 03:36:37 2013 +0100
ROOT: treat format-security warnings as errors
configure.in | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/configure.in b/configure.in
index c28b035..f1e8642 100644
--- a/configure.in
+++ b/configure.in
@@ -126,7 +126,9 @@ AC_C_CONST
AC_C_INLINE
AC_HEADER_STDC
-# == C++11 ==
+# == Compiler Flags ==
+MC_EVAR_ADD(CFLAGS, -Werror=format-security, -Werror=format-security)
+MC_EVAR_ADD(CXXFLAGS, -Werror=format-security, -Werror=format-security)
MC_EVAR_ADD(CXXFLAGS, -std=gnu++0x, -std=gnu++0x -pthread)
# Checks for programs
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]