From: Florian Krohm Date: Thu, 18 Sep 2014 18:10:37 +0000 (+0000) Subject: Enable -Wcast-align globally. X-Git-Tag: svn/VALGRIND_3_11_0~981 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a509865ccbeac0179331ae956c0adb1951f6c6be;p=thirdparty%2Fvalgrind.git Enable -Wcast-align globally. Tested on x86-64, s390, and ppc64. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14551 --- diff --git a/Makefile.all.am b/Makefile.all.am index ef216c3f3a..68f8fe57e0 100644 --- a/Makefile.all.am +++ b/Makefile.all.am @@ -99,6 +99,7 @@ clean-noinst_DSYMS: AM_CFLAGS_BASE = \ -O2 -g \ -Wall \ + -Wcast-align \ -Wmissing-prototypes \ -Wshadow \ -Wpointer-arith \ diff --git a/Makefile.vex.am b/Makefile.vex.am index c9e8168118..5784a6fe57 100644 --- a/Makefile.vex.am +++ b/Makefile.vex.am @@ -156,7 +156,6 @@ LIBVEX_SOURCES_COMMON = \ LIBVEX_CFLAGS = \ -Wbad-function-cast \ -Wcast-qual \ - -Wcast-align \ -fstrict-aliasing libvex_@VGCONF_ARCH_PRI@_@VGCONF_OS@_a_SOURCES = $(LIBVEX_SOURCES_COMMON)