summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLubomir Rintel <lkundrak@v3.sk>2015-03-19 16:29:33 +0100
committerThomas Haller <thaller@redhat.com>2015-05-18 23:42:31 +0200
commit63dce578a21644716af4742301a6c52f6b6654d6 (patch)
tree3332d9a50cdc6892837ece88ff75c24a27db93fd
parent440e8f59ea9b9ca4c3fae71606f6ff99751dcd88 (diff)
downloadnetwork-manager-applet-63dce578a21644716af4742301a6c52f6b6654d6.tar.gz
build: fix clang + glib 2.43 build
Known glib issue. Fixes Fedora 22 build. Taken from NetworkManager, commit 5206a9b28d1fed252f80bc241a481780fee556e1.
-rw-r--r--m4/compiler_warnings.m43
1 files changed, 3 insertions, 0 deletions
diff --git a/m4/compiler_warnings.m4 b/m4/compiler_warnings.m4
index 21e5c88c..302aa45b 100644
--- a/m4/compiler_warnings.m4
+++ b/m4/compiler_warnings.m4
@@ -77,6 +77,9 @@ if test "$GCC" = "yes" -a "$set_more_warnings" != "no"; then
dnl https://bugzilla.gnome.org/show_bug.cgi?id=745821
NM_COMPILER_WARNING([unknown-attributes], [#include <glib.h>])
+ dnl https://bugzilla.gnome.org/show_bug.cgi?id=744473
+ NM_COMPILER_WARNING([typedef-redefinition], [#include <gio/gio.h>])
+
dnl https://llvm.org/bugs/show_bug.cgi?id=21614
NM_COMPILER_WARNING([array-bounds],
[#include <string.h>]