digitalmars.D - Disable warnings per import
- Martin Cejp (5/5) Jan 24 2014 Is this possible? I'm importing some older library code
- Aleksandar Ruzicic (3/9) Jan 24 2014 You can use -d switch with DMD, which will silently allow
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.
Jan 24 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.
Jan 24 2014