treeform/windy

Nim 2.0.0 error

Opened this issue · 4 comments

LokeX commented

.nimble\pkgs\windy-0.0.0\windy\platforms\win32\platform.nim(872, 17) Error: cannot convert 513 to range 0..255(int)

Works fine with ver. 1.6.10

LokeX commented

I fixed the issue by applying .UINT to WM_LBUTTONDOWN

but it runs much slower in Nim 2 - ver. 1.6.10 runs as it should - weird...

LokeX commented

I compiled with -d:release and now it runs at "normal" speed...

Any ideas why?

I am running Windy on Nim 2.0.0 now and I don't see this error?

LokeX commented

It has been reported before in now closed issue #101: win32/platform.nim compile error #101
This fix had not been applied to the update I received 2 days ago...

I had a really severe slowdown compiling with Nim 2.0.0 without -d:release, that really "bugs" me - if you get my drift...
I use Windy, Pixie and Boxy
I love these libraries, and my investment in them makes me concerned - but I know it comes with the territory.