summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2006-09-26 12:21:21 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2006-09-26 12:21:21 +0000
commit9759ef3b695c612f285923467b3f3bcbd7c9fbec (patch)
treee5a4f2696980ff0ac6b9f5c1e3ffd7f8a4126b6d
parent24e5f5a3cf3ddeabeb0c6a0ad75174afa2c13f78 (diff)
downloadcrawl-ref-9759ef3b695c612f285923467b3f3bcbd7c9fbec.tar.gz
crawl-ref-9759ef3b695c612f285923467b3f3bcbd7c9fbec.zip
Added -Wshadow -pedantic to DOS and Windows makefiles.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/branches/stone_soup@139 c06c8d41-db1a-0410-9941-cceddc491573
-rw-r--r--crawl-ref/source/makefile.dos2
-rw-r--r--crawl-ref/source/makefile.mgw3
2 files changed, 4 insertions, 1 deletions
diff --git a/crawl-ref/source/makefile.dos b/crawl-ref/source/makefile.dos
index d1e7d463a9..b037bbe7da 100644
--- a/crawl-ref/source/makefile.dos
+++ b/crawl-ref/source/makefile.dos
@@ -12,7 +12,7 @@ CXX = gxx
DELETE = del
COPY = copy
OS_TYPE = DOS
-CFLAGS = -D$(OS_TYPE) $(EXTRA_FLAGS)
+CFLAGS = -D$(OS_TYPE) $(EXTRA_FLAGS) -Wshadow -fsigned-char -pedantic
LDFLAGS =
LIB =
# LIB = -lcurso -lpano
diff --git a/crawl-ref/source/makefile.mgw b/crawl-ref/source/makefile.mgw
index 01f97ac04b..e49be0967c 100644
--- a/crawl-ref/source/makefile.mgw
+++ b/crawl-ref/source/makefile.mgw
@@ -18,6 +18,9 @@ COPY = copy
OS_TYPE = WIN32CONSOLE
CFLAGS = -Wall -Wwrite-strings -Wstrict-prototypes \
-Wmissing-prototypes -Wmissing-declarations \
+ -Wshadow \
+ -fsigned-char \
+ -pedantic \
-D$(OS_TYPE) $(EXTRA_FLAGS) \
-DWINMM_PLAY_SOUNDS