Skip to content

Commit

Permalink
Removed compile warnings on Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
MatejFranceskin committed Dec 5, 2019
1 parent 9255bf0 commit 04a134d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions QGCCommon.pri
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,12 @@ 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
}
} else : linux-rasp-pi2-g++ {
message("Linux R-Pi2 build")
Expand Down

0 comments on commit 04a134d

Please sign in to comment.