c2v icon indicating copy to clipboard operation
c2v copied to clipboard

Cannot translate v.c

Open MohammadMD1383 opened this issue 3 years ago • 0 comments

I downloaded v.c from vc repo and then: v translate v.c

getting the following output:

C to V translator 0.3.1
  translating v.c             ... V panic: 2352798600 cast to int results in -1942168696)
v hash: a75a12e
/tmp/v_1000/../../../../../../path/to/vlang/vlib/builtin/builtin.c.v:104: at _v_panic: Backtrace
/tmp/v_1000/../../../../../../path/to/.vmodules/c2v/c2v.v:1983: by main__C2V_translate_file
/tmp/v_1000/../../../../../../path/to/.vmodules/c2v/c2v.v:1940: by main__main
/tmp/v_1000/../../../../../../tmp/v_1000/c2v.tmp.c:17592: by main
C2V command: '/path/to/.vmodules/c2v/c2v' 'v.c'
C2V failed to translate the C files. Please report it via GitHub.

MohammadMD1383 avatar Sep 11 '22 03:09 MohammadMD1383