Skip to content

Commit cf6dfbb

Browse files
lapcatrentzsch
authored andcommitted
Add some build warnings, and treat warnings as errors.
Signed-off-by: Jonathan 'Wolf' Rentzsch <[email protected]>
1 parent 9a47274 commit cf6dfbb

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

ClickToFlash.xcodeproj/project.pbxproj

+8
Original file line numberDiff line numberDiff line change
@@ -399,15 +399,23 @@
399399
isa = XCBuildConfiguration;
400400
buildSettings = {
401401
COPY_PHASE_STRIP = NO;
402+
GCC_TREAT_WARNINGS_AS_ERRORS = YES;
403+
GCC_WARN_ABOUT_MISSING_PROTOTYPES = YES;
404+
GCC_WARN_SIGN_COMPARE = YES;
402405
PRODUCT_VERSION = 1.3;
406+
WARNING_CFLAGS = "-Wall";
403407
};
404408
name = Debug;
405409
};
406410
55EB70340E04A8410016593D /* Release */ = {
407411
isa = XCBuildConfiguration;
408412
buildSettings = {
409413
COPY_PHASE_STRIP = YES;
414+
GCC_TREAT_WARNINGS_AS_ERRORS = YES;
415+
GCC_WARN_ABOUT_MISSING_PROTOTYPES = YES;
416+
GCC_WARN_SIGN_COMPARE = YES;
410417
PRODUCT_VERSION = 1.3;
418+
WARNING_CFLAGS = "-Wall";
411419
};
412420
name = Release;
413421
};

0 commit comments

Comments
 (0)