[Issue 18308] __VERSION__ insufficient; should also have __VERSION_MINOR__ and __VERSION_PATCH__ (eg 2.078.1)

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Feb 2 03:45:07 UTC 2018


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

Seb <greensunny12 at gmail.com> changed:

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

--- Comment #2 from Seb <greensunny12 at gmail.com> ---
There's std.compiler: https://dlang.org/phobos/std_compiler.html
e.g. https://run.dlang.io/is/IJUmFt

Patch releases should only fix bugs, so the only the latest should be
considered for developers (though yep, that's not exposed atm).
Also we are about to to switch to SemVer soon, so we should be careful to jump
into anything at the moment:

https://forum.dlang.org/post/drcekmxvfszpwifbukzk@forum.dlang.org

> also, how do we get __VERSION_LDC__ ? eg for ldc 1.7.0 ?

That's something you will need to ask the LDC people.

--


More information about the Digitalmars-d-bugs mailing list