summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteven Noonan <steven@uplinklabs.net>2009-10-14 01:39:40 -0700
committerSteven Noonan <steven@uplinklabs.net>2009-10-14 01:39:40 -0700
commitba64f5cdc8000506457e3e78c063316f0cdf3116 (patch)
tree0ee625566f26869f902da9bd3a57087b311b12ce
parent0ea49abc9dc8495d42325605ba5e2fcd626fc402 (diff)
downloadcrawl-ref-ba64f5cdc8000506457e3e78c063316f0cdf3116.tar.gz
crawl-ref-ba64f5cdc8000506457e3e78c063316f0cdf3116.zip
makefile: disable stupid "array subscript is above array bounds" errors
They're pretty much never accurate, and they're hard to avoid because of how they're raised. Signed-off-by: Steven Noonan <steven@uplinklabs.net>
-rw-r--r--crawl-ref/source/makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/makefile b/crawl-ref/source/makefile
index cecfb6afba..7e17360865 100644
--- a/crawl-ref/source/makefile
+++ b/crawl-ref/source/makefile
@@ -339,7 +339,7 @@ endif # MacOS
endif # TILES
-CFWARN_L := -Wno-parentheses -Wwrite-strings -Wshadow -pedantic
+CFWARN_L := -Wno-array-bounds -Wno-parentheses -Wwrite-strings -Wshadow -pedantic
CFOTHERS_L = $(EXTERNAL_FLAGS) $(EXTRA_FLAGS) $(DEFINES) -DCLUA_BINDINGS $(SDL_CFLAGS)
#