D to Javascript converter (a hacked up dmd)

Daniel Murphy yebblies at nospamgmail.com
Sat Mar 3 05:26:50 PST 2012


"Jacob Carlborg" <doob at me.com> wrote in message 
news:jit2r7$rlu$2 at digitalmars.com...
>> I thought unrecognized pragmas were supposed to just be ignored? (Or 
>> maybe I
>> have it backwards?)
>>
>>
>
> No, they're not:
>
> "Compilers must diagnose an error for unrecognized Pragmas, even if they 
> are vendor specific ones. This implies that vendor specific pragmas should 
> be wrapped in version statements".
>
> http://dlang.org/pragma.html
>
> -- 
> /Jacob Carlborg

There's a switch to ignore them. 




More information about the Digitalmars-d-announce mailing list