From: cloudwalk Date: Mon, 20 Jul 2020 14:56:37 +0000 (+0000) Subject: makefile: Add -Wwrite-strings. This is also a -Wall warning under g++ X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=a7726c6a8b24d8c54352358b965e16938b178ce0;p=xonotic%2Fdarkplaces.git 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 --- 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)