aboutsummaryrefslogtreecommitdiffstats
path: root/packaging/ios
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2020-04-01 18:32:50 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-04-01 12:26:59 -0700
commit8c63d4e2bddbd5e5b1c4b58c254151675dcd4ca5 (patch)
tree8257451d1936e508482f2e0ef8ca1adf1f9708c1 /packaging/ios
parentd7d01ab8a677b4c03476f48fc05633ce45c22263 (diff)
downloadsubsurface-8c63d4e2bddbd5e5b1c4b58c254151675dcd4ca5.tar.gz
build: use -Wno-inconsistent-missing-override in Subsurface-mobile.pro
The inconsistent-missing-override warning is annoying as it prevents us from adding "override" modifiers: It will warn if we do this only for selected functions. Sadly, this is the default on clang. Therefore, we disable this warning for quite some time in CMakeLists.txt. For consistency also do this in the Subsurface-mobile.pro file. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'packaging/ios')
-rw-r--r--packaging/ios/Subsurface-mobile.pro2
1 files changed, 1 insertions, 1 deletions
diff --git a/packaging/ios/Subsurface-mobile.pro b/packaging/ios/Subsurface-mobile.pro
index b837b471a..eabeb72f7 100644
--- a/packaging/ios/Subsurface-mobile.pro
+++ b/packaging/ios/Subsurface-mobile.pro
@@ -310,7 +310,7 @@ include(./deployment.pri)
include(../../mobile-widgets/qml/kirigami/kirigami.pri)
# Supress some warnings
-QMAKE_CXXFLAGS += -Wno-shorten-64-to-32 -Wno-missing-field-initializers
+QMAKE_CXXFLAGS += -Wno-shorten-64-to-32 -Wno-missing-field-initializers -Wno-inconsistent-missing-override
QMAKE_CFLAGS += -Wno-shorten-64-to-32 -Wno-missing-field-initializers
ios {