Version block "conditions" with logical operators

Joakim via Digitalmars-d digitalmars-d at puremagic.com
Fri May 13 01:57:22 PDT 2016


On Thursday, 12 May 2016 at 01:58:33 UTC, Walter Bright wrote:
> On 5/11/2016 6:52 PM, Joakim wrote:
>> That example is misleading, as that was translated from C++ 
>> and the host half of
>> it was removed a couple months ago:
>>
>> https://github.com/dlang/dmd/pull/5549/files
>>
>> I'll submit a PR for the rest: I'm sick of this argument that 
>> "ddmd is using
>> static if, so why shouldn't I?"
>
> Please do. That code is an abomination.

I'm trying, but Daniel seems against it, care to chip in?

https://github.com/dlang/dmd/pull/5772

Specifically, do you want the changes in that PR?  If so, do you 
prefer the use of TARGET_POSIX as a runtime variable or listing 
each TARGET_OS separately?


More information about the Digitalmars-d mailing list