Shell script to emulate warnings-as-errors?
- by talkaboutquality
Some compilers let you set warnings as errors, so that you'll never leave any compiler warnings behind, because if you do, the code won't build. This is a Good Thing.
Unfortunately, some compilers don't have a flag for warnings-as-errors.
I need to write a shell script or wrapper that provides the feature.
Presumably it parses the compilation…