On 12/9/16, 1:08 PM, "Christofer Dutz" <christofer.d...@c-ware.de> wrote:
>I just comitted a fix that doesn’t make the build fail on a return code >of 2 (Didn’t know that 2 was also ok) I think 2 means that there were warnings but no errors. That gives folks the option of failing on warnings if they do have a "no warnings" policy. In Ant, I use a Fail ant task to check for and allow both values. Someone can not do that and just fail on any non-zero which would fail if there were warnings. I don't know why the compilers do that. Maybe they should have an option instead. I think Java compiler has it as an option. Thanks, -Alex