[Scummvm-cvs-logs] CVS: scummvm Makefile,1.31,1.32

Max Horn fingolfin at users.sourceforge.net
Sun May 25 09:10:03 CEST 2003


Update of /cvsroot/scummvm/scummvm
In directory sc8-pr-cvs1:/tmp/cvs-serv32601

Modified Files:
	Makefile 
Log Message:
Some additional warnings

Index: Makefile
===================================================================
RCS file: /cvsroot/scummvm/scummvm/Makefile,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -d -r1.31 -r1.32
--- Makefile	26 Apr 2003 11:44:13 -0000	1.31
+++ Makefile	25 May 2003 16:09:26 -0000	1.32
@@ -17,13 +17,18 @@
 # Default compilation parameters. Normally don't edit these           #
 #######################################################################
 
-CXXFLAGS:= -g -O -Wall -Wstrict-prototypes -Wuninitialized -Wno-long-long -Wno-multichar -Wno-unknown-pragmas
+CXXFLAGS:= -g -O
 DEFINES :=
 LDFLAGS :=
 INCLUDES:= -I. -Icommon
 LIBS	:=
 OBJS	:=
 
+# Turn on useful warnings
+CXXFLAGS+= -Wall -W -pedantic -ansi -Wpointer-arith -Wcast-qual -Wcast-align -Wconversion
+CXXFLAGS+= -Wshadow -Wstrict-prototypes -Wuninitialized
+CXXFLAGS+= -Wno-long-long -Wno-multichar -Wno-unknown-pragmas -Wno-unused-parameter -Wno-reorder
+
 # Load the build rules & settings for the chosen backend
 -include build.rules
 
@@ -43,8 +48,8 @@
 # DEFINES += -DUSE_ALSA
 # LIBS    += -lasound
 
-# Uncomment this for stricter compile time code verification
-# CXXFLAGS+= -Wshadow -Werror
+# Uncomment this to cause warnings to be treated as errors
+# CXXFLAGS+= -Werror
 
 
 #######################################################################





More information about the Scummvm-git-logs mailing list