Add -Wcast-align

This commit is contained in:
Behdad Esfahbod 2012-07-13 11:29:31 -04:00
parent a98d0ab186
commit 11c4ad439e
2 changed files with 4 additions and 1 deletions

View File

@ -69,6 +69,9 @@ if test "x$GCC" = "xyes"; then
# Hide inline methods
CXXFLAGS="$CXXFLAGS -fvisibility-inlines-hidden"
# Assorted warnings
CXXFLAGS="$CXXFLAGS -Wcast-align"
case "$host" in
arm-*-*)
# Request byte alignment on arm

View File

@ -8,7 +8,7 @@ DISTCLEANFILES =
MAINTAINERCLEANFILES =
DISTCHECK_CONFIGURE_FLAGS = --enable-introspection
# The following warning options are useful for debugging: -Wpadded -Wcast-align
# The following warning options are useful for debugging: -Wpadded
#AM_CXXFLAGS =
lib_LTLIBRARIES = libharfbuzz.la