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>
This commit is contained in:
Berthold Stoeger 2020-04-01 18:32:50 +02:00 committed by Dirk Hohndel
parent d7d01ab8a6
commit 8c63d4e2bd

View file

@ -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 {