about summary refs log tree commit diff stats
path: root/src/main.nim
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2023-10-05 18:08:40 +0200
committerbptato <nincsnevem662@gmail.com>2023-10-05 18:09:28 +0200
commit94cad9646ce9cd495b09768d6c9b0170c067e283 (patch)
tree6ea92b6ae5ce7c353dd9564863ce368b8eed8e03 /src/main.nim
parent62b74c4d2e7410b4cc39ee4973e369c74c2407ea (diff)
downloadchawan-94cad9646ce9cd495b09768d6c9b0170c067e283.tar.gz
move workaround from previous commit
agh... it didn't work with GCC
Diffstat (limited to 'src/main.nim')
-rw-r--r--src/main.nim4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main.nim b/src/main.nim
index ef8bdbbb..ef2ffb08 100644
--- a/src/main.nim
+++ b/src/main.nim
@@ -1,5 +1,9 @@
 import version
 
+# workaround for clang 16
+when defined(clang):
+  {.passC:"-Wno-error=incompatible-function-pointer-types".}
+
 import server/forkserver
 let forks = newForkServer()