]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - makefile
makefile: Add -Wwrite-strings. This is also a -Wall warning under g++
[xonotic/darkplaces.git] / makefile
index 973113d1a375231d56665e4d306f2479a9e961bd..d5bfc55f92275572e4aedb73d89dbfa777f44d95 100644 (file)
--- a/makefile
+++ b/makefile
@@ -217,7 +217,7 @@ ifeq ($(WIN64RELEASE), 1)
 #      WINDRES=$(TARGET)-windres
 endif
 
-CFLAGS_WARNINGS=-Wall -Winline -Werror=c++-compat -Wshadow -Wold-style-definition -Wstrict-prototypes -Wsign-compare -Wdeclaration-after-statement -Wmissing-prototypes
+CFLAGS_WARNINGS=-Wall -Winline -Werror=c++-compat -Wwrite-strings -Wshadow -Wold-style-definition -Wstrict-prototypes -Wsign-compare -Wdeclaration-after-statement -Wmissing-prototypes
 
 
 ifeq ($(DP_MAKE_TARGET), mingw)