]> arthur.barton.de Git - ngircd-alex.git/commitdiff
Xcode: fix "-Wuninitialized is not supported without -O"
authorAlexander Barton <alex@barton.de>
Sun, 27 Dec 2009 16:21:37 +0000 (17:21 +0100)
committerAlexander Barton <alex@barton.de>
Sun, 27 Dec 2009 16:21:37 +0000 (17:21 +0100)
Fix Apple Xcode warning "cc1: warning: -Wuninitialized is not supported
without -O" when using the "Debug" build target:

Detection of uninitialized automatic variable requires data flow analsys
that is only enabled during optimized compilation.

contrib/MacOSX/ngIRCd.xcodeproj/project.pbxproj

index a7cc74f8588c58272d13e8fad26aff3a5da47634..3d9dfe7fbc301f36cd108d8416e97ff0a3406a46 100644 (file)
                                GCC_WARN_SHADOW = YES;
                                GCC_WARN_SIGN_COMPARE = YES;
                                GCC_WARN_TYPECHECK_CALLS_TO_PRINTF = YES;
                                GCC_WARN_SHADOW = YES;
                                GCC_WARN_SIGN_COMPARE = YES;
                                GCC_WARN_TYPECHECK_CALLS_TO_PRINTF = YES;
-                               GCC_WARN_UNINITIALIZED_AUTOS = YES;
+                               GCC_WARN_UNINITIALIZED_AUTOS = NO;
                                GCC_WARN_UNKNOWN_PRAGMAS = YES;
                                GCC_WARN_UNUSED_FUNCTION = YES;
                                GCC_WARN_UNUSED_LABEL = YES;
                                GCC_WARN_UNKNOWN_PRAGMAS = YES;
                                GCC_WARN_UNUSED_FUNCTION = YES;
                                GCC_WARN_UNUSED_LABEL = YES;