diff options
author | bptato <nincsnevem662@gmail.com> | 2023-10-05 01:23:44 +0200 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2023-10-05 01:26:24 +0200 |
commit | 62b74c4d2e7410b4cc39ee4973e369c74c2407ea (patch) | |
tree | aa0e8c40c405088837c4e6575033b09b77f88101 | |
parent | 561cd7aa3996cec2b79572100f3ff8e71da6d388 (diff) | |
download | chawan-62b74c4d2e7410b4cc39ee4973e369c74c2407ea.tar.gz |
Workaround for clang 16
Needed to get Chawan to compile on FreeBSD... (clang 16 makes passing incompatible pointer types an error, but that breaks our C bindings.)
-rw-r--r-- | nim.cfg | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/nim.cfg b/nim.cfg index f193dee6..df248c83 100644 --- a/nim.cfg +++ b/nim.cfg @@ -7,3 +7,5 @@ --experimental:"overloadableEnums" --warning:Effect:off --mm:refc +# workaround for clang 16 +--passC:"-Wno-error=incompatible-function-pointer-types" |