www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - How can I make DMD stop on the first fatal error? (-Wfatal-errors)

reply Marcone <marcone email.com> writes:
How can I make DMD stop on the first fatal error like 
-Wfatal-errors on C++?
Jul 07 2020
parent Jacob Carlborg <doob me.com> writes:
On Wednesday, 8 July 2020 at 00:54:40 UTC, Marcone wrote:
 How can I make DMD stop on the first fatal error like 
 -Wfatal-errors on C++?
With the `-verrors=1` flag. You can specify exactly how many errors the compiler should emit before halting the compilation. Specify `0` for unlimited. -- /Jacob Carlborg
Jul 07 2020