diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2020-04-01 18:32:50 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-04-01 12:26:59 -0700 |
commit | 8c63d4e2bddbd5e5b1c4b58c254151675dcd4ca5 (patch) | |
tree | 8257451d1936e508482f2e0ef8ca1adf1f9708c1 | |
parent | d7d01ab8a677b4c03476f48fc05633ce45c22263 (diff) | |
download | subsurface-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>
-rw-r--r-- | packaging/ios/Subsurface-mobile.pro | 2 |
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 { |