Skip to content
Snippets Groups Projects
Commit 44a029d9 authored by Christian Engwer's avatar Christian Engwer
Browse files

[headercheck]

print warnings, but continue compilation
(thanks to Tobias Malkmus)

[[Imported from SVN: r6853]]
parent 906af216
Branches
Tags
No related merge requests found
......@@ -18,6 +18,7 @@ Copyright holders:
2003--2012 Robert Klöfkorn
2010--2011 Andreas Lauser
2007--2011 Sven Marnach
2012 Tobias Malkmus
2010 Rene Milk
2011--2012 Steffen Müthing
2003--2006 Thimo Neubauer
......
......@@ -58,6 +58,12 @@ headercheck-am:
echo "Error in $$HEADER"; \
test $V -ne 1 && echo "run with V=1 to show details" || cat $$LOGFILE; \
fi; \
warnings=`grep 'warning' $$LOGFILE`; \
FOUNDWARNINGS=$$?; \
if ( test $$FOUNDWARNINGS -eq 0 && test -e $$OFILE ); then \
echo "Warnings in $$HEADER"; \
test $V -ne 1 && echo "run with V=1 to show details" || cat $$LOGFILE; \
fi; \
rm -f $$OFILE; \
rm -f $$CCFILE; \
rm -f $$LOGFILE; \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment