diff options
| author | gingerBill <bill@gingerbill.org> | 2020-01-04 10:59:12 +0000 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2020-01-04 10:59:12 +0000 |
| commit | b09297da8178b89ebde043c99a11d9137f5bfd2a (patch) | |
| tree | 59fcb6433e59c769c2d53807e698c5c5f85dc2c0 | |
| parent | 9abdfaaf6c1289a5b6f29baf93fa3ae60d69794d (diff) | |
Remove -Wno-writable-strings
| -rw-r--r-- | Makefile | 2 | ||||
| -rw-r--r-- | build.bat | 2 | ||||
| -rwxr-xr-x | build.sh | 2 |
3 files changed, 3 insertions, 3 deletions
@@ -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 @@ -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 @@ -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" |