pragma attribute syntax

Artur Skawina art.08.09 at
Mon Jun 4 11:49:25 PDT 2012

Would it be possible to allow give the gcc attribute as a string?
So that it would be possible to express 'pragma(attribute, align(8))' etc

Because right now you can not do this:

   pragma(attribute, pure)
   pragma(attribute, const)

And I just realized that i need these attributes. :)

Something like

   pragma(attribute, gcc("pure"))



More information about the D.gnu mailing list