Created attachment 1611
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.
Comment #1 by cauterite — 2016-08-23T20:11:01Z
(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
Comment #2 by lodovico — 2016-08-23T20:15:50Z
[SEMI-OT]
By the way, you shouldn't be using a RangeLexer when your input is a string. A SliceLexer will be much faster. If you don't want to choose manually, chooseLexer!myInputType will instantiate the best available lexer for your input type.
Comment #3 by niklas.volcz — 2016-08-23T20:35:55Z
(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
"