aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Horn2003-09-21 18:39:38 +0000
committerMax Horn2003-09-21 18:39:38 +0000
commit18961542f96d0b1983a3e240997ec3da4b6abdb3 (patch)
tree8cc2d1774f987af9ea6ac3749dc240203a4d8b7d
parent58721a629d98335f549485e44072472fe6a78e96 (diff)
downloadscummvm-rg350-18961542f96d0b1983a3e240997ec3da4b6abdb3.tar.gz
scummvm-rg350-18961542f96d0b1983a3e240997ec3da4b6abdb3.tar.bz2
scummvm-rg350-18961542f96d0b1983a3e240997ec3da4b6abdb3.zip
remove -Wcast-align, it causes troubles and sparc and has no real benefit elsewhere
svn-id: r10360
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 4b3d3f7f9b..14e68041be 100644
--- a/Makefile
+++ b/Makefile
@@ -32,9 +32,10 @@ include config.mak
# Uncomment this for stricter compile time code verification
# CXXFLAGS+= -Wshadow -Werror
-CXXFLAGS:= -O -Wall -Wuninitialized -Wno-long-long -Wno-multichar -Wno-unknown-pragmas $(CXXFLAGS)
+CXXFLAGS:= -O -Wall -Wuninitialized $(CXXFLAGS)
+CXXFLAGS+= -Wno-long-long -Wno-multichar -Wno-unknown-pragmas
# Even more warnings...
-CXXFLAGS+= -pedantic -Wpointer-arith -Wcast-qual -Wcast-align -Wconversion
+CXXFLAGS+= -pedantic -Wpointer-arith -Wcast-qual -Wconversion
CXXFLAGS+= -Wshadow -Wimplicit -Wundef -Wnon-virtual-dtor
CXXFLAGS+= -Wno-reorder -Wwrite-strings -fcheck-new -Wctor-dtor-privacy