From 46ff506096e6a2dd1ac2f3b7a8076cc5cb9c6d7a Mon Sep 17 00:00:00 2001 From: jan Iversen Date: Mon, 21 May 2018 08:12:40 +0200 Subject: build-system: iOS only turn off specific warnings Turning off all warnings (-w) was too radical. Only turning off specific warnings. Signed-off-by: Jan Iversen --- packaging/ios/Subsurface-mobile.pro | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packaging/ios/Subsurface-mobile.pro b/packaging/ios/Subsurface-mobile.pro index c693c448d..763149242 100644 --- a/packaging/ios/Subsurface-mobile.pro +++ b/packaging/ios/Subsurface-mobile.pro @@ -217,8 +217,8 @@ include(./deployment.pri) include(../../mobile-widgets/qml/kirigami/kirigami.pri) # Supress some warnings -QMAKE_CXXFLAGS += -w -QMAKE_CFLAGS += -w +QMAKE_CXXFLAGS += -Wno-shorten-64-to-32 -Wno-missing-field-initializers +QMAKE_CFLAGS += -Wno-shorten-64-to-32 -Wno-missing-field-initializers ios { QMAKE_ASSET_CATALOGS += ./storeIcon.xcassets -- cgit v1.2.3-70-g09d2