From a7726c6a8b24d8c54352358b965e16938b178ce0 Mon Sep 17 00:00:00 2001 From: cloudwalk Date: Mon, 20 Jul 2020 14:56:37 +0000 Subject: [PATCH] makefile: Add -Wwrite-strings. This is also a -Wall warning under g++ git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12848 d7cf8633-e32d-0410-b094-e92efae38249 --- makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/makefile b/makefile index 973113d1..d5bfc55f 100644 --- 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) -- 2.39.2