diff options
author | João Valverde <joao.valverde@tecnico.ulisboa.pt> | 2015-11-18 16:31:31 +0000 |
---|---|---|
committer | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2015-11-21 13:50:54 +0000 |
commit | 67d9daa65b9d555ced9fb1a9df90b1f8f1a4a257 (patch) | |
tree | fd996d97c128dc0d474cfd4d98e7833ddb7099bc /tools | |
parent | f711fbfae45d737142f30bdb1777d8c621d163de (diff) |
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 <alexis.lagoutte@gmail.com>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/Makefile.am | 1 | ||||
-rwxr-xr-x | tools/checklicenses.py | 3 | ||||
-rwxr-xr-x | tools/fix_pragma_wdocumentation.sh | 12 |
3 files changed, 0 insertions, 16 deletions
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 <glib.h>/#pragma clang diagnostic push\n#pragma clang diagnostic ignored "-Wdocumentation"\n#include <glib.h>\n#pragma clang diagnostic pop/g' {} \; - -find . ! -name "*.sh" -type f -exec sed -i 's/#include <gtk\/gtk.h>/#pragma clang diagnostic push\n#pragma clang diagnostic ignored "-Wdocumentation"\n#include <gtk\/gtk.h>\n#pragma clang diagnostic pop/g' {} \; - -find . ! -name "*.sh" -type f -exec sed -i 's/#include <gmodule.h>/#pragma clang diagnostic push\n#pragma clang diagnostic ignored "-Wdocumentation"\n#include <gmodule.h>\n#pragma clang diagnostic pop/g' {} \; |