[Issue 9744] shared and __gshared variables can have their address taken at compile time

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Mar 18 03:09:03 PDT 2013


http://d.puremagic.com/issues/show_bug.cgi?id=9744



--- Comment #1 from Don <clugdbug at yahoo.com.au> 2013-03-18 03:09:01 PDT ---
Or perhaps the correct behaviour would be to allow shared and __gshared to have
their address taken in all cases (including CTFE), and to generate an error
"cannot take the address of a thread-local variable at compile time" for static
variables.

Currently, the error is generated in the glue layer, which is wrong.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list