From 501a499293f5bff9c795902c5d802752bd0ff663 Mon Sep 17 00:00:00 2001 From: Gus Grubba Date: Fri, 28 Sep 2018 14:54:41 -0400 Subject: [PATCH] Disable the zillion warnings that come out from mavlink.h (macOS) --- QGCCommon.pri | 2 ++ 1 file changed, 2 insertions(+) diff --git a/QGCCommon.pri b/QGCCommon.pri index f26540dd1..93fa7368d 100644 --- a/QGCCommon.pri +++ b/QGCCommon.pri @@ -68,6 +68,8 @@ linux { #-- Not forcing anything. Let qmake find the latest, installed SDK. #QMAKE_MAC_SDK = macosx10.12 QMAKE_CXXFLAGS += -fvisibility=hidden + #-- Disable annoying warnings comming from mavlink.h + QMAKE_CXXFLAGS += -Wno-address-of-packed-member } else { error("Unsupported Mac toolchain, only 64-bit LLVM+clang is supported") } -- 2.22.0