From 8932cfc26457d4d39797cf36296118ddbf4cbb3b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Kr=C3=B6ning?= Date: Sun, 6 Jan 2019 18:45:38 +0100 Subject: [PATCH] Fix building with clang Ignore redeclaration of `struct MapApp` as `class MapApp` in implementation of MapAppABI. --- pi2-view/src/MapAppABI.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pi2-view/src/MapAppABI.cpp b/pi2-view/src/MapAppABI.cpp index 4ee2ab9..8e0f28d 100644 --- a/pi2-view/src/MapAppABI.cpp +++ b/pi2-view/src/MapAppABI.cpp @@ -1,5 +1,8 @@ #include "MapAppABI.h" +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wmismatched-tags" #include "MapApp.hpp" +#pragma clang diagnostic pop #include #include #include -- GitLab