From 1d93949167c43861c6ed3ec605488658a4b873ce Mon Sep 17 00:00:00 2001 From: Max Horn Date: Fri, 4 Jul 2003 11:19:44 +0000 Subject: added some more warnings (taken from pentagram) svn-id: r8736 --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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). -- cgit v1.2.3