diff --git a/nimutils/nimscript.nim b/nimutils/nimscript.nim index adeb23c..77ffe64 100644 --- a/nimutils/nimscript.nim +++ b/nimutils/nimscript.nim @@ -70,6 +70,10 @@ template applyCommonLinkOptions*(staticLink = true, quiet = true) = switch("path", ".") switch("d", "useOpenSSL3") switch("cincludes", getEnv("HOME").joinPath("/.local/c0/include")) + # Disable some errors for Clang 15+ and GCC 14+. + switch("passC", "-Wno-error=int-conversion") + switch("passC", "-Wno-error=implicit-function-declaration") + switch("passC", "-Wno-error=incompatible-pointer-types") setupTargetArch(quiet)