From 18961542f96d0b1983a3e240997ec3da4b6abdb3 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Sun, 21 Sep 2003 18:39:38 +0000 Subject: remove -Wcast-align, it causes troubles and sparc and has no real benefit elsewhere svn-id: r10360 --- Makefile | 5 +++-- 1 file 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 -- cgit v1.2.3