Thread overview
Output predefined versions
Mar 25, 2020
Dan Cirnat
Mar 25, 2020
kinke
Mar 25, 2020
Dan Cirnat
March 25, 2020
Hi,

I'm debugging issues with conditionally compiled code and I'd like to know exactly which versions are predefined by my compiler (Linux LDC Aarch64)

Is there a quick way to check which ones are predefined?

[0] https://dlang.org/spec/version.html#predefined-versions


March 25, 2020
On Wednesday, 25 March 2020 at 17:22:51 UTC, Dan Cirnat wrote:
> Is there a quick way to check which ones are predefined?

Yes, just dummy-compile something with `-v` and check the line starting with `predefs`.
March 25, 2020
On Wednesday, 25 March 2020 at 17:35:07 UTC, kinke wrote:

> Yes, just dummy-compile something with `-v` and check the line starting with `predefs`.

Exactly what I need, thank you!