Skip to content

Commit

Permalink
-Wno-deprecated-copy is not valid for clang
Browse files Browse the repository at this point in the history
  • Loading branch information
MatejFranceskin committed Dec 5, 2019
1 parent 5d551a2 commit 323dece
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions QGCCommon.pri
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,13 @@ linux {
DEFINES += QGC_ENABLE_NFC RW_SUPPORT
DEFINES += QGC_GST_TAISYNC_ENABLED
DEFINES += QGC_GST_MICROHARD_ENABLED

QMAKE_CXXFLAGS += -Wno-address-of-packed-member
linux-clang {
message("Linux clang")
QMAKE_CXXFLAGS += -Qunused-arguments -fcolor-diagnostics
} else {
QMAKE_CXXFLAGS += -Wno-deprecated-copy
}
QMAKE_CXXFLAGS += -Wno-address-of-packed-member
QMAKE_CXXFLAGS += -Wno-deprecated-copy
Expand Down

0 comments on commit 323dece

Please sign in to comment.