From 8c63d4e2bddbd5e5b1c4b58c254151675dcd4ca5 Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Wed, 1 Apr 2020 18:32:50 +0200 Subject: 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 --- packaging/ios/Subsurface-mobile.pro | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packaging') 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 { -- cgit v1.2.3-70-g09d2