commit 761ae2b1a41a6b61a29e8e4bede958c27bb91584 from: Alexander Barton date: Sun Apr 13 21:43:12 2008 UTC Enable more compiler warnings when using Xcode. commit - 87cae1465b614d5cf887e0c5fc8fd8c2f8c87234 commit + 761ae2b1a41a6b61a29e8e4bede958c27bb91584 blob - 04b7ceb2e91cf95e643b566018822f3a97a03114 blob + 8882e4691e0d337b80541a1fc48bb98852663d02 --- contrib/MacOSX/config.h +++ contrib/MacOSX/config.h @@ -89,4 +89,4 @@ #define HAVE_DNSSERVICEREGISTRATIONCREATE 1 #endif -/* -eof- */ \ No newline at end of file +/* -eof- */ blob - c7856c7bbda1de2c5a7f59f86988599c74ee2644 blob + f55773805c64dea96f3c9146e8570c372100440c --- contrib/MacOSX/ngIRCd.xcodeproj/project.pbxproj +++ contrib/MacOSX/ngIRCd.xcodeproj/project.pbxproj @@ -635,8 +635,24 @@ 1DEB928708733DD80010E9CD /* Default */ = { isa = XCBuildConfiguration; buildSettings = { - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - GCC_MODEL_TUNING = G5; + GCC_TREAT_IMPLICIT_FUNCTION_DECLARATIONS_AS_ERRORS = YES; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_MISSING_NEWLINE = YES; + GCC_WARN_ABOUT_MISSING_PROTOTYPES = YES; + GCC_WARN_CHECK_SWITCH_STATEMENTS = YES; + GCC_WARN_FOUR_CHARACTER_CONSTANTS = YES; + GCC_WARN_INITIALIZER_NOT_FULLY_BRACKETED = YES; + GCC_WARN_MISSING_PARENTHESES = YES; + GCC_WARN_PEDANTIC = YES; + GCC_WARN_SHADOW = YES; + GCC_WARN_SIGN_COMPARE = YES; + GCC_WARN_TYPECHECK_CALLS_TO_PRINTF = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES; + GCC_WARN_UNKNOWN_PRAGMAS = YES; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_LABEL = YES; + GCC_WARN_UNUSED_PARAMETER = YES; + GCC_WARN_UNUSED_VALUE = YES; INSTALL_PATH = /usr/local/bin; PRODUCT_NAME = ngIRCd; };