On Monday, 26 April 2021 at 15:54:36 UTC, Adam D. Ruppe wrote:
Do you have a separate object.d in your current directory? That
can cause all kinds of weird errors.
Otherwise I suspect this is a conflict between two versions of
the compiler. If you had one installed before then updated it
or maybe if visual d installed a different one, this could be a
problem. So either some old files were left behind or there's
two copies installed and VS is running one but pointing at the
other. Or something.
The noreturn thing is relatively new making me think this might
be the case.
The compiler and stdlib are ridiculously tightly coupled so any
version mismatch can cause trouble.
just guessing though.
Actually, you were right. I was about to write that updating
Visual D to the latest version worked.
I'm sorry for this silly thread.
Thank you all for your help and suggestions.