Getting LDC version programmatically
kinke
noone at nowhere.com
Sun Jan 15 11:16:01 UTC 2023
On Sunday, 15 January 2023 at 07:21:50 UTC, torhu wrote:
> Is there a way of getting the real LDC version number?
> `__VERSION__` is the corresponding DMD version even with LDC.
> Which also is useful, but not what I was looking for in this
> case.
D compilers don't expose their version, only the major+minor
frontend version ('D version') as `__VERSION__`. The LDC minor
version can be derived from that.
More information about the digitalmars-d-ldc
mailing list