From a9bc6779e1010572e1def98379cb3693e55b8a4f Mon Sep 17 00:00:00 2001 From: Juan M Gómez Date: Mon, 16 Oct 2023 14:36:39 +0100 Subject: the compiler can be compiled with vcc (#22832) --- lib/pure/bitops.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/pure/bitops.nim') 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: "".} template vcc_scan_impl(fnc: untyped; v: untyped): int = - var index: culong + var index {.inject.}: culong = 0 discard fnc(index.addr, v) index.int -- cgit 1.4.1-2-gfad0