Console compiler: exit with error status for serious warnings
Console compiler: exit with error status for serious warnings
Issue #1373
Why not add a command-line option to suppress this new exit status behavior, which could then be used when building libraries that deliberately induce serious warnings (such as the common-dylan-test-suite)?
I was planning to add that flag in a later commit (please comment on the bug if you have preferences for what it should look like).
I would like to be able to detect new serious warnings in the test suite and Open Dylan code, which is why I prefer to comment out those two tests. I could make the exit code be the total number of serious warnings (maxing out at 127, I guess, if that's a shell limitation...127 should be enough serious warnings for anyone) and then callers who expect non-zero could compare with that?