__VERSION__ and the different compilers

Andrej Mitrovic via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Jul 9 03:31:05 PDT 2014


On 7/9/14, Mike Parker via Digitalmars-d-learn
<digitalmars-d-learn at puremagic.com> wrote:
> Is it safe to assume that __VERSION__ is the same among DMD, LDC and GDC
> when using the equivalent front-end?

Yes, but not all future compilers might implement this (although I
hope they will). I think there's also __VENDOR__ IIRC.


More information about the Digitalmars-d-learn mailing list