[Issue 18126] New: [internal] Reduce number of turned off warnings.

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Dec 25 11:57:50 UTC 2017


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

          Issue ID: 18126
           Summary: [internal] Reduce number of turned off warnings.
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: ibuclaw at gdcproject.org

This is one proposed list of warnings to build with (matches gdc).

-Wall
-Werror    # disabled by default and controlled by ENABLE_WERROR
-Wno-narrowing
-Wwrite-strings
-Wcast-qual
-Wformat   # disabled by default and controlled by ENABLE_WFORMAT
-Wmissing-format-attribute
-Woverloaded-virtual
-pedantic
-Wno-long-long
-Wno-variadic-macros
-Wno-overlength-strings


Primary target should be the C++ front-end branch, but could also be done on
master for the remaining C++ sources.

--


More information about the Digitalmars-d-bugs mailing list