digitalmars.D.bugs - [Issue 2824] New: -w switch breaks compilation
- d-bugmail puremagic.com (21/21) Apr 09 2009 http://d.puremagic.com/issues/show_bug.cgi?id=2824
- d-bugmail puremagic.com (13/13) Feb 21 2010 http://d.puremagic.com/issues/show_bug.cgi?id=2824
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 digitalmars.com ReportedBy: maxmo 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 --- --
Apr 09 2009
http://d.puremagic.com/issues/show_bug.cgi?id=2824 Don <clugdbug yahoo.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |clugdbug yahoo.com.au Resolution| |FIXED Fixed in 2.031: now it (correctly) fails to compile regardless of whether -w is used. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Feb 21 2010