Clang error recovery

bearophile bearophileHUGS at lycos.com
Tue Apr 6 12:34:59 PDT 2010


Robert Clipsham:

> I really don't like this option, if there needs to be an option for it 
> the compiler is doing something wrong. On posix based systems you can use:
> dmd myFileWithErrors.d |& head

GCC has that option, it's named -Wfatal-errors


> To replicate this if you want it, I don't know about windows.

I use GNU head on Windows too:
http://sourceforge.net/projects/unxutils/
A small problem with head is that the compilation goes on, and it can take some time to stop, while -Wfatal-errors stops the compiler quickly.

Bye,
bearophile



More information about the Digitalmars-d mailing list