www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 17737] New: Empty of -e option for MSVC

https://issues.dlang.org/show_bug.cgi?id=17737

          Issue ID: 17737
           Summary: Empty of -e option for MSVC
           Product: D
           Version: D2
          Hardware: All
                OS: Windows
            Status: NEW
          Severity: trivial
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: daewon4you gmail.com

The -e is thought to be transformed to /E or /EP in MSVC, but it seems the
command option is not processed
properly.(https://github.com/dlang/dmd/blob/master/src/vcbuild/msvc-dmc.d)

Is it deliberately omitted? or should be added as follows?


<code>
case "-e": // "show results of preprocessor"
    newArgs ~= "/E";
    break;
</code>

--
Aug 10 2017