[byzanz] Fix-FTBFS-because-of-Wcast-align-error-flag
- From: Andrea Veri <av src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [byzanz] Fix-FTBFS-because-of-Wcast-align-error-flag
- Date: Wed, 3 Oct 2012 12:49:19 +0000 (UTC)
commit c164d2536b1b53fede4e3c1a9c151bb44f284a21
Author: Markus Koschany <apo gambaru de>
Date: Mon Oct 1 12:05:11 2012 +0200
Fix-FTBFS-because-of-Wcast-align-error-flag
The patch fixes a FTBFS on sparc, mips, mipsel, armel and ia64.
It is sufficient to remove the Wcast-align error flag in configure.ac.
Signed-off-by: Andrea Veri <av gnome org>
configure.ac | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 9bfd7e0..63c465b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -36,7 +36,7 @@ dnl For interactive UNIX (a Sun thing)
AC_ISC_POSIX
dnl decide on error flags
-AS_COMPILER_FLAGS(ERROR_CFLAGS, "-Wall -Wextra -Wno-missing-field-initializers -Wno-unused-parameter -Wold-style-definition -Wdeclaration-after-statement -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wmissing-noreturn -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Winline -Wformat-nonliteral -Wformat-security -Wswitch-enum -Wswitch-default -Winit-self -Wmissing-include-dirs -Wundef -Waggregate-return -Wmissing-format-attribute -Wnested-externs -Wunsafe-loop-optimizations -Wpacked -Winvalid-pch -Wsync-nand")
+AS_COMPILER_FLAGS(ERROR_CFLAGS, "-Wall -Wextra -Wno-missing-field-initializers -Wno-unused-parameter -Wold-style-definition -Wdeclaration-after-statement -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wmissing-noreturn -Wshadow -Wpointer-arith -Wwrite-strings -Winline -Wformat-nonliteral -Wformat-security -Wswitch-enum -Wswitch-default -Winit-self -Wmissing-include-dirs -Wundef -Waggregate-return -Wmissing-format-attribute -Wnested-externs -Wunsafe-loop-optimizations -Wpacked -Winvalid-pch -Wsync-nand")
if test "x$BYZANZ_CVS" = "xyes"
then
AS_COMPILER_FLAGS(ERROR_CFLAGS, "-Werror")
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]