www.digitalmars.com         C & C++   DMDScript  

D.gnu - Function Specific Option Pragmas

reply "Ilya Yaroshenko" <ilyayaroshenko gmail.com> writes:
Hello,

http://forum.dlang.org/thread/vaifcgxtcmlxcxrjkghz forum.dlang.org#post-racgwaeruajvlpwiuoon:40forum.dlang.org

Has GDC "Function Specific Option Pragmas"?

Best regards,
Ilya
Aug 17 2013
parent Iain Buclaw <ibuclaw ubuntu.com> writes:
On 18 August 2013 06:11, Ilya Yaroshenko <ilyayaroshenko gmail.com> wrote:
 Hello,

 http://forum.dlang.org/thread/vaifcgxtcmlxcxrjkghz forum.dlang.org#post-racgwaeruajvlpwiuoon:40forum.dlang.org

 Has GDC "Function Specific Option Pragmas"?

 Best regards,
 Ilya

Hi Ilya, Currently GDC only supports "target" attributes in that list. eg: import gcc.attribute; attribute("target", "sse4") void main() { /* ... */ } Regards, -- Iain Buclaw *(p < e ? p++ : p) = (c & 0x0f) + '0';
Aug 18 2013