]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
makefile: Add -Wwrite-strings. This is also a -Wall warning under g++
authorcloudwalk <cloudwalk@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 20 Jul 2020 14:56:37 +0000 (14:56 +0000)
committercloudwalk <cloudwalk@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 20 Jul 2020 14:56:37 +0000 (14:56 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12848 d7cf8633-e32d-0410-b094-e92efae38249

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)