Bug 10321 – "warnings as errors" switch documentation removal
Status
RESOLVED
Resolution
DUPLICATE
Severity
enhancement
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2013-06-10T04:54:00Z
Last change time
2013-06-29T16:31:42Z
Assigned to
nobody
Creator
bearophile_hugs
Comments
Comment #0 by bearophile_hugs — 2013-06-10T04:54:05Z
I suggest to remove this line from the list of the dmd compiler switches:
-w warnings as errors (compilation will halt)
(I am not yet suggesting to remove that switch, I am just suggesting to remove it from the list of switches shown to the dmd user. The actual removal is for later).
(My preferred D compiler design is to have "warnings as messages" active on default and have a switch to disable them on request. Because lot of people don't read warnings. Giving "warnings as messages" on default is better.)
Comment #1 by bearophile_hugs — 2013-06-29T16:31:42Z
See also Issue 10147
*** This issue has been marked as a duplicate of issue 10147 ***