Thread overview
[Issue 18308] __VERSION__ insufficient; should also have __VERSION_MINOR__ and __VERSION_PATCH__ (eg 2.078.1)
Jan 26, 2018
Timothee Cour
Feb 02, 2018
Timothee Cour
Feb 02, 2018
Seb
Apr 08, 2018
Basile B.
Apr 08, 2018
greenify
Apr 08, 2018
Basile B.
Mar 21, 2020
Basile-z
Dec 17, 2022
Iain Buclaw
January 26, 2018
https://issues.dlang.org/show_bug.cgi?id=18308

Timothee Cour <timothee.cour2@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |timothee.cour2@gmail.com
                 OS|Mac OS X                    |All

--
February 02, 2018
https://issues.dlang.org/show_bug.cgi?id=18308

--- Comment #1 from Timothee Cour <timothee.cour2@gmail.com> ---
actually a `__traits(version_fully_qualified)` would be preferable to avoid introducing all those keywords.

--
February 02, 2018
https://issues.dlang.org/show_bug.cgi?id=18308

Seb <greensunny12@gmail.com> changed:

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

--- Comment #2 from Seb <greensunny12@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.

--
April 08, 2018
https://issues.dlang.org/show_bug.cgi?id=18308

Basile B. <b2.temp@gmx.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |b2.temp@gmx.com
           Hardware|x86                         |All

--
April 08, 2018
https://issues.dlang.org/show_bug.cgi?id=18308

greenify <greeenify@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |greeenify@gmail.com

--- Comment #3 from greenify <greeenify@gmail.com> ---
I think we should close this as WONTFIX or invalid because std.compiler already provides this for you and there's nothing actionable for DMD in this issue.

--
April 08, 2018
https://issues.dlang.org/show_bug.cgi?id=18308

--- Comment #4 from Basile B. <b2.temp@gmx.com> ---
No this issue is valid. conditional compilation should work for testing the patch. I actually DO have a case where making te difference between 2.079 and 2.079.1 would be useful (feature limited in the release and unlimited in the patch because the patch includes a REG fix).

We have no way to do that for now.

--
March 21, 2020
https://issues.dlang.org/show_bug.cgi?id=18308

Basile-z <b2.temp@gmx.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|b2.temp@gmx.com             |

--
December 17, 2022
https://issues.dlang.org/show_bug.cgi?id=18308

Iain Buclaw <ibuclaw@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P1                          |P3

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

--- Comment #5 from dlangBugzillaToGithub <robert.schadek@posteo.de> ---
THIS ISSUE HAS BEEN MOVED TO GITHUB

https://github.com/dlang/dmd/issues/19371

DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB

--