Commit 48352d6e authored by Andrea Valassi's avatar Andrea Valassi
Browse files

Ignore "warning: argument unused during compilation" in cc-build on clang


git-svn-id: file:///git/lcgcool.svndb/cool/trunk@19920 4525493e-7705-40b1-a816-d608a930855b
parent 51ee21ff
......@@ -110,7 +110,11 @@ if [ "${out#logs/}" != "$out" ]; then
echo "No build warnings found"
else
echo "WARNING! Build warnings found!"
grep warning $out
grep warning $out | grep -v "warning: argument unused during compilation"
grep "warning: argument unused during compilation" $out > /dev/null 2>&1
if [ "$?" == "0" ]; then
echo "[Omitted all occurrences of 'warning: argument unused during compilation']"
fi
fi
fi
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment