DMD Compiler 'switches'

Ali Çehreli via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Oct 12 11:39:34 PDT 2015


On 10/12/2015 11:34 AM, Gary Willoughby wrote:
> On Monday, 12 October 2015 at 15:38:27 UTC, ric maicle wrote:
>> -Dddocdir
>> -Dffilename
>>
>> -odobjdir
>> -offilename
>>
>> I'm wondering if this small irregularity should be made consistent or
>> maybe I misunderstood something.
>
> Yeah, it is a bit confusing and should be tidied up (using the
> established deprecation path) really.

If we accept that = cannot be a part of a file name then we could 
support -D=ddocdir as well, but I checked and = can be used as part of a 
name at least on Linux. Which may explain why those switches are not 
consistent with the rest and we cannot support -D= at this point.

Ali



More information about the Digitalmars-d-learn mailing list