On Thursday, 6 July 2023 at 22:44:27 UTC, Alexibu wrote:


I just encountered this problem in recently released debian bookworm (gdc 12.2.0), I was able to fix these undefined lambdas inside std library with -fall-instantiations, and a bunch of other undefined lambdas in my own code by changing template arguments of the form
alias e = (a => a)
to a separate definition
auto (T)default_e(T a)
{
   return a;
}
and
alias e = default_e


Using GDC may require rewrite?

I have thought GDC use the same front-end as DMD & LDC?

Reply via email to