Disable warnings per import
    Aleksandar Ruzicic 
    aleksandar at ruzicic.info
       
    Fri Jan 24 05:53:30 PST 2014
    
    
  
On Friday, 24 January 2014 at 13:38:17 UTC, Martin Cejp wrote:
> Is this possible? I'm importing some older library code
> (Derelict2) and the compiler gives me a lot of deprecation
> warnings every time. Can I somehow disable those?
> Note that the library is pre-compiled as lib*.a, the project 
> just
> imports it for the declarations.
You can use -d switch with DMD, which will silently allow
deprecated features.
    
    
More information about the Digitalmars-d
mailing list