[Issue 16421] DMD hides linker error when enabling warnings

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


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

--- Comment #3 from niklas.volcz at gmail.com ---
(In reply to Cauterite from comment #1)
> (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

DERP!
I was reading the man page for the fedora package:
"
    -w     Enable warnings
"

--


More information about the Digitalmars-d-bugs mailing list