From a3f6278b4382661c1eff298e5bd01eedfbdb0afc Mon Sep 17 00:00:00 2001 From: Max Horn Date: Sun, 13 Jan 2008 17:59:53 +0000 Subject: Clarify comments on compiler warning flags svn-id: r30474 --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index a85f31420c..b0e4900e3c 100644 --- a/Makefile +++ b/Makefile @@ -20,11 +20,11 @@ MODULE_DIRS := -include config.mk CXXFLAGS:= -Wall $(CXXFLAGS) -CXXFLAGS+= -Wno-long-long -Wno-multichar -Wno-unknown-pragmas -# Even more warnings... +# 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+= -Wshadow -Wimplicit -Wundef -Wnon-virtual-dtor -CXXFLAGS+= -Wno-reorder -Wwrite-strings +CXXFLAGS+= -Wshadow -Wimplicit -Wundef -Wnon-virtual-dtor -Wwrite-strings # Disable RTTI and exceptions, and enabled checking of pointers returned by "new" CXXFLAGS+= -fno-rtti -fno-exceptions -fcheck-new -- cgit v1.2.3