On Sunday, 12 March 2017 at 18:46:14 UTC, fantom wrote:
Can anybody explain me what is wrong? Thanks

easy fix is to likely make it a `static struct` even if nested. That will remove access to local variables of the function but should compile.

The reason is that access to those local variables needs a hidden pointer that won't be initialized properly without the right construction.

Reply via email to