From 67d9daa65b9d555ced9fb1a9df90b1f8f1a4a257 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Valverde?= Date: Wed, 18 Nov 2015 16:31:31 +0000 Subject: autotools: Fix extra-compiler-warnings for system headers Use -isystem instead of -I for external headers with GCC/clang to squash all the noise. cmake already uses -isystem by default for supported platforms/compilers. Change-Id: Ia6c9d1eb9b894fda6f48c531094d792e16fd39fc Reviewed-on: https://code.wireshark.org/review/11947 Reviewed-by: Alexis La Goutte --- tools/Makefile.am | 1 - tools/checklicenses.py | 3 --- tools/fix_pragma_wdocumentation.sh | 12 ------------ 3 files changed, 16 deletions(-) delete mode 100755 tools/fix_pragma_wdocumentation.sh (limited to 'tools') diff --git a/tools/Makefile.am b/tools/Makefile.am index 2b582c8cbc..d1d660368a 100644 --- a/tools/Makefile.am +++ b/tools/Makefile.am @@ -131,7 +131,6 @@ EXTRA_DIST = \ dftestlib/util.py \ extract_asn1_from_spec.pl \ fix-encoding-args.pl \ - fix_pragma_wdocumentation.sh \ fixhf.pl \ ftsanity.py \ fuzz-test.sh \ diff --git a/tools/checklicenses.py b/tools/checklicenses.py index 3a76e826af..1ba939fb95 100755 --- a/tools/checklicenses.py +++ b/tools/checklicenses.py @@ -206,9 +206,6 @@ PATH_SPECIFIC_WHITELISTED_LICENSES = { 'tools/lemon': [ 'UNKNOWN', ], - 'tools/fix_pragma_wdocumentation.sh': [ - 'UNKNOWN', - ], # Generated files for GTK pixbuf binary bundling 'ui/gtk/wireshark-gresources.h': [ 'UNKNOWN', diff --git a/tools/fix_pragma_wdocumentation.sh b/tools/fix_pragma_wdocumentation.sh deleted file mode 100755 index ccc2ac4ad6..0000000000 --- a/tools/fix_pragma_wdocumentation.sh +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/sh -# Copyright 2014, Alexis La Goutte (See AUTHORS file) -# -# For clang user: launch the script to add pragma for remove warning about -Wdocumentation -# (using on Petri Dish) - - -find . ! -name "*.sh" -type f -exec sed -i 's/#include /#pragma clang diagnostic push\n#pragma clang diagnostic ignored "-Wdocumentation"\n#include \n#pragma clang diagnostic pop/g' {} \; - -find . ! -name "*.sh" -type f -exec sed -i 's/#include /#pragma clang diagnostic push\n#pragma clang diagnostic ignored "-Wdocumentation"\n#include \n#pragma clang diagnostic pop/g' {} \; - -find . ! -name "*.sh" -type f -exec sed -i 's/#include /#pragma clang diagnostic push\n#pragma clang diagnostic ignored "-Wdocumentation"\n#include \n#pragma clang diagnostic pop/g' {} \; -- cgit v1.2.3