[Issue 16421] DMD hides linker error when enabling warnings

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Tue Aug 23 13:11:01 PDT 2016


https://issues.dlang.org/show_bug.cgi?id=16421

Cauterite <cauterite at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |cauterite at gmail.com

--- Comment #1 from Cauterite <cauterite at gmail.com> ---
(In reply to niklas.volcz from comment #0)
> Created attachment 1611 [details]
> code
> 
> When compiling the attached program using DMD with the -w flag no error
> message is printed, only one warning and one deprecation warning from the
> std.experimental.xml. DMD fails with exit code 1.

I think you misread the description:
"
  -w   warnings as errors (compilation will halt)
  -wi  warnings as messages (compilation will continue)
"

The flag you want is -wi

--


More information about the Digitalmars-d-bugs mailing list