What is the equivalent of -version=Flag for conditional compilation in the ldc2 compiler?

data pulverizer data.pulverizer at gmail.com
Fri Jun 5 22:44:47 UTC 2020


On Friday, 5 June 2020 at 22:39:23 UTC, Steven Schveighoffer 
wrote:
> It's in there, I had to do grep to find it:
>
>   --d-version=<level/idents>             - Compile in version 
> code >= <level> or identified by <idents>
>
> -Steve

Thanks, I tried that but didn't realise I still had the old 
version flag in the command line and assumed it didn't work! Lol 
- silly!


More information about the Digitalmars-d-learn mailing list