Query for -dip1000

Seb seb at wilzba.ch
Mon Feb 11 10:23:25 UTC 2019


On Monday, 11 February 2019 at 09:29:13 UTC, Jonathan M Davis 
wrote:
> On Sunday, February 10, 2019 1:04:29 PM MST Per Nordlöw via 
> Digitalmars-d- learn wrote:
>> [...]
>
> A quick grep of Phobos shows a version(DIP1000) block in 
> std/typecons.d, which appears to be used to make it so that a 
> particular unittest block is only compiled in when -dip1000 is 
> used,  so it looks like there's a version identifier for it.
>
> - Jonathan M Davis

That one has been added manually:

https://github.com/dlang/phobos/blob/master/dip1000.mak

The detection would have been better...


More information about the Digitalmars-d-learn mailing list