Oops, I should have said that my project (a few thousand lines of nim code) already compiles without errors using --os:standalone and --gc:none.
It was only after changing to --gc:stack that I had to spend half an hour or so hacking my code around to compile successfully again. Okay, if I manage to reproduce any of these in a simple test program, I will raise them on Github. Thanks for the rapid response!
