diff options
author | Juan M Gómez <info@jmgomez.me> | 2023-10-16 14:36:39 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-16 15:36:39 +0200 |
commit | a9bc6779e1010572e1def98379cb3693e55b8a4f (patch) | |
tree | 5878cc18e6260fcb9e8060c92be63e5accc26810 /lib | |
parent | 078495c79324d3d4e1b14aedc6b4a4d241b007c0 (diff) | |
download | Nim-a9bc6779e1010572e1def98379cb3693e55b8a4f.tar.gz |
the compiler can be compiled with vcc (#22832)
Diffstat (limited to 'lib')
-rw-r--r-- | lib/pure/bitops.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pure/bitops.nim b/lib/pure/bitops.nim index 005c7fa8f..e442557ef 100644 --- a/lib/pure/bitops.nim +++ b/lib/pure/bitops.nim @@ -463,7 +463,7 @@ elif useVCC_builtins: importc: "_BitScanForward64", header: "<intrin.h>".} template vcc_scan_impl(fnc: untyped; v: untyped): int = - var index: culong + var index {.inject.}: culong = 0 discard fnc(index.addr, v) index.int |