0

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?

Community
  • 1
  • 1
Jon
  • 5,275
  • 5
  • 39
  • 51

1 Answers1

2

Hit the stop button.

Or, apparently, you can setup it up to stop automatically: http://www.ehow.com/how_5025041_automatically-visual-studio-build-error.html

Kevin Crowell
  • 10,082
  • 4
  • 35
  • 51
  • Hitting the stop button is not ideal as it doesn't always take effect instantly. I tried the macro in your link; it's an improvement but still compiles a whole project so it still wastes time. A macro by "ericmuyser" in the link works quite well, the only issue is the flickering it causes in the output window as it selects and deselects. – Jon Mar 25 '10 at 00:57