[Issue 23423] Feature Request: version(D_DebugInfo)
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Nov 11 14:09:23 UTC 2022
https://issues.dlang.org/show_bug.cgi?id=23423
apham <apz28 at hotmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |apz28 at hotmail.com
--- Comment #5 from apham <apz28 at hotmail.com> ---
Why D don't create corresponding versions for all simple flags?
Some sample flags
DMD -g -debug -inline
will have following defined versions, Dflag can be shorten to Df
Dflag_g Dflag_debug Dflag_inline
so usage is
version(Dflag_g)
version(Dflag_debug)
version(Dflag_inline)
--
More information about the Digitalmars-d-bugs
mailing list