aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMax Horn2003-07-04 11:19:44 +0000
committerMax Horn2003-07-04 11:19:44 +0000
commit1d93949167c43861c6ed3ec605488658a4b873ce (patch)
treecbf5617be35b5a7e142e5794aabf9c918327d06c /Makefile
parentfbb9bc78347dc1a465ac62ad2c7e02eb6a1ac0f7 (diff)
downloadscummvm-rg350-1d93949167c43861c6ed3ec605488658a4b873ce.tar.gz
scummvm-rg350-1d93949167c43861c6ed3ec605488658a4b873ce.tar.bz2
scummvm-rg350-1d93949167c43861c6ed3ec605488658a4b873ce.zip
added some more warnings (taken from pentagram)
svn-id: r8736
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index ee13a732fc..ae8bb5f38f 100644
--- a/Makefile
+++ b/Makefile
@@ -26,8 +26,10 @@ OBJS :=
# Turn on useful warnings
CXXFLAGS+= -Wall -pedantic -Wpointer-arith -Wcast-qual -Wcast-align -Wconversion
-CXXFLAGS+= -Wshadow -Wstrict-prototypes -Wuninitialized
+CXXFLAGS+= -Wshadow -Wstrict-prototypes -Wuninitialized -Wimplicit
CXXFLAGS+= -Wno-long-long -Wno-multichar -Wno-unknown-pragmas -Wno-reorder
+CXXFLAGS+= -Wwrite-strings -Wredundant-decls -Wdisabled-optimization -fcheck-new -Wundef
+CXXFLAGS+= -Wctor-dtor-privacy -Wnon-virtual-dtor -Woverloaded-virtual -Wfloat-equal
# Seems GCC 2.95 doesn't support the following, so we do not yet turn them
# on by default (but I'd strongly recommend to all GCC 2.95 users to update
# to a better compiler like GCC 3.x).