[Scummvm-cvs-logs] CVS: scummvm Makefile,1.36,1.37

Max Horn fingolfin at users.sourceforge.net
Wed Jul 16 13:37:34 CEST 2003


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

Modified Files:
	Makefile 
Log Message:
disable some more warnings which cause problems with gcc 2.95 or with bad system headers

Index: Makefile
===================================================================
RCS file: /cvsroot/scummvm/scummvm/Makefile,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -d -r1.36 -r1.37
--- Makefile	12 Jul 2003 19:13:25 -0000	1.36
+++ Makefile	16 Jul 2003 20:36:38 -0000	1.37
@@ -26,14 +26,20 @@
 
 # Turn on useful warnings
 CXXFLAGS+= -Wall -pedantic -Wpointer-arith -Wcast-qual -Wcast-align -Wconversion
-CXXFLAGS+= -Wshadow -Wstrict-prototypes -Wuninitialized -Wimplicit
+CXXFLAGS+= -Wshadow -Wstrict-prototypes -Wuninitialized -Wimplicit -Wundef
 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
+CXXFLAGS+= -Wwrite-strings -fcheck-new -Wctor-dtor-privacy -Wnon-virtual-dtor
+
 # 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).
-# CXXFLAGS+= -ansi -W -Wno-unused-parameter -Woverloaded-virtual -Wfloat-equal
+# CXXFLAGS+= -ansi -W -Wno-unused-parameter -Woverloaded-virtual -Wdisabled-optimization -Wfloat-equal
+
+# The following causes problems on some systems where the system header
+# contain duplicate declarations already. That's really a bug in the 
+# system headers, but since it causes lots of warnings on those systems,
+# we don't enable it by default
+#CXXFLAGS+= -Wredundant-decls
 
 # Load the build rules & settings for the chosen backend
 -include build.rules





More information about the Scummvm-git-logs mailing list