aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Horn2008-02-26 16:55:02 +0000
committerMax Horn2008-02-26 16:55:02 +0000
commit235d0221862ea7eb23ba32c9e10787af980e5c4d (patch)
treebc4071f5e476d97391857e7161846d9b637aca3c
parentd4b9d7fe444eab838105760f4924ba49f7cb68c6 (diff)
downloadscummvm-rg350-235d0221862ea7eb23ba32c9e10787af980e5c4d.tar.gz
scummvm-rg350-235d0221862ea7eb23ba32c9e10787af980e5c4d.tar.bz2
scummvm-rg350-235d0221862ea7eb23ba32c9e10787af980e5c4d.zip
Added -Wcast-align to the default warnings
svn-id: r30970
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 768c9d4e4b..d230120bb0 100644
--- a/Makefile
+++ b/Makefile
@@ -24,7 +24,7 @@ CXXFLAGS:= -Wall $(CXXFLAGS)
# Turn off some annoying and not-so-useful warnings
CXXFLAGS+= -Wno-long-long -Wno-multichar -Wno-unknown-pragmas -Wno-reorder
# Enable even more warnings...
-CXXFLAGS+= -pedantic -Wpointer-arith -Wcast-qual -Wconversion
+CXXFLAGS+= -pedantic -Wpointer-arith -Wcast-qual -Wcast-align -Wconversion
CXXFLAGS+= -Wshadow -Wimplicit -Wundef -Wnon-virtual-dtor -Wwrite-strings
# Disable RTTI and exceptions, and enabled checking of pointers returned by "new"