From 5aaf1d66187066edad0108343911e83c3f739051 Mon Sep 17 00:00:00 2001 From: Vladislav Khorev Date: Mon, 6 Mar 2017 01:23:16 +0300 Subject: [PATCH] Fixing bug with iOS exceptions not caught --- .../fishrungames.lua.xcodeproj/project.pbxproj | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/lua-5.3.4/xcode/fishrungames.lua/fishrungames.lua.xcodeproj/project.pbxproj b/lua-5.3.4/xcode/fishrungames.lua/fishrungames.lua.xcodeproj/project.pbxproj index 48fab0e..28101a8 100644 --- a/lua-5.3.4/xcode/fishrungames.lua/fishrungames.lua.xcodeproj/project.pbxproj +++ b/lua-5.3.4/xcode/fishrungames.lua/fishrungames.lua.xcodeproj/project.pbxproj @@ -335,7 +335,7 @@ buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; CLANG_ANALYZER_NONNULL = YES; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LANGUAGE_STANDARD = "c++14"; CLANG_CXX_LIBRARY = "libc++"; CLANG_ENABLE_MODULES = YES; CLANG_ENABLE_OBJC_ARC = YES; @@ -357,7 +357,7 @@ DEVELOPMENT_TEAM = R89DR83966; ENABLE_STRICT_OBJC_MSGSEND = YES; ENABLE_TESTABILITY = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_C_LANGUAGE_STANDARD = "compiler-default"; GCC_DYNAMIC_NO_PIC = NO; GCC_NO_COMMON_BLOCKS = YES; GCC_OPTIMIZATION_LEVEL = 0; @@ -375,6 +375,7 @@ IPHONEOS_DEPLOYMENT_TARGET = 10.0; MTL_ENABLE_DEBUG_INFO = YES; ONLY_ACTIVE_ARCH = YES; + OTHER_CFLAGS = "-fexceptions"; OTHER_LDFLAGS = "-ObjC"; PRODUCT_NAME = "$(TARGET_NAME)"; SDKROOT = iphoneos; @@ -387,7 +388,7 @@ buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; CLANG_ANALYZER_NONNULL = YES; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LANGUAGE_STANDARD = "c++14"; CLANG_CXX_LIBRARY = "libc++"; CLANG_ENABLE_MODULES = YES; CLANG_ENABLE_OBJC_ARC = YES; @@ -409,7 +410,7 @@ DEVELOPMENT_TEAM = R89DR83966; ENABLE_NS_ASSERTIONS = NO; ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_C_LANGUAGE_STANDARD = "compiler-default"; GCC_NO_COMMON_BLOCKS = YES; GCC_WARN_64_TO_32_BIT_CONVERSION = YES; GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; @@ -420,6 +421,7 @@ HEADER_SEARCH_PATHS = ../../src; IPHONEOS_DEPLOYMENT_TARGET = 10.0; MTL_ENABLE_DEBUG_INFO = NO; + OTHER_CFLAGS = "-fexceptions"; OTHER_LDFLAGS = "-ObjC"; PRODUCT_NAME = "$(TARGET_NAME)"; SDKROOT = iphoneos; @@ -447,6 +449,7 @@ 84A696A11E625D6B0091D764 /* Release */, ); defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; }; /* End XCConfigurationList section */ };