Skip to content

Commit a04a5d2

Browse files
1 parent 5330175 commit a04a5d2

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

examples/config.nims

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,3 +52,7 @@ when defined(coverage):
5252
# in config.nims does not produce an equivalent binary, though manually passing
5353
# the same `--define/-d:strip` as an option to `nim c` on the command-line does
5454
# produce an equivalent binary
55+
56+
# https://discourse.llvm.org/t/clang-16-notice-of-potentially-breaking-changes/65562
57+
when getEnv("MSYSTEM") == "CLANG64":
58+
--passC:"-Wno-error=incompatible-function-pointer-types"

tests/config.nims

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,3 +52,7 @@ when defined(coverage):
5252
# in config.nims does not produce an equivalent binary, though manually passing
5353
# the same `--define/-d:strip` as an option to `nim c` on the command-line does
5454
# produce an equivalent binary
55+
56+
# https://discourse.llvm.org/t/clang-16-notice-of-potentially-breaking-changes/65562
57+
when getEnv("MSYSTEM") == "CLANG64":
58+
--passC:"-Wno-error=incompatible-function-pointer-types"

0 commit comments

Comments
 (0)