[Issue 5490] New: DMDFE: Slim down warnings generated by GCC

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Jan 26 09:05:30 PST 2011


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

           Summary: DMDFE: Slim down warnings generated by GCC
           Product: D
           Version: D1 & D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: ibuclaw at ubuntu.com


--- Comment #0 from Iain Buclaw <ibuclaw at ubuntu.com> 2011-01-26 09:03:22 PST ---
When building DMDFE with warnings enabled (-W -Wall -Wcast-qual), there are
literally thousands of messages emitted (most notably seen when building GDC).

Putting default statements at the end of switches cuts the amount down by at
least 3 quarters.

See patch against the 1.066 release.

Regards

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list