summaryrefslogtreecommitdiff
path: root/tools/ci/scripts/deheader.sh
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-07-14 20:03:51 +0300
committerAndrei Karas <akaras@inbox.ru>2016-07-14 20:03:51 +0300
commit83bc216009d70daf633337d0e383dd1c757557e0 (patch)
treeb045e5fea7fdd15b3d150f1bad1301afce95c948 /tools/ci/scripts/deheader.sh
parent8f45367967bb26f75aa0eb9e5d82d848a922620b (diff)
downloadmv-83bc216009d70daf633337d0e383dd1c757557e0.tar.gz
mv-83bc216009d70daf633337d0e383dd1c757557e0.tar.bz2
mv-83bc216009d70daf633337d0e383dd1c757557e0.tar.xz
mv-83bc216009d70daf633337d0e383dd1c757557e0.zip
Add one deheader exception for sdltcpnet.cpp.
Diffstat (limited to 'tools/ci/scripts/deheader.sh')
-rwxr-xr-xtools/ci/scripts/deheader.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/tools/ci/scripts/deheader.sh b/tools/ci/scripts/deheader.sh
index 0d7953b88..23b097857 100755
--- a/tools/ci/scripts/deheader.sh
+++ b/tools/ci/scripts/deheader.sh
@@ -20,5 +20,7 @@ ${dir}/deheader -q -i "\"debug.h\"" \
-c "$CXX" \
-d "$FLAGS" \
-s "-std=gnu++1z" \
--m "-c -Werror -Wall -Wextra -Wundef -Wmissing-declarations -DLOCALEDIR=\\\"\\\" -I/usr/include $INCLUDES -I${dir}/src" $1 \
-| grep -v "portability requires" | tee -a ${LOGFILE}
+-m "-c -Werror -Wall -Wextra -Wundef -Wmissing-declarations -DLOCALEDIR=\\\"\\\" -I/usr/include $INCLUDES -I${dir}/src" $1 | \
+grep -v "deheader: ./src/net/sdltcpnet.cpp has more than one inclusion of <netinet/tcp.h>" | \
+grep -v "portability requires" | \
+tee -a ${LOGFILE}