aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMax Horn2008-01-13 17:59:53 +0000
committerMax Horn2008-01-13 17:59:53 +0000
commita3f6278b4382661c1eff298e5bd01eedfbdb0afc (patch)
tree2f8e104a996e99d828c2668ae88c274d23191957 /Makefile
parent696ea9d301cae1f2a123c37ddaa7490544cd99a0 (diff)
downloadscummvm-rg350-a3f6278b4382661c1eff298e5bd01eedfbdb0afc.tar.gz
scummvm-rg350-a3f6278b4382661c1eff298e5bd01eedfbdb0afc.tar.bz2
scummvm-rg350-a3f6278b4382661c1eff298e5bd01eedfbdb0afc.zip
Clarify comments on compiler warning flags
svn-id: r30474
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files 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