Re: Output predefined versions

2020-03-25 Thread Dan Cirnat via Digitalmars-d-learn

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!


Re: Output predefined versions

2020-03-25 Thread kinke via Digitalmars-d-learn

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`.


Output predefined versions

2020-03-25 Thread Dan Cirnat via Digitalmars-d-learn

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