DMD Compiler 'switches'
    ric maicle via Digitalmars-d-learn 
    digitalmars-d-learn at puremagic.com
       
    Mon Oct 12 08:38:25 PDT 2015
    
    
  
I'm relearning D. I'm using the reference compiler (DMD) and I am a bit 
confused with how the compiler 'switches' are supposed to be used.
I find some 'switches' that require an equal (=) symbol when a value is 
required to be passed in.
-boundscheck=[on|safeonly|off]
-color[=on|off]
-conf=path
-debug
-debug=level
-debug=ident
But there are also 'switches' requiring a value that do not require/use 
the equal (=) symbol.
-Dddocdir
-Dffilename
-odobjdir
-offilename
I'm wondering if this small irregularity should be made consistent or 
maybe I misunderstood something.
    
    
More information about the Digitalmars-d-learn
mailing list