D-Programming-Language/d-programming-language.org — pull request #153 by mxfm (2012-08-21 09:21:01+00:00)
Title: Obsolete warnings removal from D2 documentation

Currently warnings page mentions 4 types of warnings and first three of them seem to be obsolete
because code described in those sections leads to errors. I wrapped these sections with V1 macro,
like Walter did with warning about absence of default in switch statement. Such warnings are to
appear in D1 spec (http://digitalmars.com/d/1.0/warnings.html) and not in D2 spec (http://dlang.org/warnings.html). I did so to keep them in case they are needed in D1 (I don't know current situation
in D1). If they are not needed in D1 too, I can drop them entirely.

I also added note that -w flag disables code generation if any warning is produced. This behavior
is unexpected to those who works with C/C++ (based on recent discussion in dmd-internals thread).

This pull is related to 8537 issue.