On Monday, 4 February 2013 at 20:16:54 UTC, JDavidls wrote:
I need to initialize a global variable with a pointer to another global variable but dmd compler raises an error:

That's because a is not a global variable, it is thread local.

Try:

__gshared uint a = 5;

Reply via email to