Turning on my standard suite of warnings (http://boredzo.org/blog/archives/2009-11-07/warnings).
authorPeter Hosey <hg@boredzo.org>
Mon Nov 30 19:46:49 2009 -0800 (2009-11-30)
changeset 4556c928953c5ec9
parent 4555 febb38b502a7
child 4557 4077d115b390
Turning on my standard suite of warnings (http://boredzo.org/blog/archives/2009-11-07/warnings).
Developer Tools/BeepHammer/BeepHammer.xcodeproj/project.pbxproj
     1.1 --- a/Developer Tools/BeepHammer/BeepHammer.xcodeproj/project.pbxproj	Mon Nov 30 19:45:07 2009 -0800
     1.2 +++ b/Developer Tools/BeepHammer/BeepHammer.xcodeproj/project.pbxproj	Mon Nov 30 19:46:49 2009 -0800
     1.3 @@ -741,6 +741,19 @@
     1.4  				ARCHS = x86_64;
     1.5  				DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
     1.6  				GCC_GENERATE_DEBUGGING_SYMBOLS = YES;
     1.7 +				GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
     1.8 +				GCC_WARN_ABOUT_MISSING_FIELD_INITIALIZERS = YES;
     1.9 +				GCC_WARN_ABOUT_MISSING_NEWLINE = YES;
    1.10 +				GCC_WARN_ABOUT_RETURN_TYPE = YES;
    1.11 +				GCC_WARN_CHECK_SWITCH_STATEMENTS = YES;
    1.12 +				GCC_WARN_INITIALIZER_NOT_FULLY_BRACKETED = YES;
    1.13 +				GCC_WARN_MISSING_PARENTHESES = YES;
    1.14 +				GCC_WARN_SIGN_COMPARE = YES;
    1.15 +				GCC_WARN_UNDECLARED_SELECTOR = YES;
    1.16 +				GCC_WARN_UNUSED_FUNCTION = YES;
    1.17 +				GCC_WARN_UNUSED_LABEL = YES;
    1.18 +				GCC_WARN_UNUSED_VALUE = YES;
    1.19 +				GCC_WARN_UNUSED_VARIABLE = YES;
    1.20  				RUN_CLANG_STATIC_ANALYZER = YES;
    1.21  			};
    1.22  			name = Debug;
    1.23 @@ -757,6 +770,20 @@
    1.24  				DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
    1.25  				DEPLOYMENT_POSTPROCESSING = YES;
    1.26  				GCC_GENERATE_DEBUGGING_SYMBOLS = YES;
    1.27 +				GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
    1.28 +				GCC_WARN_ABOUT_MISSING_FIELD_INITIALIZERS = YES;
    1.29 +				GCC_WARN_ABOUT_MISSING_NEWLINE = YES;
    1.30 +				GCC_WARN_ABOUT_RETURN_TYPE = YES;
    1.31 +				GCC_WARN_CHECK_SWITCH_STATEMENTS = YES;
    1.32 +				GCC_WARN_INITIALIZER_NOT_FULLY_BRACKETED = YES;
    1.33 +				GCC_WARN_MISSING_PARENTHESES = YES;
    1.34 +				GCC_WARN_SIGN_COMPARE = YES;
    1.35 +				GCC_WARN_UNDECLARED_SELECTOR = YES;
    1.36 +				GCC_WARN_UNINITIALIZED_AUTOS = YES;
    1.37 +				GCC_WARN_UNUSED_FUNCTION = YES;
    1.38 +				GCC_WARN_UNUSED_LABEL = YES;
    1.39 +				GCC_WARN_UNUSED_VALUE = YES;
    1.40 +				GCC_WARN_UNUSED_VARIABLE = YES;
    1.41  				RUN_CLANG_STATIC_ANALYZER = YES;
    1.42  				SEPARATE_STRIP = YES;
    1.43  				STRIP_INSTALLED_PRODUCT = YES;