Template depth switch?

Kai Nacke kai at redstar.de
Thu Jan 16 07:14:27 PST 2014


Hi bearophile!

On Thursday, 16 January 2014 at 12:47:58 UTC, bearophile wrote:
> I am seeing an "recursive expansion" error generated by ldc2 on 
> some D code. Do you know how to extend the max number of 
> recursive calls, as with the -ftemplate-depth= switch of GCC?
>
> Bye and thank you,
> bearophile

There is no switch - the limit is hardcoded in the frontend 
source.
Does the source compile with dmd?

Regards,
Kai


More information about the digitalmars-d-ldc mailing list