[dmd-beta] dmd 2.063.2 beta

Andrej Mitrovic andrej.mitrovich at gmail.com
Tue Jun 11 05:34:11 PDT 2013


On 6/11/13, Walter Bright <walter at digitalmars.com> wrote:
>
> http://ftp.digitalmars.com/dmd2beta.zip
> _______________________________________________
> dmd-beta mailing list
> dmd-beta at puremagic.com
> http://lists.puremagic.com/mailman/listinfo/dmd-beta
>

__VERSION__ seems to be problematic:
http://d.puremagic.com/issues/show_bug.cgi?id=10330

Note that some of us have used __VERSION__ to enable compiler-specific
compilation, e.g.:

static assert(__VERSION__ >= 2.063, "This library can only compile
with D 2.063 or newer");

Or:

static if (__VERSION__ < 2.063) { /* implement some compiler/library
workaround here */ }
else { /* use regular code or regular import here */ }

Unfortunately __VERSION__ was never built to be used with these
".point" releases, so maybe we should simply let __VERSION__ always be
2063 for all 2.063 point releases.


More information about the dmd-beta mailing list