How to Declare a new pragma ?

ketmar via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sun Dec 21 09:04:34 PST 2014


On Sun, 21 Dec 2014 16:42:45 +0000
FrankLike via Digitalmars-d-learn <digitalmars-d-learn at puremagic.com>
wrote:

> I want to get that :  pragma(link, "SUBSYSTEM WINDOWS,4.0");
> 
> But get error:pragma link unrecognized pragma(link)?
> How can I to do?
> 
> Thank you.
you have to patch the compiler to recognize your new pragma and do
something with it. you can't do this from your D code.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.puremagic.com/pipermail/digitalmars-d-learn/attachments/20141221/5b105155/attachment.sig>


More information about the Digitalmars-d-learn mailing list