www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 13292] New: DMD accepts both -m32 and -m64

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 puremagic.com
          Reporter: maxim-fomin 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.

--
Aug 13 2014