On 6/11/13, Walter Bright <[email protected]> wrote:
>
> http://ftp.digitalmars.com/dmd2beta.zip
> _______________________________________________
> dmd-beta mailing list
> [email protected]
> 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.
_______________________________________________
dmd-beta mailing list
[email protected]
http://lists.puremagic.com/mailman/listinfo/dmd-beta

Reply via email to