Hi,
I've an online judge system where i take the source code submitted
by an user and compile it to an executable and then run it against a
predetermined input to produce an output which is checked against a
predetermined output. This determines the results as Correct, Wrong or
Compile error.
The languages are C,C++,java.
Please suggest solutions for the below problems
1) How to tell gcc to stop after the first error. I use both gcc
4.2 and gcc 3.4. I tried -Wfatal-error and -Wfatal-error it says
unrecognized option.