aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Horn2003-05-29 10:55:22 +0000
committerMax Horn2003-05-29 10:55:22 +0000
commit96fd0ef6711fac5fba35a4841000c3d7d76e0478 (patch)
treea6198e9a6516634ccb044cceb2cd7a93779e7741
parenta415492f5dd642c79bfdbfc0a384adf4a4191126 (diff)
downloadscummvm-rg350-96fd0ef6711fac5fba35a4841000c3d7d76e0478.tar.gz
scummvm-rg350-96fd0ef6711fac5fba35a4841000c3d7d76e0478.tar.bz2
scummvm-rg350-96fd0ef6711fac5fba35a4841000c3d7d76e0478.zip
make poor GCC 2.95 uses happy
svn-id: r8091
-rw-r--r--Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 89ed8fc454..508259ff7d 100644
--- a/Makefile
+++ b/Makefile
@@ -25,9 +25,13 @@ LIBS :=
OBJS :=
# Turn on useful warnings
-CXXFLAGS+= -Wall -W -pedantic -ansi -Wpointer-arith -Wcast-qual -Wcast-align -Wconversion
+CXXFLAGS+= -Wall -W -pedantic -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
+CXXFLAGS+= -Wno-long-long -Wno-multichar -Wno-unknown-pragmas -Wno-reorder
+# 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 -Wno-unused-parameter
# Load the build rules & settings for the chosen backend
-include build.rules