diff --git a/polymer/eduke32/platform/Apple/EDuke32.xcodeproj/project.pbxproj b/polymer/eduke32/platform/Apple/EDuke32.xcodeproj/project.pbxproj index 68b984b82..343cedff4 100644 --- a/polymer/eduke32/platform/Apple/EDuke32.xcodeproj/project.pbxproj +++ b/polymer/eduke32/platform/Apple/EDuke32.xcodeproj/project.pbxproj @@ -2181,17 +2181,23 @@ buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + CLANG_ANALYZER_SECURITY_FLOATLOOPCOUNTER = YES; + CLANG_ANALYZER_SECURITY_INSECUREAPI_STRCPY = YES; CLANG_CXX_LANGUAGE_STANDARD = "gnu++98"; CLANG_CXX_LIBRARY = "libc++"; CLANG_ENABLE_MODULES = NO; CLANG_ENABLE_OBJC_ARC = NO; + CLANG_WARN_ASSIGN_ENUM = YES; CLANG_WARN_BOOL_CONVERSION = NO; CLANG_WARN_CONSTANT_CONVERSION = NO; + CLANG_WARN_CXX0X_EXTENSIONS = YES; CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; CLANG_WARN_EMPTY_BODY = YES; CLANG_WARN_ENUM_CONVERSION = NO; CLANG_WARN_INT_CONVERSION = NO; + CLANG_WARN_NULLABLE_TO_NONNULL_CONVERSION = NO; CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_SUSPICIOUS_IMPLICIT_CONVERSION = NO; CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; COMBINE_HIDPI_IMAGES = YES; COPY_PHASE_STRIP = NO; @@ -2215,11 +2221,21 @@ "$(inherited)", ); GCC_SYMBOLS_PRIVATE_EXTERN = NO; + GCC_TREAT_IMPLICIT_FUNCTION_DECLARATIONS_AS_ERRORS = NO; + GCC_UNROLL_LOOPS = YES; GCC_WARN_64_TO_32_BIT_CONVERSION = NO; + GCC_WARN_ABOUT_MISSING_FIELD_INITIALIZERS = YES; + GCC_WARN_ABOUT_MISSING_NEWLINE = YES; + GCC_WARN_ABOUT_MISSING_PROTOTYPES = NO; GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_INITIALIZER_NOT_FULLY_BRACKETED = NO; + GCC_WARN_SHADOW = NO; + GCC_WARN_SIGN_COMPARE = YES; GCC_WARN_UNDECLARED_SELECTOR = YES; GCC_WARN_UNINITIALIZED_AUTOS = YES; + GCC_WARN_UNKNOWN_PRAGMAS = YES; GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_PARAMETER = YES; GCC_WARN_UNUSED_VARIABLE = YES; HEADER_SEARCH_PATHS = ( "$(inherited)", @@ -2260,8 +2276,20 @@ SUPPORTED_PLATFORMS = macosx; USER_HEADER_SEARCH_PATHS = ""; WARNING_CFLAGS = ( - "-Wno-parentheses-equality", + "-Wall", + "-Wextra", + "-Wno-unknown-warning-option", + "-Wpointer-arith", + "-Wno-char-subscripts", + "-Wno-missing-braces", + "-Wwrite-strings", "-Wno-attributes", + "-Wno-strict-overflow", + "-Wno-unused-result", + "-Wlogical-op", + "-Wcast-qual", + "-Wno-parentheses-equality", + "-Wno-unused-value", ); WRAPPER_EXTENSION = app; }; @@ -2272,17 +2300,23 @@ buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + CLANG_ANALYZER_SECURITY_FLOATLOOPCOUNTER = YES; + CLANG_ANALYZER_SECURITY_INSECUREAPI_STRCPY = YES; CLANG_CXX_LANGUAGE_STANDARD = "gnu++98"; CLANG_CXX_LIBRARY = "libc++"; CLANG_ENABLE_MODULES = NO; CLANG_ENABLE_OBJC_ARC = NO; + CLANG_WARN_ASSIGN_ENUM = YES; CLANG_WARN_BOOL_CONVERSION = NO; CLANG_WARN_CONSTANT_CONVERSION = NO; + CLANG_WARN_CXX0X_EXTENSIONS = YES; CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; CLANG_WARN_EMPTY_BODY = YES; CLANG_WARN_ENUM_CONVERSION = NO; CLANG_WARN_INT_CONVERSION = NO; + CLANG_WARN_NULLABLE_TO_NONNULL_CONVERSION = NO; CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_SUSPICIOUS_IMPLICIT_CONVERSION = NO; CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; COMBINE_HIDPI_IMAGES = YES; COPY_PHASE_STRIP = YES; @@ -2300,11 +2334,21 @@ GCC_LINK_WITH_DYNAMIC_LIBRARIES = NO; GCC_PRECOMPILE_PREFIX_HEADER = NO; GCC_PREFIX_HEADER = ""; + GCC_TREAT_IMPLICIT_FUNCTION_DECLARATIONS_AS_ERRORS = NO; + GCC_UNROLL_LOOPS = YES; GCC_WARN_64_TO_32_BIT_CONVERSION = NO; + GCC_WARN_ABOUT_MISSING_FIELD_INITIALIZERS = YES; + GCC_WARN_ABOUT_MISSING_NEWLINE = YES; + GCC_WARN_ABOUT_MISSING_PROTOTYPES = NO; GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_INITIALIZER_NOT_FULLY_BRACKETED = NO; + GCC_WARN_SHADOW = NO; + GCC_WARN_SIGN_COMPARE = YES; GCC_WARN_UNDECLARED_SELECTOR = YES; GCC_WARN_UNINITIALIZED_AUTOS = YES; + GCC_WARN_UNKNOWN_PRAGMAS = YES; GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_PARAMETER = YES; GCC_WARN_UNUSED_VARIABLE = YES; HEADER_SEARCH_PATHS = ( "$(inherited)", @@ -2345,8 +2389,20 @@ SUPPORTED_PLATFORMS = macosx; USER_HEADER_SEARCH_PATHS = ""; WARNING_CFLAGS = ( - "-Wno-parentheses-equality", + "-Wall", + "-Wextra", + "-Wno-unknown-warning-option", + "-Wpointer-arith", + "-Wno-char-subscripts", + "-Wno-missing-braces", + "-Wwrite-strings", "-Wno-attributes", + "-Wno-strict-overflow", + "-Wno-unused-result", + "-Wlogical-op", + "-Wcast-qual", + "-Wno-parentheses-equality", + "-Wno-unused-value", ); WRAPPER_EXTENSION = app; }; @@ -2357,17 +2413,23 @@ buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + CLANG_ANALYZER_SECURITY_FLOATLOOPCOUNTER = YES; + CLANG_ANALYZER_SECURITY_INSECUREAPI_STRCPY = YES; CLANG_CXX_LANGUAGE_STANDARD = "gnu++98"; CLANG_CXX_LIBRARY = "libc++"; CLANG_ENABLE_MODULES = NO; CLANG_ENABLE_OBJC_ARC = NO; + CLANG_WARN_ASSIGN_ENUM = YES; CLANG_WARN_BOOL_CONVERSION = NO; CLANG_WARN_CONSTANT_CONVERSION = NO; + CLANG_WARN_CXX0X_EXTENSIONS = YES; CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; CLANG_WARN_EMPTY_BODY = YES; CLANG_WARN_ENUM_CONVERSION = NO; CLANG_WARN_INT_CONVERSION = NO; + CLANG_WARN_NULLABLE_TO_NONNULL_CONVERSION = NO; CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_SUSPICIOUS_IMPLICIT_CONVERSION = NO; CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; COMBINE_HIDPI_IMAGES = YES; COPY_PHASE_STRIP = NO; @@ -2391,11 +2453,21 @@ "$(inherited)", ); GCC_SYMBOLS_PRIVATE_EXTERN = NO; + GCC_TREAT_IMPLICIT_FUNCTION_DECLARATIONS_AS_ERRORS = NO; + GCC_UNROLL_LOOPS = YES; GCC_WARN_64_TO_32_BIT_CONVERSION = NO; + GCC_WARN_ABOUT_MISSING_FIELD_INITIALIZERS = YES; + GCC_WARN_ABOUT_MISSING_NEWLINE = YES; + GCC_WARN_ABOUT_MISSING_PROTOTYPES = NO; GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_INITIALIZER_NOT_FULLY_BRACKETED = NO; + GCC_WARN_SHADOW = NO; + GCC_WARN_SIGN_COMPARE = YES; GCC_WARN_UNDECLARED_SELECTOR = YES; GCC_WARN_UNINITIALIZED_AUTOS = YES; + GCC_WARN_UNKNOWN_PRAGMAS = YES; GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_PARAMETER = YES; GCC_WARN_UNUSED_VARIABLE = YES; HEADER_SEARCH_PATHS = ( "$(inherited)", @@ -2436,8 +2508,20 @@ SUPPORTED_PLATFORMS = macosx; USER_HEADER_SEARCH_PATHS = ""; WARNING_CFLAGS = ( - "-Wno-parentheses-equality", + "-Wall", + "-Wextra", + "-Wno-unknown-warning-option", + "-Wpointer-arith", + "-Wno-char-subscripts", + "-Wno-missing-braces", + "-Wwrite-strings", "-Wno-attributes", + "-Wno-strict-overflow", + "-Wno-unused-result", + "-Wlogical-op", + "-Wcast-qual", + "-Wno-parentheses-equality", + "-Wno-unused-value", ); WRAPPER_EXTENSION = app; }; @@ -2448,17 +2532,23 @@ buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + CLANG_ANALYZER_SECURITY_FLOATLOOPCOUNTER = YES; + CLANG_ANALYZER_SECURITY_INSECUREAPI_STRCPY = YES; CLANG_CXX_LANGUAGE_STANDARD = "gnu++98"; CLANG_CXX_LIBRARY = "libc++"; CLANG_ENABLE_MODULES = NO; CLANG_ENABLE_OBJC_ARC = NO; + CLANG_WARN_ASSIGN_ENUM = YES; CLANG_WARN_BOOL_CONVERSION = NO; CLANG_WARN_CONSTANT_CONVERSION = NO; + CLANG_WARN_CXX0X_EXTENSIONS = YES; CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; CLANG_WARN_EMPTY_BODY = YES; CLANG_WARN_ENUM_CONVERSION = NO; CLANG_WARN_INT_CONVERSION = NO; + CLANG_WARN_NULLABLE_TO_NONNULL_CONVERSION = NO; CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_SUSPICIOUS_IMPLICIT_CONVERSION = NO; CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; COMBINE_HIDPI_IMAGES = YES; COPY_PHASE_STRIP = YES; @@ -2476,11 +2566,21 @@ GCC_LINK_WITH_DYNAMIC_LIBRARIES = NO; GCC_PRECOMPILE_PREFIX_HEADER = NO; GCC_PREFIX_HEADER = ""; + GCC_TREAT_IMPLICIT_FUNCTION_DECLARATIONS_AS_ERRORS = NO; + GCC_UNROLL_LOOPS = YES; GCC_WARN_64_TO_32_BIT_CONVERSION = NO; + GCC_WARN_ABOUT_MISSING_FIELD_INITIALIZERS = YES; + GCC_WARN_ABOUT_MISSING_NEWLINE = YES; + GCC_WARN_ABOUT_MISSING_PROTOTYPES = NO; GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_INITIALIZER_NOT_FULLY_BRACKETED = NO; + GCC_WARN_SHADOW = NO; + GCC_WARN_SIGN_COMPARE = YES; GCC_WARN_UNDECLARED_SELECTOR = YES; GCC_WARN_UNINITIALIZED_AUTOS = YES; + GCC_WARN_UNKNOWN_PRAGMAS = YES; GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_PARAMETER = YES; GCC_WARN_UNUSED_VARIABLE = YES; HEADER_SEARCH_PATHS = ( "$(inherited)", @@ -2521,8 +2621,20 @@ SUPPORTED_PLATFORMS = macosx; USER_HEADER_SEARCH_PATHS = ""; WARNING_CFLAGS = ( - "-Wno-parentheses-equality", + "-Wall", + "-Wextra", + "-Wno-unknown-warning-option", + "-Wpointer-arith", + "-Wno-char-subscripts", + "-Wno-missing-braces", + "-Wwrite-strings", "-Wno-attributes", + "-Wno-strict-overflow", + "-Wno-unused-result", + "-Wlogical-op", + "-Wcast-qual", + "-Wno-parentheses-equality", + "-Wno-unused-value", ); WRAPPER_EXTENSION = app; }; @@ -2536,13 +2648,17 @@ CLANG_CXX_LIBRARY = "libc++"; CLANG_ENABLE_MODULES = NO; CLANG_ENABLE_OBJC_ARC = NO; + CLANG_WARN_ASSIGN_ENUM = YES; CLANG_WARN_BOOL_CONVERSION = NO; CLANG_WARN_CONSTANT_CONVERSION = NO; + CLANG_WARN_CXX0X_EXTENSIONS = YES; CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; CLANG_WARN_EMPTY_BODY = YES; CLANG_WARN_ENUM_CONVERSION = NO; CLANG_WARN_INT_CONVERSION = NO; + CLANG_WARN_NULLABLE_TO_NONNULL_CONVERSION = NO; CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_SUSPICIOUS_IMPLICIT_CONVERSION = NO; CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; COMBINE_HIDPI_IMAGES = YES; COPY_PHASE_STRIP = NO; @@ -2562,11 +2678,20 @@ "$(inherited)", ); GCC_SYMBOLS_PRIVATE_EXTERN = NO; + GCC_TREAT_IMPLICIT_FUNCTION_DECLARATIONS_AS_ERRORS = NO; GCC_WARN_64_TO_32_BIT_CONVERSION = NO; + GCC_WARN_ABOUT_MISSING_FIELD_INITIALIZERS = YES; + GCC_WARN_ABOUT_MISSING_NEWLINE = YES; + GCC_WARN_ABOUT_MISSING_PROTOTYPES = NO; GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_INITIALIZER_NOT_FULLY_BRACKETED = NO; + GCC_WARN_SHADOW = NO; + GCC_WARN_SIGN_COMPARE = YES; GCC_WARN_UNDECLARED_SELECTOR = YES; GCC_WARN_UNINITIALIZED_AUTOS = YES; + GCC_WARN_UNKNOWN_PRAGMAS = YES; GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_PARAMETER = YES; GCC_WARN_UNUSED_VARIABLE = YES; HEADER_SEARCH_PATHS = ( "$(inherited)", @@ -2605,8 +2730,20 @@ SUPPORTED_PLATFORMS = macosx; USER_HEADER_SEARCH_PATHS = ""; WARNING_CFLAGS = ( - "-Wno-parentheses-equality", + "-Wall", + "-Wextra", + "-Wno-unknown-warning-option", + "-Wpointer-arith", + "-Wno-char-subscripts", + "-Wno-missing-braces", + "-Wwrite-strings", "-Wno-attributes", + "-Wno-strict-overflow", + "-Wno-unused-result", + "-Wlogical-op", + "-Wcast-qual", + "-Wno-parentheses-equality", + "-Wno-unused-value", ); }; name = Debug; @@ -2619,13 +2756,17 @@ CLANG_CXX_LIBRARY = "libc++"; CLANG_ENABLE_MODULES = NO; CLANG_ENABLE_OBJC_ARC = NO; + CLANG_WARN_ASSIGN_ENUM = YES; CLANG_WARN_BOOL_CONVERSION = NO; CLANG_WARN_CONSTANT_CONVERSION = NO; + CLANG_WARN_CXX0X_EXTENSIONS = YES; CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; CLANG_WARN_EMPTY_BODY = YES; CLANG_WARN_ENUM_CONVERSION = NO; CLANG_WARN_INT_CONVERSION = NO; + CLANG_WARN_NULLABLE_TO_NONNULL_CONVERSION = NO; CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_SUSPICIOUS_IMPLICIT_CONVERSION = NO; CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; COMBINE_HIDPI_IMAGES = YES; COPY_PHASE_STRIP = YES; @@ -2639,11 +2780,20 @@ GCC_ENABLE_OBJC_EXCEPTIONS = NO; GCC_LINK_WITH_DYNAMIC_LIBRARIES = NO; GCC_PRECOMPILE_PREFIX_HEADER = NO; + GCC_TREAT_IMPLICIT_FUNCTION_DECLARATIONS_AS_ERRORS = NO; GCC_WARN_64_TO_32_BIT_CONVERSION = NO; + GCC_WARN_ABOUT_MISSING_FIELD_INITIALIZERS = YES; + GCC_WARN_ABOUT_MISSING_NEWLINE = YES; + GCC_WARN_ABOUT_MISSING_PROTOTYPES = NO; GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_INITIALIZER_NOT_FULLY_BRACKETED = NO; + GCC_WARN_SHADOW = NO; + GCC_WARN_SIGN_COMPARE = YES; GCC_WARN_UNDECLARED_SELECTOR = YES; GCC_WARN_UNINITIALIZED_AUTOS = YES; + GCC_WARN_UNKNOWN_PRAGMAS = YES; GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_PARAMETER = YES; GCC_WARN_UNUSED_VARIABLE = YES; HEADER_SEARCH_PATHS = ( "$(inherited)", @@ -2682,8 +2832,20 @@ SUPPORTED_PLATFORMS = macosx; USER_HEADER_SEARCH_PATHS = ""; WARNING_CFLAGS = ( - "-Wno-parentheses-equality", + "-Wall", + "-Wextra", + "-Wno-unknown-warning-option", + "-Wpointer-arith", + "-Wno-char-subscripts", + "-Wno-missing-braces", + "-Wwrite-strings", "-Wno-attributes", + "-Wno-strict-overflow", + "-Wno-unused-result", + "-Wlogical-op", + "-Wcast-qual", + "-Wno-parentheses-equality", + "-Wno-unused-value", ); }; name = Release; @@ -2696,13 +2858,17 @@ CLANG_CXX_LIBRARY = "libc++"; CLANG_ENABLE_MODULES = NO; CLANG_ENABLE_OBJC_ARC = NO; + CLANG_WARN_ASSIGN_ENUM = YES; CLANG_WARN_BOOL_CONVERSION = NO; CLANG_WARN_CONSTANT_CONVERSION = NO; + CLANG_WARN_CXX0X_EXTENSIONS = YES; CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; CLANG_WARN_EMPTY_BODY = YES; CLANG_WARN_ENUM_CONVERSION = NO; CLANG_WARN_INT_CONVERSION = NO; + CLANG_WARN_NULLABLE_TO_NONNULL_CONVERSION = NO; CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_SUSPICIOUS_IMPLICIT_CONVERSION = NO; CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; COMBINE_HIDPI_IMAGES = YES; COPY_PHASE_STRIP = NO; @@ -2722,11 +2888,20 @@ "$(inherited)", ); GCC_SYMBOLS_PRIVATE_EXTERN = NO; + GCC_TREAT_IMPLICIT_FUNCTION_DECLARATIONS_AS_ERRORS = NO; GCC_WARN_64_TO_32_BIT_CONVERSION = NO; + GCC_WARN_ABOUT_MISSING_FIELD_INITIALIZERS = YES; + GCC_WARN_ABOUT_MISSING_NEWLINE = YES; + GCC_WARN_ABOUT_MISSING_PROTOTYPES = NO; GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_INITIALIZER_NOT_FULLY_BRACKETED = NO; + GCC_WARN_SHADOW = NO; + GCC_WARN_SIGN_COMPARE = YES; GCC_WARN_UNDECLARED_SELECTOR = YES; GCC_WARN_UNINITIALIZED_AUTOS = YES; + GCC_WARN_UNKNOWN_PRAGMAS = YES; GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_PARAMETER = YES; GCC_WARN_UNUSED_VARIABLE = YES; HEADER_SEARCH_PATHS = ( "$(inherited)", @@ -2762,8 +2937,20 @@ SUPPORTED_PLATFORMS = macosx; USER_HEADER_SEARCH_PATHS = ""; WARNING_CFLAGS = ( - "-Wno-parentheses-equality", + "-Wall", + "-Wextra", + "-Wno-unknown-warning-option", + "-Wpointer-arith", + "-Wno-char-subscripts", + "-Wno-missing-braces", + "-Wwrite-strings", "-Wno-attributes", + "-Wno-strict-overflow", + "-Wno-unused-result", + "-Wlogical-op", + "-Wcast-qual", + "-Wno-parentheses-equality", + "-Wno-unused-value", ); }; name = Debug; @@ -2776,13 +2963,17 @@ CLANG_CXX_LIBRARY = "libc++"; CLANG_ENABLE_MODULES = NO; CLANG_ENABLE_OBJC_ARC = NO; + CLANG_WARN_ASSIGN_ENUM = YES; CLANG_WARN_BOOL_CONVERSION = NO; CLANG_WARN_CONSTANT_CONVERSION = NO; + CLANG_WARN_CXX0X_EXTENSIONS = YES; CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; CLANG_WARN_EMPTY_BODY = YES; CLANG_WARN_ENUM_CONVERSION = NO; CLANG_WARN_INT_CONVERSION = NO; + CLANG_WARN_NULLABLE_TO_NONNULL_CONVERSION = NO; CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_SUSPICIOUS_IMPLICIT_CONVERSION = NO; CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; COMBINE_HIDPI_IMAGES = YES; COPY_PHASE_STRIP = YES; @@ -2796,11 +2987,20 @@ GCC_ENABLE_OBJC_EXCEPTIONS = NO; GCC_LINK_WITH_DYNAMIC_LIBRARIES = NO; GCC_PRECOMPILE_PREFIX_HEADER = NO; + GCC_TREAT_IMPLICIT_FUNCTION_DECLARATIONS_AS_ERRORS = NO; GCC_WARN_64_TO_32_BIT_CONVERSION = NO; + GCC_WARN_ABOUT_MISSING_FIELD_INITIALIZERS = YES; + GCC_WARN_ABOUT_MISSING_NEWLINE = YES; + GCC_WARN_ABOUT_MISSING_PROTOTYPES = NO; GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_INITIALIZER_NOT_FULLY_BRACKETED = NO; + GCC_WARN_SHADOW = NO; + GCC_WARN_SIGN_COMPARE = YES; GCC_WARN_UNDECLARED_SELECTOR = YES; GCC_WARN_UNINITIALIZED_AUTOS = YES; + GCC_WARN_UNKNOWN_PRAGMAS = YES; GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_PARAMETER = YES; GCC_WARN_UNUSED_VARIABLE = YES; HEADER_SEARCH_PATHS = ( "$(inherited)", @@ -2836,8 +3036,20 @@ SUPPORTED_PLATFORMS = macosx; USER_HEADER_SEARCH_PATHS = ""; WARNING_CFLAGS = ( - "-Wno-parentheses-equality", + "-Wall", + "-Wextra", + "-Wno-unknown-warning-option", + "-Wpointer-arith", + "-Wno-char-subscripts", + "-Wno-missing-braces", + "-Wwrite-strings", "-Wno-attributes", + "-Wno-strict-overflow", + "-Wno-unused-result", + "-Wlogical-op", + "-Wcast-qual", + "-Wno-parentheses-equality", + "-Wno-unused-value", ); }; name = Release; @@ -2850,13 +3062,17 @@ CLANG_CXX_LIBRARY = "libc++"; CLANG_ENABLE_MODULES = NO; CLANG_ENABLE_OBJC_ARC = NO; + CLANG_WARN_ASSIGN_ENUM = YES; CLANG_WARN_BOOL_CONVERSION = NO; CLANG_WARN_CONSTANT_CONVERSION = NO; + CLANG_WARN_CXX0X_EXTENSIONS = YES; CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; CLANG_WARN_EMPTY_BODY = YES; CLANG_WARN_ENUM_CONVERSION = NO; CLANG_WARN_INT_CONVERSION = NO; + CLANG_WARN_NULLABLE_TO_NONNULL_CONVERSION = NO; CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_SUSPICIOUS_IMPLICIT_CONVERSION = NO; CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; COPY_PHASE_STRIP = NO; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; @@ -2875,11 +3091,20 @@ "$(inherited)", ); GCC_SYMBOLS_PRIVATE_EXTERN = NO; + GCC_TREAT_IMPLICIT_FUNCTION_DECLARATIONS_AS_ERRORS = NO; GCC_WARN_64_TO_32_BIT_CONVERSION = NO; + GCC_WARN_ABOUT_MISSING_FIELD_INITIALIZERS = YES; + GCC_WARN_ABOUT_MISSING_NEWLINE = YES; + GCC_WARN_ABOUT_MISSING_PROTOTYPES = NO; GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_INITIALIZER_NOT_FULLY_BRACKETED = NO; + GCC_WARN_SHADOW = NO; + GCC_WARN_SIGN_COMPARE = YES; GCC_WARN_UNDECLARED_SELECTOR = YES; GCC_WARN_UNINITIALIZED_AUTOS = YES; + GCC_WARN_UNKNOWN_PRAGMAS = YES; GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_PARAMETER = YES; GCC_WARN_UNUSED_VARIABLE = YES; HEADER_SEARCH_PATHS = ( "$(inherited)", @@ -2915,8 +3140,20 @@ SUPPORTED_PLATFORMS = macosx; USER_HEADER_SEARCH_PATHS = ""; WARNING_CFLAGS = ( - "-Wno-parentheses-equality", + "-Wall", + "-Wextra", + "-Wno-unknown-warning-option", + "-Wpointer-arith", + "-Wno-char-subscripts", + "-Wno-missing-braces", + "-Wwrite-strings", "-Wno-attributes", + "-Wno-strict-overflow", + "-Wno-unused-result", + "-Wlogical-op", + "-Wcast-qual", + "-Wno-parentheses-equality", + "-Wno-unused-value", ); }; name = Debug; @@ -2929,13 +3166,17 @@ CLANG_CXX_LIBRARY = "libc++"; CLANG_ENABLE_MODULES = NO; CLANG_ENABLE_OBJC_ARC = NO; + CLANG_WARN_ASSIGN_ENUM = YES; CLANG_WARN_BOOL_CONVERSION = NO; CLANG_WARN_CONSTANT_CONVERSION = NO; + CLANG_WARN_CXX0X_EXTENSIONS = YES; CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; CLANG_WARN_EMPTY_BODY = YES; CLANG_WARN_ENUM_CONVERSION = NO; CLANG_WARN_INT_CONVERSION = NO; + CLANG_WARN_NULLABLE_TO_NONNULL_CONVERSION = NO; CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_SUSPICIOUS_IMPLICIT_CONVERSION = NO; CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; COPY_PHASE_STRIP = YES; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; @@ -2948,11 +3189,20 @@ GCC_ENABLE_OBJC_EXCEPTIONS = NO; GCC_LINK_WITH_DYNAMIC_LIBRARIES = NO; GCC_PRECOMPILE_PREFIX_HEADER = NO; + GCC_TREAT_IMPLICIT_FUNCTION_DECLARATIONS_AS_ERRORS = NO; GCC_WARN_64_TO_32_BIT_CONVERSION = NO; + GCC_WARN_ABOUT_MISSING_FIELD_INITIALIZERS = YES; + GCC_WARN_ABOUT_MISSING_NEWLINE = YES; + GCC_WARN_ABOUT_MISSING_PROTOTYPES = NO; GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_INITIALIZER_NOT_FULLY_BRACKETED = NO; + GCC_WARN_SHADOW = NO; + GCC_WARN_SIGN_COMPARE = YES; GCC_WARN_UNDECLARED_SELECTOR = YES; GCC_WARN_UNINITIALIZED_AUTOS = YES; + GCC_WARN_UNKNOWN_PRAGMAS = YES; GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_PARAMETER = YES; GCC_WARN_UNUSED_VARIABLE = YES; HEADER_SEARCH_PATHS = ( "$(inherited)", @@ -2988,8 +3238,20 @@ SUPPORTED_PLATFORMS = macosx; USER_HEADER_SEARCH_PATHS = ""; WARNING_CFLAGS = ( - "-Wno-parentheses-equality", + "-Wall", + "-Wextra", + "-Wno-unknown-warning-option", + "-Wpointer-arith", + "-Wno-char-subscripts", + "-Wno-missing-braces", + "-Wwrite-strings", "-Wno-attributes", + "-Wno-strict-overflow", + "-Wno-unused-result", + "-Wlogical-op", + "-Wcast-qual", + "-Wno-parentheses-equality", + "-Wno-unused-value", ); }; name = Release; @@ -2997,25 +3259,6 @@ 0008EA3619F1AFA70091588D /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { - CLANG_CXX_LANGUAGE_STANDARD = "gnu++98"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = NO; - CLANG_ENABLE_OBJC_ARC = NO; - CLANG_WARN_BOOL_CONVERSION = NO; - CLANG_WARN_CONSTANT_CONVERSION = NO; - CLANG_WARN_ENUM_CONVERSION = NO; - CLANG_WARN_INT_CONVERSION = NO; - GCC_CHAR_IS_UNSIGNED_CHAR = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_ENABLE_CPP_EXCEPTIONS = NO; - GCC_ENABLE_CPP_RTTI = NO; - GCC_ENABLE_OBJC_EXCEPTIONS = NO; - GCC_LINK_WITH_DYNAMIC_LIBRARIES = NO; - GCC_PRECOMPILE_PREFIX_HEADER = NO; - GCC_WARN_64_TO_32_BIT_CONVERSION = NO; - GCC_WARN_UNINITIALIZED_AUTOS = YES; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; HEADER_SEARCH_PATHS = ( "$(inherited)", /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include, @@ -3023,58 +3266,15 @@ /usr/local/include/SDL2, ); LIBRARY_SEARCH_PATHS = /usr/local/lib; - LLVM_LTO = YES; ONLY_ACTIVE_ARCH = YES; - OTHER_CFLAGS = ( - "-D_THREAD_SAFE", - "-DOSX_STARTUPWINDOW", - "-DNDEBUG", - "-DNO_GCC_BUILTINS", - "-D_FORTIFY_SOURCE=2", - "-DUSE_LIBPNG", - "-DUSE_LIBVPX", - "-DHAVE_INTTYPES", - "-DSDL_TARGET=2", - "-DRENDERTYPESDL=1", - "-DMIXERTYPESDL=1", - "-DUSE_OPENGL", - "-DPOLYMER", - "-DHAS_SOCKLEN_T", - "-DHAVE_SDL", - "-DUSING_LTO", - "-DNOASM", - ); PRODUCT_NAME = "$(TARGET_NAME)"; USER_HEADER_SEARCH_PATHS = ""; - WARNING_CFLAGS = ( - "-Wno-parentheses-equality", - "-Wno-attributes", - ); }; name = Debug; }; 0008EA3719F1AFA70091588D /* Release */ = { isa = XCBuildConfiguration; buildSettings = { - CLANG_CXX_LANGUAGE_STANDARD = "gnu++98"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = NO; - CLANG_ENABLE_OBJC_ARC = NO; - CLANG_WARN_BOOL_CONVERSION = NO; - CLANG_WARN_CONSTANT_CONVERSION = NO; - CLANG_WARN_ENUM_CONVERSION = NO; - CLANG_WARN_INT_CONVERSION = NO; - GCC_CHAR_IS_UNSIGNED_CHAR = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_ENABLE_CPP_EXCEPTIONS = NO; - GCC_ENABLE_CPP_RTTI = NO; - GCC_ENABLE_OBJC_EXCEPTIONS = NO; - GCC_LINK_WITH_DYNAMIC_LIBRARIES = NO; - GCC_PRECOMPILE_PREFIX_HEADER = NO; - GCC_WARN_64_TO_32_BIT_CONVERSION = NO; - GCC_WARN_UNINITIALIZED_AUTOS = YES; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; HEADER_SEARCH_PATHS = ( "$(inherited)", /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include, @@ -3082,33 +3282,9 @@ /usr/local/include/SDL2, ); LIBRARY_SEARCH_PATHS = /usr/local/lib; - LLVM_LTO = YES; ONLY_ACTIVE_ARCH = YES; - OTHER_CFLAGS = ( - "-D_THREAD_SAFE", - "-DOSX_STARTUPWINDOW", - "-DNDEBUG", - "-DNO_GCC_BUILTINS", - "-D_FORTIFY_SOURCE=2", - "-DUSE_LIBPNG", - "-DUSE_LIBVPX", - "-DHAVE_INTTYPES", - "-DSDL_TARGET=2", - "-DRENDERTYPESDL=1", - "-DMIXERTYPESDL=1", - "-DUSE_OPENGL", - "-DPOLYMER", - "-DHAS_SOCKLEN_T", - "-DHAVE_SDL", - "-DUSING_LTO", - "-DNOASM", - ); PRODUCT_NAME = "$(TARGET_NAME)"; USER_HEADER_SEARCH_PATHS = ""; - WARNING_CFLAGS = ( - "-Wno-parentheses-equality", - "-Wno-attributes", - ); }; name = Release; }; @@ -3120,13 +3296,17 @@ CLANG_CXX_LIBRARY = "libc++"; CLANG_ENABLE_MODULES = NO; CLANG_ENABLE_OBJC_ARC = NO; + CLANG_WARN_ASSIGN_ENUM = YES; CLANG_WARN_BOOL_CONVERSION = NO; CLANG_WARN_CONSTANT_CONVERSION = NO; + CLANG_WARN_CXX0X_EXTENSIONS = YES; CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; CLANG_WARN_EMPTY_BODY = YES; CLANG_WARN_ENUM_CONVERSION = NO; CLANG_WARN_INT_CONVERSION = NO; + CLANG_WARN_NULLABLE_TO_NONNULL_CONVERSION = NO; CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_SUSPICIOUS_IMPLICIT_CONVERSION = NO; CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; COMBINE_HIDPI_IMAGES = YES; COPY_PHASE_STRIP = NO; @@ -3146,11 +3326,20 @@ "$(inherited)", ); GCC_SYMBOLS_PRIVATE_EXTERN = NO; + GCC_TREAT_IMPLICIT_FUNCTION_DECLARATIONS_AS_ERRORS = NO; GCC_WARN_64_TO_32_BIT_CONVERSION = NO; + GCC_WARN_ABOUT_MISSING_FIELD_INITIALIZERS = YES; + GCC_WARN_ABOUT_MISSING_NEWLINE = YES; + GCC_WARN_ABOUT_MISSING_PROTOTYPES = NO; GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_INITIALIZER_NOT_FULLY_BRACKETED = NO; + GCC_WARN_SHADOW = NO; + GCC_WARN_SIGN_COMPARE = YES; GCC_WARN_UNDECLARED_SELECTOR = YES; GCC_WARN_UNINITIALIZED_AUTOS = YES; + GCC_WARN_UNKNOWN_PRAGMAS = YES; GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_PARAMETER = YES; GCC_WARN_UNUSED_VARIABLE = YES; HEADER_SEARCH_PATHS = ( "$(inherited)", @@ -3186,8 +3375,20 @@ SUPPORTED_PLATFORMS = macosx; USER_HEADER_SEARCH_PATHS = ""; WARNING_CFLAGS = ( - "-Wno-parentheses-equality", + "-Wall", + "-Wextra", + "-Wno-unknown-warning-option", + "-Wpointer-arith", + "-Wno-char-subscripts", + "-Wno-missing-braces", + "-Wwrite-strings", "-Wno-attributes", + "-Wno-strict-overflow", + "-Wno-unused-result", + "-Wlogical-op", + "-Wcast-qual", + "-Wno-parentheses-equality", + "-Wno-unused-value", ); }; name = Debug; @@ -3200,13 +3401,17 @@ CLANG_CXX_LIBRARY = "libc++"; CLANG_ENABLE_MODULES = NO; CLANG_ENABLE_OBJC_ARC = NO; + CLANG_WARN_ASSIGN_ENUM = YES; CLANG_WARN_BOOL_CONVERSION = NO; CLANG_WARN_CONSTANT_CONVERSION = NO; + CLANG_WARN_CXX0X_EXTENSIONS = YES; CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; CLANG_WARN_EMPTY_BODY = YES; CLANG_WARN_ENUM_CONVERSION = NO; CLANG_WARN_INT_CONVERSION = NO; + CLANG_WARN_NULLABLE_TO_NONNULL_CONVERSION = NO; CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_SUSPICIOUS_IMPLICIT_CONVERSION = NO; CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; COMBINE_HIDPI_IMAGES = YES; COPY_PHASE_STRIP = YES; @@ -3220,11 +3425,20 @@ GCC_ENABLE_OBJC_EXCEPTIONS = NO; GCC_LINK_WITH_DYNAMIC_LIBRARIES = NO; GCC_PRECOMPILE_PREFIX_HEADER = NO; + GCC_TREAT_IMPLICIT_FUNCTION_DECLARATIONS_AS_ERRORS = NO; GCC_WARN_64_TO_32_BIT_CONVERSION = NO; + GCC_WARN_ABOUT_MISSING_FIELD_INITIALIZERS = YES; + GCC_WARN_ABOUT_MISSING_NEWLINE = YES; + GCC_WARN_ABOUT_MISSING_PROTOTYPES = NO; GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_INITIALIZER_NOT_FULLY_BRACKETED = NO; + GCC_WARN_SHADOW = NO; + GCC_WARN_SIGN_COMPARE = YES; GCC_WARN_UNDECLARED_SELECTOR = YES; GCC_WARN_UNINITIALIZED_AUTOS = YES; + GCC_WARN_UNKNOWN_PRAGMAS = YES; GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_PARAMETER = YES; GCC_WARN_UNUSED_VARIABLE = YES; HEADER_SEARCH_PATHS = ( "$(inherited)", @@ -3260,8 +3474,20 @@ SUPPORTED_PLATFORMS = macosx; USER_HEADER_SEARCH_PATHS = ""; WARNING_CFLAGS = ( - "-Wno-parentheses-equality", + "-Wall", + "-Wextra", + "-Wno-unknown-warning-option", + "-Wpointer-arith", + "-Wno-char-subscripts", + "-Wno-missing-braces", + "-Wwrite-strings", "-Wno-attributes", + "-Wno-strict-overflow", + "-Wno-unused-result", + "-Wlogical-op", + "-Wcast-qual", + "-Wno-parentheses-equality", + "-Wno-unused-value", ); }; name = Release; @@ -3271,17 +3497,21 @@ buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - CLANG_CXX_LANGUAGE_STANDARD = "c++98"; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++98"; CLANG_CXX_LIBRARY = "libc++"; CLANG_ENABLE_MODULES = NO; CLANG_ENABLE_OBJC_ARC = NO; + CLANG_WARN_ASSIGN_ENUM = YES; CLANG_WARN_BOOL_CONVERSION = NO; CLANG_WARN_CONSTANT_CONVERSION = NO; + CLANG_WARN_CXX0X_EXTENSIONS = YES; CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; CLANG_WARN_EMPTY_BODY = YES; CLANG_WARN_ENUM_CONVERSION = NO; CLANG_WARN_INT_CONVERSION = NO; + CLANG_WARN_NULLABLE_TO_NONNULL_CONVERSION = NO; CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_SUSPICIOUS_IMPLICIT_CONVERSION = NO; CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; CODE_SIGN_IDENTITY = "iPhone Developer"; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; @@ -3305,11 +3535,20 @@ "$(inherited)", ); GCC_SYMBOLS_PRIVATE_EXTERN = NO; + GCC_TREAT_IMPLICIT_FUNCTION_DECLARATIONS_AS_ERRORS = NO; GCC_WARN_64_TO_32_BIT_CONVERSION = NO; + GCC_WARN_ABOUT_MISSING_FIELD_INITIALIZERS = YES; + GCC_WARN_ABOUT_MISSING_NEWLINE = YES; + GCC_WARN_ABOUT_MISSING_PROTOTYPES = NO; GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_INITIALIZER_NOT_FULLY_BRACKETED = NO; + GCC_WARN_SHADOW = NO; + GCC_WARN_SIGN_COMPARE = YES; GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = NO; + GCC_WARN_UNINITIALIZED_AUTOS = YES; + GCC_WARN_UNKNOWN_PRAGMAS = YES; GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_PARAMETER = YES; GCC_WARN_UNUSED_VARIABLE = YES; HEADER_SEARCH_PATHS = ( "$(inherited)", @@ -3349,8 +3588,20 @@ TARGETED_DEVICE_FAMILY = "1,2"; VALIDATE_PRODUCT = YES; WARNING_CFLAGS = ( - "-Wno-parentheses-equality", + "-Wall", + "-Wextra", + "-Wno-unknown-warning-option", + "-Wpointer-arith", + "-Wno-char-subscripts", + "-Wno-missing-braces", + "-Wwrite-strings", "-Wno-attributes", + "-Wno-strict-overflow", + "-Wno-unused-result", + "-Wlogical-op", + "-Wcast-qual", + "-Wno-parentheses-equality", + "-Wno-unused-value", ); WRAPPER_EXTENSION = app; }; @@ -3361,17 +3612,21 @@ buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - CLANG_CXX_LANGUAGE_STANDARD = "c++98"; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++98"; CLANG_CXX_LIBRARY = "libc++"; CLANG_ENABLE_MODULES = NO; CLANG_ENABLE_OBJC_ARC = NO; + CLANG_WARN_ASSIGN_ENUM = YES; CLANG_WARN_BOOL_CONVERSION = NO; CLANG_WARN_CONSTANT_CONVERSION = NO; + CLANG_WARN_CXX0X_EXTENSIONS = YES; CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; CLANG_WARN_EMPTY_BODY = YES; CLANG_WARN_ENUM_CONVERSION = NO; CLANG_WARN_INT_CONVERSION = NO; + CLANG_WARN_NULLABLE_TO_NONNULL_CONVERSION = NO; CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_SUSPICIOUS_IMPLICIT_CONVERSION = NO; CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; CODE_SIGN_IDENTITY = "iPhone Developer"; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; @@ -3391,11 +3646,20 @@ GCC_PRECOMPILE_PREFIX_HEADER = NO; GCC_PREFIX_HEADER = ""; GCC_PREPROCESSOR_DEFINITIONS = NDEBUG; + GCC_TREAT_IMPLICIT_FUNCTION_DECLARATIONS_AS_ERRORS = NO; GCC_WARN_64_TO_32_BIT_CONVERSION = NO; + GCC_WARN_ABOUT_MISSING_FIELD_INITIALIZERS = YES; + GCC_WARN_ABOUT_MISSING_NEWLINE = YES; + GCC_WARN_ABOUT_MISSING_PROTOTYPES = NO; GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_INITIALIZER_NOT_FULLY_BRACKETED = NO; + GCC_WARN_SHADOW = NO; + GCC_WARN_SIGN_COMPARE = YES; GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = NO; + GCC_WARN_UNINITIALIZED_AUTOS = YES; + GCC_WARN_UNKNOWN_PRAGMAS = YES; GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_PARAMETER = YES; GCC_WARN_UNUSED_VARIABLE = YES; HEADER_SEARCH_PATHS = ( "$(inherited)", @@ -3434,8 +3698,20 @@ TARGETED_DEVICE_FAMILY = "1,2"; VALIDATE_PRODUCT = YES; WARNING_CFLAGS = ( - "-Wno-parentheses-equality", + "-Wall", + "-Wextra", + "-Wno-unknown-warning-option", + "-Wpointer-arith", + "-Wno-char-subscripts", + "-Wno-missing-braces", + "-Wwrite-strings", "-Wno-attributes", + "-Wno-strict-overflow", + "-Wno-unused-result", + "-Wlogical-op", + "-Wcast-qual", + "-Wno-parentheses-equality", + "-Wno-unused-value", ); WRAPPER_EXTENSION = app; }; @@ -3445,17 +3721,21 @@ isa = XCBuildConfiguration; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_CXX_LANGUAGE_STANDARD = "c++98"; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++98"; CLANG_CXX_LIBRARY = "libc++"; CLANG_ENABLE_MODULES = NO; CLANG_ENABLE_OBJC_ARC = NO; + CLANG_WARN_ASSIGN_ENUM = YES; CLANG_WARN_BOOL_CONVERSION = NO; CLANG_WARN_CONSTANT_CONVERSION = NO; + CLANG_WARN_CXX0X_EXTENSIONS = YES; CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; CLANG_WARN_EMPTY_BODY = YES; CLANG_WARN_ENUM_CONVERSION = NO; CLANG_WARN_INT_CONVERSION = NO; + CLANG_WARN_NULLABLE_TO_NONNULL_CONVERSION = NO; CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_SUSPICIOUS_IMPLICIT_CONVERSION = NO; CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; CODE_SIGN_IDENTITY = "iPhone Developer"; COPY_PHASE_STRIP = NO; @@ -3477,11 +3757,20 @@ "$(inherited)", ); GCC_SYMBOLS_PRIVATE_EXTERN = NO; + GCC_TREAT_IMPLICIT_FUNCTION_DECLARATIONS_AS_ERRORS = NO; GCC_WARN_64_TO_32_BIT_CONVERSION = NO; + GCC_WARN_ABOUT_MISSING_FIELD_INITIALIZERS = YES; + GCC_WARN_ABOUT_MISSING_NEWLINE = YES; + GCC_WARN_ABOUT_MISSING_PROTOTYPES = NO; GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_INITIALIZER_NOT_FULLY_BRACKETED = NO; + GCC_WARN_SHADOW = NO; + GCC_WARN_SIGN_COMPARE = YES; GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = NO; + GCC_WARN_UNINITIALIZED_AUTOS = YES; + GCC_WARN_UNKNOWN_PRAGMAS = YES; GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_PARAMETER = YES; GCC_WARN_UNUSED_VARIABLE = YES; HEADER_SEARCH_PATHS = ( "$(inherited)", @@ -3522,8 +3811,20 @@ USER_HEADER_SEARCH_PATHS = ""; VALIDATE_PRODUCT = YES; WARNING_CFLAGS = ( - "-Wno-parentheses-equality", + "-Wall", + "-Wextra", + "-Wno-unknown-warning-option", + "-Wpointer-arith", + "-Wno-char-subscripts", + "-Wno-missing-braces", + "-Wwrite-strings", "-Wno-attributes", + "-Wno-strict-overflow", + "-Wno-unused-result", + "-Wlogical-op", + "-Wcast-qual", + "-Wno-parentheses-equality", + "-Wno-unused-value", ); }; name = Debug; @@ -3532,17 +3833,21 @@ isa = XCBuildConfiguration; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_CXX_LANGUAGE_STANDARD = "c++98"; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++98"; CLANG_CXX_LIBRARY = "libc++"; CLANG_ENABLE_MODULES = NO; CLANG_ENABLE_OBJC_ARC = NO; + CLANG_WARN_ASSIGN_ENUM = YES; CLANG_WARN_BOOL_CONVERSION = NO; CLANG_WARN_CONSTANT_CONVERSION = NO; + CLANG_WARN_CXX0X_EXTENSIONS = YES; CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; CLANG_WARN_EMPTY_BODY = YES; CLANG_WARN_ENUM_CONVERSION = NO; CLANG_WARN_INT_CONVERSION = NO; + CLANG_WARN_NULLABLE_TO_NONNULL_CONVERSION = NO; CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_SUSPICIOUS_IMPLICIT_CONVERSION = NO; CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; CODE_SIGN_IDENTITY = "iPhone Developer"; COPY_PHASE_STRIP = YES; @@ -3559,11 +3864,20 @@ GCC_PRECOMPILE_PREFIX_HEADER = NO; GCC_PREFIX_HEADER = ""; GCC_PREPROCESSOR_DEFINITIONS = NDEBUG; + GCC_TREAT_IMPLICIT_FUNCTION_DECLARATIONS_AS_ERRORS = NO; GCC_WARN_64_TO_32_BIT_CONVERSION = NO; + GCC_WARN_ABOUT_MISSING_FIELD_INITIALIZERS = YES; + GCC_WARN_ABOUT_MISSING_NEWLINE = YES; + GCC_WARN_ABOUT_MISSING_PROTOTYPES = NO; GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_INITIALIZER_NOT_FULLY_BRACKETED = NO; + GCC_WARN_SHADOW = NO; + GCC_WARN_SIGN_COMPARE = YES; GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = NO; + GCC_WARN_UNINITIALIZED_AUTOS = YES; + GCC_WARN_UNKNOWN_PRAGMAS = YES; GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_PARAMETER = YES; GCC_WARN_UNUSED_VARIABLE = YES; HEADER_SEARCH_PATHS = ( "$(inherited)", @@ -3603,8 +3917,20 @@ USER_HEADER_SEARCH_PATHS = ""; VALIDATE_PRODUCT = YES; WARNING_CFLAGS = ( - "-Wno-parentheses-equality", + "-Wall", + "-Wextra", + "-Wno-unknown-warning-option", + "-Wpointer-arith", + "-Wno-char-subscripts", + "-Wno-missing-braces", + "-Wwrite-strings", "-Wno-attributes", + "-Wno-strict-overflow", + "-Wno-unused-result", + "-Wlogical-op", + "-Wcast-qual", + "-Wno-parentheses-equality", + "-Wno-unused-value", ); }; name = Release; @@ -3613,17 +3939,21 @@ isa = XCBuildConfiguration; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_CXX_LANGUAGE_STANDARD = "c++98"; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++98"; CLANG_CXX_LIBRARY = "libc++"; CLANG_ENABLE_MODULES = NO; CLANG_ENABLE_OBJC_ARC = NO; + CLANG_WARN_ASSIGN_ENUM = YES; CLANG_WARN_BOOL_CONVERSION = NO; CLANG_WARN_CONSTANT_CONVERSION = NO; + CLANG_WARN_CXX0X_EXTENSIONS = YES; CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; CLANG_WARN_EMPTY_BODY = YES; CLANG_WARN_ENUM_CONVERSION = NO; CLANG_WARN_INT_CONVERSION = NO; + CLANG_WARN_NULLABLE_TO_NONNULL_CONVERSION = NO; CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_SUSPICIOUS_IMPLICIT_CONVERSION = NO; CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; CODE_SIGN_IDENTITY = "iPhone Developer"; COPY_PHASE_STRIP = NO; @@ -3645,11 +3975,20 @@ "$(inherited)", ); GCC_SYMBOLS_PRIVATE_EXTERN = NO; + GCC_TREAT_IMPLICIT_FUNCTION_DECLARATIONS_AS_ERRORS = NO; GCC_WARN_64_TO_32_BIT_CONVERSION = NO; + GCC_WARN_ABOUT_MISSING_FIELD_INITIALIZERS = YES; + GCC_WARN_ABOUT_MISSING_NEWLINE = YES; + GCC_WARN_ABOUT_MISSING_PROTOTYPES = NO; GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_INITIALIZER_NOT_FULLY_BRACKETED = NO; + GCC_WARN_SHADOW = NO; + GCC_WARN_SIGN_COMPARE = YES; GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = NO; + GCC_WARN_UNINITIALIZED_AUTOS = YES; + GCC_WARN_UNKNOWN_PRAGMAS = YES; GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_PARAMETER = YES; GCC_WARN_UNUSED_VARIABLE = YES; HEADER_SEARCH_PATHS = ( "$(inherited)", @@ -3687,8 +4026,20 @@ USER_HEADER_SEARCH_PATHS = ""; VALIDATE_PRODUCT = YES; WARNING_CFLAGS = ( - "-Wno-parentheses-equality", + "-Wall", + "-Wextra", + "-Wno-unknown-warning-option", + "-Wpointer-arith", + "-Wno-char-subscripts", + "-Wno-missing-braces", + "-Wwrite-strings", "-Wno-attributes", + "-Wno-strict-overflow", + "-Wno-unused-result", + "-Wlogical-op", + "-Wcast-qual", + "-Wno-parentheses-equality", + "-Wno-unused-value", ); }; name = Debug; @@ -3697,17 +4048,21 @@ isa = XCBuildConfiguration; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_CXX_LANGUAGE_STANDARD = "c++98"; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++98"; CLANG_CXX_LIBRARY = "libc++"; CLANG_ENABLE_MODULES = NO; CLANG_ENABLE_OBJC_ARC = NO; + CLANG_WARN_ASSIGN_ENUM = YES; CLANG_WARN_BOOL_CONVERSION = NO; CLANG_WARN_CONSTANT_CONVERSION = NO; + CLANG_WARN_CXX0X_EXTENSIONS = YES; CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; CLANG_WARN_EMPTY_BODY = YES; CLANG_WARN_ENUM_CONVERSION = NO; CLANG_WARN_INT_CONVERSION = NO; + CLANG_WARN_NULLABLE_TO_NONNULL_CONVERSION = NO; CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_SUSPICIOUS_IMPLICIT_CONVERSION = NO; CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; CODE_SIGN_IDENTITY = "iPhone Developer"; COPY_PHASE_STRIP = YES; @@ -3724,11 +4079,20 @@ GCC_PRECOMPILE_PREFIX_HEADER = NO; GCC_PREFIX_HEADER = ""; GCC_PREPROCESSOR_DEFINITIONS = NDEBUG; + GCC_TREAT_IMPLICIT_FUNCTION_DECLARATIONS_AS_ERRORS = NO; GCC_WARN_64_TO_32_BIT_CONVERSION = NO; + GCC_WARN_ABOUT_MISSING_FIELD_INITIALIZERS = YES; + GCC_WARN_ABOUT_MISSING_NEWLINE = YES; + GCC_WARN_ABOUT_MISSING_PROTOTYPES = NO; GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_INITIALIZER_NOT_FULLY_BRACKETED = NO; + GCC_WARN_SHADOW = NO; + GCC_WARN_SIGN_COMPARE = YES; GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = NO; + GCC_WARN_UNINITIALIZED_AUTOS = YES; + GCC_WARN_UNKNOWN_PRAGMAS = YES; GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_PARAMETER = YES; GCC_WARN_UNUSED_VARIABLE = YES; HEADER_SEARCH_PATHS = ( "$(inherited)", @@ -3765,8 +4129,20 @@ USER_HEADER_SEARCH_PATHS = ""; VALIDATE_PRODUCT = YES; WARNING_CFLAGS = ( - "-Wno-parentheses-equality", + "-Wall", + "-Wextra", + "-Wno-unknown-warning-option", + "-Wpointer-arith", + "-Wno-char-subscripts", + "-Wno-missing-braces", + "-Wwrite-strings", "-Wno-attributes", + "-Wno-strict-overflow", + "-Wno-unused-result", + "-Wlogical-op", + "-Wcast-qual", + "-Wno-parentheses-equality", + "-Wno-unused-value", ); }; name = Release; @@ -3775,17 +4151,21 @@ isa = XCBuildConfiguration; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_CXX_LANGUAGE_STANDARD = "c++98"; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++98"; CLANG_CXX_LIBRARY = "libc++"; CLANG_ENABLE_MODULES = NO; CLANG_ENABLE_OBJC_ARC = NO; + CLANG_WARN_ASSIGN_ENUM = YES; CLANG_WARN_BOOL_CONVERSION = NO; CLANG_WARN_CONSTANT_CONVERSION = NO; + CLANG_WARN_CXX0X_EXTENSIONS = YES; CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; CLANG_WARN_EMPTY_BODY = YES; CLANG_WARN_ENUM_CONVERSION = NO; CLANG_WARN_INT_CONVERSION = NO; + CLANG_WARN_NULLABLE_TO_NONNULL_CONVERSION = NO; CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_SUSPICIOUS_IMPLICIT_CONVERSION = NO; CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; CODE_SIGN_IDENTITY = "iPhone Developer"; COPY_PHASE_STRIP = NO; @@ -3807,11 +4187,20 @@ "$(inherited)", ); GCC_SYMBOLS_PRIVATE_EXTERN = NO; + GCC_TREAT_IMPLICIT_FUNCTION_DECLARATIONS_AS_ERRORS = NO; GCC_WARN_64_TO_32_BIT_CONVERSION = NO; + GCC_WARN_ABOUT_MISSING_FIELD_INITIALIZERS = YES; + GCC_WARN_ABOUT_MISSING_NEWLINE = YES; + GCC_WARN_ABOUT_MISSING_PROTOTYPES = NO; GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_INITIALIZER_NOT_FULLY_BRACKETED = NO; + GCC_WARN_SHADOW = NO; + GCC_WARN_SIGN_COMPARE = YES; GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = NO; + GCC_WARN_UNINITIALIZED_AUTOS = YES; + GCC_WARN_UNKNOWN_PRAGMAS = YES; GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_PARAMETER = YES; GCC_WARN_UNUSED_VARIABLE = YES; HEADER_SEARCH_PATHS = ( "$(inherited)", @@ -3849,8 +4238,20 @@ USER_HEADER_SEARCH_PATHS = ""; VALIDATE_PRODUCT = YES; WARNING_CFLAGS = ( - "-Wno-parentheses-equality", + "-Wall", + "-Wextra", + "-Wno-unknown-warning-option", + "-Wpointer-arith", + "-Wno-char-subscripts", + "-Wno-missing-braces", + "-Wwrite-strings", "-Wno-attributes", + "-Wno-strict-overflow", + "-Wno-unused-result", + "-Wlogical-op", + "-Wcast-qual", + "-Wno-parentheses-equality", + "-Wno-unused-value", ); }; name = Debug; @@ -3859,17 +4260,21 @@ isa = XCBuildConfiguration; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_CXX_LANGUAGE_STANDARD = "c++98"; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++98"; CLANG_CXX_LIBRARY = "libc++"; CLANG_ENABLE_MODULES = NO; CLANG_ENABLE_OBJC_ARC = NO; + CLANG_WARN_ASSIGN_ENUM = YES; CLANG_WARN_BOOL_CONVERSION = NO; CLANG_WARN_CONSTANT_CONVERSION = NO; + CLANG_WARN_CXX0X_EXTENSIONS = YES; CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; CLANG_WARN_EMPTY_BODY = YES; CLANG_WARN_ENUM_CONVERSION = NO; CLANG_WARN_INT_CONVERSION = NO; + CLANG_WARN_NULLABLE_TO_NONNULL_CONVERSION = NO; CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_SUSPICIOUS_IMPLICIT_CONVERSION = NO; CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; CODE_SIGN_IDENTITY = "iPhone Developer"; COPY_PHASE_STRIP = YES; @@ -3886,11 +4291,20 @@ GCC_PRECOMPILE_PREFIX_HEADER = NO; GCC_PREFIX_HEADER = ""; GCC_PREPROCESSOR_DEFINITIONS = NDEBUG; + GCC_TREAT_IMPLICIT_FUNCTION_DECLARATIONS_AS_ERRORS = NO; GCC_WARN_64_TO_32_BIT_CONVERSION = NO; + GCC_WARN_ABOUT_MISSING_FIELD_INITIALIZERS = YES; + GCC_WARN_ABOUT_MISSING_NEWLINE = YES; + GCC_WARN_ABOUT_MISSING_PROTOTYPES = NO; GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_INITIALIZER_NOT_FULLY_BRACKETED = NO; + GCC_WARN_SHADOW = NO; + GCC_WARN_SIGN_COMPARE = YES; GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = NO; + GCC_WARN_UNINITIALIZED_AUTOS = YES; + GCC_WARN_UNKNOWN_PRAGMAS = YES; GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_PARAMETER = YES; GCC_WARN_UNUSED_VARIABLE = YES; HEADER_SEARCH_PATHS = ( "$(inherited)", @@ -3927,8 +4341,20 @@ USER_HEADER_SEARCH_PATHS = ""; VALIDATE_PRODUCT = YES; WARNING_CFLAGS = ( - "-Wno-parentheses-equality", + "-Wall", + "-Wextra", + "-Wno-unknown-warning-option", + "-Wpointer-arith", + "-Wno-char-subscripts", + "-Wno-missing-braces", + "-Wwrite-strings", "-Wno-attributes", + "-Wno-strict-overflow", + "-Wno-unused-result", + "-Wlogical-op", + "-Wcast-qual", + "-Wno-parentheses-equality", + "-Wno-unused-value", ); }; name = Release;