[Issue 2824] New: -w switch breaks compilation

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Apr 9 05:51:05 PDT 2009


http://d.puremagic.com/issues/show_bug.cgi?id=2824

           Summary: -w switch breaks compilation
           Product: D
           Version: 2.027
          Platform: PC
               URL: http://www.digitalmars.com/webnews/newsgroups.php?art_gr
                    oup=digitalmars.D.learn&article_id=16107
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla at digitalmars.com
        ReportedBy: maxmo at pochta.ru


---
ushort a(ushort b) pure nothrow
  { return b<<10|b; }  //compiles

ushort a(ushort b) pure nothrow
  { return b<<10; }  //compiles only without -w switch
---


-- 



More information about the Digitalmars-d-bugs mailing list