summaryrefslogtreecommitdiffhomepage
path: root/examples/make.sh
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2022-04-18 00:44:51 +0200
committerTyge Løvset <[email protected]>2022-04-18 00:44:51 +0200
commit00804d9ff488f63468a0bb528c7b807aea7c3ea3 (patch)
tree51b47787adc853bd1a10ec820a6ef5c184fa2498 /examples/make.sh
parent4436a1c0ac37dc2e73a2134d5ad85c010340b35d (diff)
downloadSTC-modified-00804d9ff488f63468a0bb528c7b807aea7c3ea3.tar.gz
STC-modified-00804d9ff488f63468a0bb528c7b807aea7c3ea3.zip
Converted all example to use cstr_str(&s) instead of s.str to allow SSO string. Fixed misc warnings.
Diffstat (limited to 'examples/make.sh')
-rw-r--r--examples/make.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/make.sh b/examples/make.sh
index 3f2247b6..ef0468c7 100644
--- a/examples/make.sh
+++ b/examples/make.sh
@@ -1,6 +1,7 @@
#!/bin/bash
cc='gcc -s -O2 -Wall -std=c99 -pedantic'
-#cc='clang -s -O2 -Wall -std=c99 -pedantic'
+#cc='gcc -x c++ -s -O2 -Wall -std=c++20'
+#cc='clang -s -O2 -Wall -std=c99 -pedantic -DSTC_USE_SSO'
#cc='clang'
#cc='clang -c -DSTC_HEADER'
#cc='cl -O2 -nologo -W2 -MD'