Closed shayanhabibi closed 3 years ago
Related: https://github.com/nim-lang/Nim/issues/18410
C++ backend can be fixed using -std=gnu++17
I'll push a fix after https://github.com/nim-lang/Nim/pull/18836 is merged or solved.
This is not fixed, or at least it's not tested (this test also does not run for c++ at all). -std=gnu++17
does not seem to fix it.
The following fails to compile with the listed error using ARC or ORC however compiles successfully on REFC
I have tagged which lines I have narrowed down to causing issues and what doesn't.
This was found while trying to use elijahrs lockfreequeue types as fields of objects.