D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 10321 - "warnings as errors" switch documentation removal
Summary: "warnings as errors" switch documentation removal
Status: RESOLVED DUPLICATE of issue 10147
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D2
Hardware: All All
: P2 enhancement
Assignee: No Owner
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-10 04:54 UTC by bearophile_hugs
Modified: 2013-06-29 16:31 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description bearophile_hugs 2013-06-10 04:54:05 UTC
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 bearophile_hugs 2013-06-29 16:31:42 UTC
See also Issue 10147

*** This issue has been marked as a duplicate of issue 10147 ***