Skip to content

Commit

Permalink
ignore unused-but-set-variable on mac builds to suppress errors in QG…
Browse files Browse the repository at this point in the history
…CTileCacheWorker.cpp and eigen
  • Loading branch information
JMare authored and DonLakeFlyer committed Nov 10, 2023
1 parent 0f11161 commit 25595b9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions QGCCommon.pri
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ linux {
QMAKE_CXXFLAGS += -fvisibility=hidden
QMAKE_CXXFLAGS_WARN_ON += -Werror \
-Wno-unused-parameter \ # gst-plugins-good
-Wno-unused-but-set-variable \ # eigen & QGCTileCacheWorker.cpp
-Wno-deprecated-declarations # eigen
} else {
error("Unsupported Mac toolchain, only 64-bit LLVM+clang is supported")
Expand Down

0 comments on commit 25595b9

Please sign in to comment.