aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2020-01-04 10:59:12 +0000
committergingerBill <bill@gingerbill.org>2020-01-04 10:59:12 +0000
commitb09297da8178b89ebde043c99a11d9137f5bfd2a (patch)
tree59fcb6433e59c769c2d53807e698c5c5f85dc2c0
parent9abdfaaf6c1289a5b6f29baf93fa3ae60d69794d (diff)
Remove -Wno-writable-strings
-rw-r--r--Makefile2
-rw-r--r--build.bat2
-rwxr-xr-xbuild.sh2
3 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 7129c41e1..bc506ac62 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-DISABLED_WARNINGS=-Wno-switch -Wno-pointer-sign -Wno-tautological-constant-out-of-range-compare -Wno-tautological-compare -Wno-macro-redefined -Wno-writable-strings
+DISABLED_WARNINGS=-Wno-switch -Wno-pointer-sign -Wno-tautological-constant-out-of-range-compare -Wno-tautological-compare -Wno-macro-redefined
LDFLAGS=-pthread -ldl -lm -lstdc++
CFLAGS=-std=c++11
CC=clang
diff --git a/build.bat b/build.bat
index ec47e4054..013a199a7 100644
--- a/build.bat
+++ b/build.bat
@@ -12,7 +12,7 @@ if "%1" == "1" (
set release_mode=0
)
-set compiler_flags= -nologo -Oi -TP -fp:precise -Gm- -MP -FC -GS- -EHsc- -GR-
+set compiler_flags= -nologo -Oi -TP -fp:precise -Gm- -MP -FC -EHsc- -GR- -GF
if %release_mode% EQU 0 ( rem Debug
set compiler_flags=%compiler_flags% -Od -MDd -Z7
diff --git a/build.sh b/build.sh
index 1ce187e88..cbd4ba618 100755
--- a/build.sh
+++ b/build.sh
@@ -2,7 +2,7 @@
release_mode=$1
-warnings_to_disable="-std=c++11 -Wno-switch -Wno-pointer-sign -Wno-tautological-constant-out-of-range-compare -Wno-tautological-compare -Wno-macro-redefined -Wno-writable-strings"
+warnings_to_disable="-std=c++11 -Wno-switch -Wno-pointer-sign -Wno-tautological-constant-out-of-range-compare -Wno-tautological-compare -Wno-macro-redefined"
libraries="-pthread -ldl -lm -lstdc++"
other_args=""
compiler="clang"