[shotwell] build: Silence some C warnings



commit 5270d097485c7ca2f4729adc598d381c85491988
Author: Jens Georg <mail jensge org>
Date:   Sat Oct 1 17:50:10 2016 +0200

    build: Silence some C warnings
    
    Signed-off-by: Jens Georg <mail jensge org>

 Makefile.am |    1 +
 common.am   |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index 624642b..9487d19 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -73,6 +73,7 @@ plugins_common_libshotwell_plugin_common_la_VALAFLAGS = \
 
 plugins_common_libshotwell_plugin_common_la_CFLAGS = \
        $(PLUGIN_CFLAGS) \
+       -Wno-incompatible-pointer-types -Wno-discarded-qualifiers \
        -DGETTEXT_PACKAGE='"$(GETTEXT_PACKAGE)"' \
        -I $(top_srcdir)/plugins -I$(top_builddir)/plugins
 
diff --git a/common.am b/common.am
index 6129cf1..353b181 100644
--- a/common.am
+++ b/common.am
@@ -7,6 +7,7 @@ COMMON_VALAFLAGS = \
 COMMON_CFLAGS = \
        -I$(top_srcdir)/vapi \
        -D_PREFIX='"$(prefix)"' \
+       -Wno-incompatible-pointer-types -Wno-discarded-qualifiers \
        -D_VERSION='"$(VERSION)"' \
        -DGETTEXT_PACKAGE='"$(GETTEXT_PACKAGE)"' \
        -D_LANG_SUPPORT_DIR='"$(prefix)/share/locale"' \


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]