diff options
author | Kalev Lember <klember@redhat.com> | 2017-01-29 12:54:49 +0100 |
---|---|---|
committer | Kalev Lember <klember@redhat.com> | 2017-01-30 12:51:24 +0100 |
commit | db36ef4922d985c3789081ed2d842dd6d3d5c1b0 (patch) | |
tree | 3f5d508a2cd8efa458f817940e1ba6392d3420b9 | |
parent | 11931dd1ec6a4477aa2fb07fb98831116ecf2e6f (diff) | |
download | appstream-glib-db36ef4922d985c3789081ed2d842dd6d3d5c1b0.tar.gz |
Ignore compiler warnings from a generated gperf include file
We can't really fix the warnings as it's a generated file; instead just
ignore the warnings so they don't show up as noise.
-rw-r--r-- | libappstream-glib/as-tag.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libappstream-glib/as-tag.c b/libappstream-glib/as-tag.c index 5d44f96..bd78939 100644 --- a/libappstream-glib/as-tag.c +++ b/libappstream-glib/as-tag.c @@ -36,7 +36,12 @@ #include "as-tag.h" #ifdef HAVE_GPERF + #pragma GCC diagnostic push + #pragma GCC diagnostic ignored "-Wconversion" + #pragma GCC diagnostic ignored "-Wmissing-prototypes" + #pragma GCC diagnostic ignored "-Wsign-conversion" #include "as-tag-private.h" + #pragma GCC diagnostic pop #endif /** |