templates/simple/app/configuration/compiler.xcconfig in xcbootstrap-0.0.2 vs templates/simple/app/configuration/compiler.xcconfig in xcbootstrap-0.0.3
- old
+ new
@@ -13,15 +13,19 @@
GCC_TREAT_WARNINGS_AS_ERRORS = YES
GCC_WARN_PEDANTIC = YES
GCC_WARN_CHECK_SWITCH_STATEMENTS = YES
GCC_WARN_ABOUT_DEPRECATED_FUNCTIONS = YES
+CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES
+CLANG_WARN_DOCUMENTATION_COMMENTS = NO // not using these comments as documentation
CLANG_WARN_EMPTY_BODY = YES
GCC_WARN_FOUR_CHARACTER_CONSTANTS = YES
GCC_WARN_SHADOW = YES
+CLANG_WARN_BOOL_CONVERSION = YES
CLANG_WARN_CONSTANT_CONVERSION = YES
GCC_WARN_64_TO_32_BIT_CONVERSION = YES
+GCC_WARN_64_TO_32_BIT_CONVERSION[arch=*64] = YES
CLANG_WARN_ENUM_CONVERSION = YES
CLANG_WARN_INT_CONVERSION = YES
CLANG_WARN_IMPLICIT_SIGN_CONVERSION = YES
GCC_WARN_INITIALIZER_NOT_FULLY_BRACKETED = YES
GCC_WARN_ABOUT_RETURN_TYPE = YES
@@ -49,9 +53,13 @@
GCC_WARN_MULTIPLE_DEFINITION_TYPES_FOR_SELECTOR = YES
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES
CLANG_WARN_OBJC_RECEIVER_WEAK = YES
GCC_WARN_STRICT_SELECTOR_MATCH = YES
GCC_WARN_UNDECLARED_SELECTOR = YES
+CLANG_WARN_OBJC_ROOT_CLASS = YES
+CLANG_WARN_OBJC_EXPLICIT_OWNERSHIP_TYPE = YES
+CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES
+CLANG_WARN_OBJC_REPEATED_USE_OF_WEAK = YES
CLANG_WARN__ARC_BRIDGE_CAST_NONARC = YES
GCC_STRICT_ALIASING = YES
// manual compiler overrides