diff options
-rw-r--r-- | crawl-ref/source/makefile.dos | 2 | ||||
-rw-r--r-- | crawl-ref/source/makefile.mgw | 3 |
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 |