[dmd-internals] Errors emitted by the optimizer and the as-if rule

David Nadlinger code at klickverbot.at
Mon Aug 20 11:50:10 PDT 2012

On Mon, Aug 20, 2012 at 8:33 PM, Jonathan M Davis <jmdavisProg at gmx.com> wrote:
> Because of -w, there is essentially zero difference between a warning and an
> error except whether everyone sees it or not.

This is not true, see your favorite C compiler's "warnings-as-errors"
switch. Warnings are precisely intended for cases where the code is
legal, but likely to be wrong or error-prone.


More information about the dmd-internals mailing list