Permalink
Browse files

Add some build warnings, and treat warnings as errors.

Signed-off-by: Jonathan 'Wolf' Rentzsch <jwr.git@redshed.net>
  • Loading branch information...
1 parent 9a47274 commit cf6dfbb4978596961ba232279994a65b00b9e30b @lapcat lapcat committed with Feb 21, 2009
Showing with 8 additions and 0 deletions.
  1. +8 −0 ClickToFlash.xcodeproj/project.pbxproj
@@ -399,15 +399,23 @@
isa = XCBuildConfiguration;
buildSettings = {
COPY_PHASE_STRIP = NO;
+ GCC_TREAT_WARNINGS_AS_ERRORS = YES;
+ GCC_WARN_ABOUT_MISSING_PROTOTYPES = YES;
+ GCC_WARN_SIGN_COMPARE = YES;
PRODUCT_VERSION = 1.3;
+ WARNING_CFLAGS = "-Wall";
};
name = Debug;
};
55EB70340E04A8410016593D /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
COPY_PHASE_STRIP = YES;
+ GCC_TREAT_WARNINGS_AS_ERRORS = YES;
+ GCC_WARN_ABOUT_MISSING_PROTOTYPES = YES;
+ GCC_WARN_SIGN_COMPARE = YES;
PRODUCT_VERSION = 1.3;
+ WARNING_CFLAGS = "-Wall";
};
name = Release;
};

0 comments on commit cf6dfbb

Please sign in to comment.