For example, a missing semi-colon in C++ can result in hundreds of errors. Is there a way to stop compiling when the first error is hit?
Update: apologies, just realized this was a duplicate of Automatically stop Visual C++ 2008 build at first compile error?