Thread overview | |||||
---|---|---|---|---|---|
|
March 25, 2020 Output predefined versions | ||||
---|---|---|---|---|
| ||||
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 Re: Output predefined versions | ||||
---|---|---|---|---|
| ||||
Posted in reply to Dan Cirnat | 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 Re: Output predefined versions | ||||
---|---|---|---|---|
| ||||
Posted in reply to kinke | 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!
|
Copyright © 1999-2021 by the D Language Foundation