Bug 18126 – [internal] Reduce number of turned off warnings.
Status
RESOLVED
Resolution
FIXED
Severity
enhancement
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2017-12-25T11:57:50Z
Last change time
2018-03-11T17:17:20Z
Keywords
C++
Assigned to
No Owner
Creator
Iain Buclaw
Comments
Comment #0 by ibuclaw — 2017-12-25T11:57:50Z
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.