[Issue 20982] Add a pragma to suppress deprecation messages

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Jun 27 07:16:55 UTC 2020


https://issues.dlang.org/show_bug.cgi?id=20982

Mike Parker <aldacron at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |aldacron at gmail.com

--- Comment #3 from Mike Parker <aldacron at gmail.com> ---
I like:

pragma(mute, deprecation)
// blah
pragma(unmute, deprecation)

This could then be generalized to apply to other specific warnings in future if
the need arises.

--


More information about the Digitalmars-d-bugs mailing list