aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMax Horn2009-07-01 20:51:04 +0000
committerMax Horn2009-07-01 20:51:04 +0000
commita6b57dc3a986f749ca8f915b461b184d48390757 (patch)
treed6c3e5e46743dd5073b8853613d61e501fa76fcd /Makefile
parent62acda5fdbe0daaeae9e1d0f08044b8be4ee98cf (diff)
downloadscummvm-rg350-a6b57dc3a986f749ca8f915b461b184d48390757.tar.gz
scummvm-rg350-a6b57dc3a986f749ca8f915b461b184d48390757.tar.bz2
scummvm-rg350-a6b57dc3a986f749ca8f915b461b184d48390757.zip
- Added GCC_PRINTF attribute to several funcs where it makes sense
- change some constants from double to float, to avoid "loss of precision due to implicit conversion" warnings - removed duplicate prototypes for some funcs - fixed some "increases required alignment of target type" warnings svn-id: r42009
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 99accca5fc..a72e76619d 100644
--- a/Makefile
+++ b/Makefile
@@ -26,6 +26,13 @@ CXXFLAGS+= -Wno-long-long -Wno-multichar -Wno-unknown-pragmas -Wno-reorder
# Enable even more warnings...
CXXFLAGS+= -Wpointer-arith -Wcast-qual -Wcast-align
CXXFLAGS+= -Wshadow -Wimplicit -Wnon-virtual-dtor -Wwrite-strings
+# TODO: Consider using -Wold-style-cast at some point
+# CXXFLAGS+= -Wno-sign-compare
+#CXXFLAGS+= -Wextra
+CXXFLAGS+= -Wmissing-format-attribute
+CXXFLAGS+= -Wredundant-decls
+CXXFLAGS+= -Wconversion
+#CXXFLAGS+= -Wshorten-64-to-32
# Disable RTTI and exceptions, and enabled checking of pointers returned by "new"
CXXFLAGS+= -fno-rtti -fno-exceptions -fcheck-new