That one last frontend feature to obsolete rebuild

BCS BCS at pathlink.com
Thu Mar 13 12:36:13 PDT 2008


Bill Baxter wrote:
> Gregor Richards wrote:
> 
>> I don't quite agree, because IMHO dying on unrecognized pragmas is a 
>> good thing. e.g. I use some GCC property, then compile with DMD, and 
>> maybe I have to do something special since that pragma is unsupported. 
>> I'd rather have it tell me so I can go "d'oh! Needs version (GNU)" 
>> than just silently ignore it.
> 
> 
> I see.  I thought they were just ignored currently.
> Now I understand why you require the version(build) around it.
> 
> --bb

how about a -pragma-print-ignore=foobar that would print out but 
otherwise ignore pragma(foobar, ...)



More information about the Digitalmars-d mailing list