Skip to content

Instantly share code, notes, and snippets.

@rentzsch
Created March 7, 2011 06:27
Show Gist options
  • Save rentzsch/858149 to your computer and use it in GitHub Desktop.
Save rentzsch/858149 to your computer and use it in GitHub Desktop.
// Hosey_warnings.xcconfig
// see http://boredzo.org/blog/archives/2009-11-07/warnings
// http://rentzsch.tumblr.com/post/237349423/hoseyifyxcodewarnings-scpt
// http://tewha.net/2010/11/xcode-warnings/
GCC_TREAT_WARNINGS_AS_ERRORS = YES
GCC_WARN_64_TO_32_BIT_CONVERSION = YES
GCC_WARN_ABOUT_DEPRECATED_FUNCTIONS = YES
GCC_WARN_ABOUT_INVALID_OFFSETOF_MACRO = YES
GCC_WARN_ABOUT_MISSING_FIELD_INITIALIZERS = YES
GCC_WARN_ABOUT_MISSING_NEWLINE = YES
GCC_WARN_ABOUT_MISSING_PROTOTYPES = YES
GCC_WARN_ABOUT_RETURN_TYPE = YES
GCC_WARN_CHECK_SWITCH_STATEMENTS = YES
GCC_WARN_HIDDEN_VIRTUAL_FUNCTIONS = YES
GCC_WARN_INITIALIZER_NOT_FULLY_BRACKETED = YES
GCC_WARN_MISSING_PARENTHESES = YES
GCC_WARN_NON_VIRTUAL_DESTRUCTOR = YES
GCC_WARN_SHADOW = YES
GCC_WARN_SIGN_COMPARE = YES
GCC_WARN_STRICT_SELECTOR_MATCH = YES
GCC_WARN_TYPECHECK_CALLS_TO_PRINTF = YES
GCC_WARN_UNDECLARED_SELECTOR = YES
GCC_WARN_UNUSED_FUNCTION = YES
GCC_WARN_UNUSED_LABEL = YES
GCC_WARN_UNUSED_VALUE = YES
GCC_WARN_UNUSED_VARIABLE = YES
RUN_CLANG_STATIC_ANALYZER = YES
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment