From 235d0221862ea7eb23ba32c9e10787af980e5c4d Mon Sep 17 00:00:00 2001 From: Max Horn Date: Tue, 26 Feb 2008 16:55:02 +0000 Subject: Added -Wcast-align to the default warnings svn-id: r30970 --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') 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" -- cgit v1.2.3