Mirror of
forum.nim-lang.org
index
187 :: Strange compiler error
[2013-07-30T04:12:38+02:00]
View Orginal
shr
(orginal)
[2013-07-30T04:12:38+02:00]
view original
Couldn't render post #911.
gradha
(orginal)
[2013-07-30T09:28:41+02:00]
view original
FWIW the snippet compiles fine with git version 2013-07-23.
Araq
(orginal)
[2013-07-30T09:56:53+02:00]
view original
There is nothing strange about this bug: The C backend merges type definitions. In your case it merged it with
C_JmpBuf {.importc: "jmp_buf", header: "<setjmp.h>".} = array[0..31, int]
from
system/ansi_c.nim
. :roll:
shr
(orginal)
[2013-07-31T20:33:53+02:00]
view original
Yes, fair enough, and it's easy enough to avoid by increasing the size of the array declaration.
Araq
(orginal)
[2013-08-01T00:18:49+02:00]
view original
Should be fixed now. Make a proper bug report the next time please.
shr
(orginal)
[2013-08-02T03:23:11+02:00]
view original
Thanks, confirmed. Sorry about not filing a bug report, though.