build: fix clang + glib 2.43 build
authorLubomir Rintel <lkundrak@v3.sk>
Thu, 19 Mar 2015 15:29:33 +0000 (16:29 +0100)
committerLubomir Rintel <lkundrak@v3.sk>
Thu, 19 Mar 2015 15:29:33 +0000 (16:29 +0100)
Known glib issue. Fixes Fedora 22 build.

m4/compiler_warnings.m4

index f5be84d..5c8d207 100644 (file)
@@ -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>]