[pygobject] Build with -Werror=format
- From: Martin Pitt <martinpitt src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pygobject] Build with -Werror=format
- Date: Tue, 31 Jul 2012 08:31:28 +0000 (UTC)
commit 5c5b066854cc0b3b7702f31d212aa3f511c62127
Author: Martin Pitt <martinpitt gnome org>
Date: Tue Jul 31 10:30:22 2012 +0200
Build with -Werror=format
This catches format string problems on particular architectures like in commit
dea24f8e12 much more insistently.
configure.ac | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 45408fb..9e79ec5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -227,6 +227,7 @@ if test "x$GCC" = "xyes"; then
JH_ADD_CFLAG([-Werror=pointer-arith])
JH_ADD_CFLAG([-Werror=format-security])
JH_ADD_CFLAG([-Werror=missing-include-dirs])
+ JH_ADD_CFLAG([-Werror=format])
JH_ADD_CFLAG([-fno-strict-aliasing])
case $host_os in
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]