diff options
| author | Ondřej Surý <ondrej@sury.org> | 2011-04-26 09:55:32 +0200 |
|---|---|---|
| committer | Ondřej Surý <ondrej@sury.org> | 2011-04-26 09:55:32 +0200 |
| commit | 7b15ed9ef455b6b66c6b376898a88aef5d6a9970 (patch) | |
| tree | 3ef530baa80cdf29436ba981f5783be6b4d2202b /src/quietgcc.bash | |
| parent | 50104cc32a498f7517a51c8dc93106c51c7a54b4 (diff) | |
| download | golang-7b15ed9ef455b6b66c6b376898a88aef5d6a9970.tar.gz | |
Imported Upstream version 2011.04.13upstream/2011.04.13
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 |
