I'm back with good results.

First of all, thank you all very much! You really helped a lot.

I combined the suggestion given to me, then debugged the crap out of the 
program and now it runs as it should!

Comparing Nim 1.5.1 a.k.a. current development version of Nim to Nim 1.4.8 
a.k.a. current stable version of Nim is like comparing night and day. Not sure, 
if there was actually a compiler bug relevant to this thread's issue, but as 
soon as I switched to the newest devel version, some errors already went away. 
Then, I got indeed a warning for a single implicit conversion to `cstring`. I 
fixed that, then fixed the casting around with it and most issues were fixed. 
The other issues became a piece of cake, once this big issue was resolved.

As @Stefan_Salewski suggested, I initially added the compiler switches 
`--gc:arc -d:useMalloc` to the process and that indeed helped in finding the 
`cstring` issue mentioned above.

After all that, I decided to stay with `--gc:arc` and so far it doesn't seem to 
create any issues, that I could notice.

Well, I cannot thank you enough!

I am loving Nim and its community more every single day!

THANK YOU!

Reply via email to