summaryrefslogtreecommitdiffhomepage
path: root/examples
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2022-11-21 17:59:06 +0100
committerTyge Løvset <[email protected]>2022-11-21 17:59:06 +0100
commitdcaf91987cfacd6a6ed66532e5a2a4200c46651b (patch)
tree009953e3aeb97708a3dc8ddae6072ac411a81637 /examples
parenta084d28b651b988b244b1c6be1d4714e6a4b15c9 (diff)
downloadSTC-modified-dcaf91987cfacd6a6ed66532e5a2a4200c46651b.tar.gz
STC-modified-dcaf91987cfacd6a6ed66532e5a2a4200c46651b.zip
Updated shootout_hashmap.cpp, and fixed some unsigned warnings.
Diffstat (limited to 'examples')
-rwxr-xr-xexamples/make.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/make.sh b/examples/make.sh
index a25c517a..7dc07613 100755
--- a/examples/make.sh
+++ b/examples/make.sh
@@ -6,7 +6,8 @@ if [ "$(uname)" = 'Linux' ]; then
oflag='-o '
fi
-cc=gcc; cflags="-s -O2 -Wall -std=c99 -pedantic -Wfatal-errors $sanitize"
+#cc=gcc; cflags="-s -O2 -Wall -std=c99 -pedantic -Wfatal-errors $sanitize"
+cc=gcc; cflags="-s -O2 -Werror -Wfatal-errors -Wall -Wpedantic -Wsign-compare -Wwrite-strings" # -Wconversion
#cc=tcc; cflags="-Wall -std=c99"
#cc=clang; cflags="-s -O2 -Wall -std=c99 -pedantic -Wfatal-errors"
#cc=clang; cflags="-s -O2 -Wall -std=c99 -pedantic -Wfatal-errors -DSTC_CSTR_V1 -DSTC_CSMAP_V1"