From 4fabca98a58c0a11a056195107822dcbdea79d9e Mon Sep 17 00:00:00 2001 From: Max Horn Date: Thu, 1 Jul 2010 23:12:45 +0000 Subject: Remove -Wcast-align -- it cause many spurious warnings on several ports svn-id: r50583 --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 8c3882da32..6b64759ebd 100644 --- a/Makefile +++ b/Makefile @@ -25,7 +25,7 @@ ifeq "$(HAVE_GCC)" "1" # 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+= -Wpointer-arith -Wcast-qual -Wcast-align + CXXFLAGS+= -Wpointer-arith -Wcast-qual CXXFLAGS+= -Wshadow -Wimplicit -Wnon-virtual-dtor -Wwrite-strings # Currently we disable this gcc flag, since it will also warn in cases, -- cgit v1.2.3