summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorLubomir Rintel <lkundrak@v3.sk>2015-03-19 16:29:33 +0100
committerLubomir Rintel <lkundrak@v3.sk>2015-03-19 16:29:33 +0100
commit30b121534168365dac5ecb31d5431e3bfd2ac406 (patch)
treeacf7360c5db63844aa9a33d11521a882556017a8 /m4
parentb634931fa830809e3bf257f3d7b94f302e78de56 (diff)
build: fix clang + glib 2.43 build
Known glib issue. Fixes Fedora 22 build.
Diffstat (limited to 'm4')
-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 f5be84d7e..5c8d20777 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>]