list all debug / version identifiers during compile time
Tolga Cakiroglu
tcak at pcak.com
Sun Mar 2 11:01:15 PST 2014
On Sunday, 2 March 2014 at 17:29:27 UTC, Øivind wrote:
> Is there a way to list all debug / version identifiers currently
> in effect using e.g. traits?
>
> Would be useful in order to validate, from the program itself,
> that the parameters (version/debug) it is built with actually
> match the parameters it implements.
For every "version" defined part, you can use `pragma(msg,
"Version ID");` which will print that message for active version
parts for you.
More information about the Digitalmars-d
mailing list