Commit 501a4992 authored by Gus Grubba's avatar Gus Grubba

Disable the zillion warnings that come out from mavlink.h (macOS)

parent f3a6f831
...@@ -68,6 +68,8 @@ linux { ...@@ -68,6 +68,8 @@ linux {
#-- Not forcing anything. Let qmake find the latest, installed SDK. #-- Not forcing anything. Let qmake find the latest, installed SDK.
#QMAKE_MAC_SDK = macosx10.12 #QMAKE_MAC_SDK = macosx10.12
QMAKE_CXXFLAGS += -fvisibility=hidden QMAKE_CXXFLAGS += -fvisibility=hidden
#-- Disable annoying warnings comming from mavlink.h
QMAKE_CXXFLAGS += -Wno-address-of-packed-member
} else { } else {
error("Unsupported Mac toolchain, only 64-bit LLVM+clang is supported") error("Unsupported Mac toolchain, only 64-bit LLVM+clang is supported")
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment