diff options
Diffstat (limited to 'src/quietgcc.bash')
-rwxr-xr-x | src/quietgcc.bash | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/quietgcc.bash b/src/quietgcc.bash index 748fc593e..e29ee4f64 100755 --- a/src/quietgcc.bash +++ b/src/quietgcc.bash @@ -35,15 +35,10 @@ esac tmp=/tmp/qcc.$$.$USER.out $gcc -Wall -Wno-sign-compare -Wno-missing-braces \ -Wno-parentheses -Wno-unknown-pragmas -Wno-switch -Wno-comment \ + -Werror \ "$@" >$tmp 2>&1 status=$? egrep -v "$ignore" $tmp | uniq | tee $tmp.1 -# Make incompatible pointer type "warnings" stop the build. -# Not quite perfect--we should remove the object file--but -# a step in the right direction. -if egrep 'incompatible pointer type' $tmp.1 >/dev/null; then - status=1 -fi rm -f $tmp $tmp.1 exit $status |