Thread overview | |||||||
---|---|---|---|---|---|---|---|
|
August 23, 2016 [Issue 16421] DMD hides linker error when enabling warnings | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=16421 Cauterite <cauterite@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |cauterite@gmail.com --- Comment #1 from Cauterite <cauterite@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 -- |
August 23, 2016 [Issue 16421] DMD hides linker error when enabling warnings | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=16421 Lodovico Giaretta <lodovico@giaretart.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lodovico@giaretart.net --- Comment #2 from Lodovico Giaretta <lodovico@giaretart.net> --- [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. -- |
August 23, 2016 [Issue 16421] DMD hides linker error when enabling warnings | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=16421 --- Comment #3 from niklas.volcz@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 " -- |
August 23, 2016 [Issue 16421] DMD hides linker error when enabling warnings | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=16421 Cauterite <cauterite@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |INVALID -- |
August 24, 2016 [Issue 16421] DMD hides linker error when enabling warnings | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=16421 --- Comment #4 from niklas.volcz@gmail.com --- Submitted PR for the man page error: https://github.com/dlang/dmd/pull/6079 -- |
Copyright © 1999-2021 by the D Language Foundation