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.
Thread overview |
---|
January 15 Getting LDC version programmatically | ||||
---|---|---|---|---|
| ||||
January 15 Re: Getting LDC version programmatically | ||||
---|---|---|---|---|
| ||||
Posted in reply to torhu | On Sunday, 15 January 2023 at 07:21:50 UTC, torhu wrote: >Is there a way of getting the real LDC version number? LDC_VERSION probably what you want |
January 15 Re: Getting LDC version programmatically | ||||
---|---|---|---|---|
| ||||
Posted in reply to Sergey | On Sunday, 15 January 2023 at 09:53:41 UTC, Sergey wrote: >On Sunday, 15 January 2023 at 07:21:50 UTC, torhu wrote: >Is there a way of getting the real LDC version number? LDC_VERSION probably what you want How would I access that definition? |
January 15 Re: Getting LDC version programmatically | ||||
---|---|---|---|---|
| ||||
Posted in reply to torhu | On Sunday, 15 January 2023 at 07:21:50 UTC, torhu wrote: >Is there a way of getting the real LDC version number? D compilers don't expose their version, only the major+minor frontend version ('D version') as |