[shotwell/wip/dedeprecate: 23/64] build: Disable misleading warnings caused by valac



commit e68215e181f9e8d76d5038b19f97c38f8de14cc0
Author: Jens Georg <mail jensge org>
Date:   Fri Oct 21 17:39:09 2016 +0200

    build: Disable misleading warnings caused by valac
    
    Signed-off-by: Jens Georg <mail jensge org>

 common.am |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/common.am b/common.am
index 20a66c6..da05cba 100644
--- a/common.am
+++ b/common.am
@@ -12,7 +12,9 @@ COMMON_CFLAGS = \
        -DGETTEXT_PACKAGE='"$(GETTEXT_PACKAGE)"' \
        -D_LANG_SUPPORT_DIR='"$(prefix)/share/locale"' \
        -D_LIBEXECDIR='"$(libexecdir)"' \
-       -D_LIB='"$(libdir)"'
+       -D_LIB='"$(libdir)"' \
+       -Wno-incompatible-pointer-types \
+       -Wno-discarded-qualifiers
 
 if IS_GITVERSION
 COMMON_CFLAGS += -D_GIT_VERSION='"@GITVER@"'


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