How to get compiler name and version from D code?

Kirill kirill.saidov.d at yahoo.com
Fri Jul 29 09:29:47 UTC 2022


I'd like to get the compiler name and version from within the D 
code automatically so my binary can output the following:

```
Built with COMPILER_NAME COMPILER_VERSION
```

It is possible?


More information about the Digitalmars-d mailing list