[Issue 13292] New: DMD accepts both -m32 and -m64

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Wed Aug 13 23:18:28 PDT 2014


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

          Issue ID: 13292
           Summary: DMD accepts both -m32 and -m64
           Product: D
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: DMD
          Assignee: nobody at puremagic.com
          Reporter: maxim-fomin at outlook.com

It seems that dmd silently accepts simultaneously -m32 and -m64 and generates
code according to last option. 

void main() {}

With -m32 -m64 it produces x64 and with -m64 -m32 it produces x86. It either
should issue a warning or error.

--


More information about the Digitalmars-d-bugs mailing list