On Friday, 3 April 2015 at 13:37:50 UTC, Rikki Cattermole wrote:
On 4/04/2015 2:12 a.m., Jens Bauer wrote:
Is there a way of setting the target section for a variable or an array ?

Supposedly gdc supports it.

[0] http://wiki.dlang.org/GDC/Using_GDC Extensions->Attributes
[1] https://gcc.gnu.org/onlinedocs/gcc/Variable-Attributes.html#Variable-Attributes

I tried to use some of the examples, but I got the following error:

src/start.d:7:10: error: module attribute is in file 'gcc/attribute.d' which cannot be read
   import gcc.attribute;
          ^

-Am I missing some files somewhere ?

Reply via email to