From 7151173812e8512b94b85092b2f1ba6fdb431fa5 Mon Sep 17 00:00:00 2001
From: Tony Theodore <tonyt@logyst.com>
Date: Tue, 14 Aug 2018 21:56:35 +1000
Subject: gtkimageview guile libssh: fix gcc8 build

---
 plugins/gcc8/gcc8-overlay.mk | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/plugins/gcc8/gcc8-overlay.mk b/plugins/gcc8/gcc8-overlay.mk
index bbd4efa..aff17d3 100644
--- a/plugins/gcc8/gcc8-overlay.mk
+++ b/plugins/gcc8/gcc8-overlay.mk
@@ -27,3 +27,8 @@ $(PKG)_PATCHES  := $(dir $(lastword $(MAKEFILE_LIST)))/gcc8.patch
 # copy db-2-install-exe.patch to gcc7 plugin when gcc8 is default
 db_PATCHES := $(TOP_DIR)/src/db-1-fix-including-winioctl-h-lowcase.patch
 
+# set these in respective makefiles when gcc7 becomes default
+# remove from here and leave them blank for gcc5 plugin
+libssh_EXTRA_WARNINGS = -Wno-error=implicit-fallthrough
+gtkimageview_EXTRA_WARNINGS = -Wno-error=misleading-indentation
+guile_EXTRA_WARNINGS = -Wno-error=misleading-indentation
-- 
cgit v0.12