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

Jacob Carlborg doob at me.com
Wed Jul 8 06:54:33 UTC 2020


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


More information about the Digitalmars-d-learn mailing list