add setting to control non zero exit code warnings

For project 2 I can understand that if the compiler is not exiting with 0 then there is really something wrong going on, but for project 1 many of the test cases are designed so that they should not compile.

It's a bit annoying to be getting tons of warnings for this when I'm fully expecting it to happen.

PS: Thanks for the cool software :+1: :)