From 9831100e5b25c45a678ff763db15c881f26bfa3f Mon Sep 17 00:00:00 2001 From: "gtm.daemon" Date: Mon, 26 Jul 2010 22:34:25 +0000 Subject: [Author: dmaclach] Turn off the stdc++ lib debug warnings because they don't work on gcc 4.2. TBR=thomasvl DELTA=5 (4 added, 0 deleted, 1 changed) --- XcodeConfig/subconfig/Debug.xcconfig | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'XcodeConfig') diff --git a/XcodeConfig/subconfig/Debug.xcconfig b/XcodeConfig/subconfig/Debug.xcconfig index 7d54d61..719700c 100644 --- a/XcodeConfig/subconfig/Debug.xcconfig +++ b/XcodeConfig/subconfig/Debug.xcconfig @@ -8,9 +8,9 @@ // Licensed under the Apache License, Version 2.0 (the "License"); you may not // use this file except in compliance with the License. You may obtain a copy // of the License at -// +// // http://www.apache.org/licenses/LICENSE-2.0 -// +// // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, WITHOUT // WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the @@ -35,13 +35,17 @@ GCC_GENERATE_DEBUGGING_SYMBOLS = YES GCC_WARN_UNINITIALIZED_AUTOS = NO // Turns on special C++ STL checks to "encourage" good STL use -GTM_CONFIGURATION_GCC_PREPROCESSOR_DEFINITIONS = _GLIBCXX_DEBUG_PEDANTIC _GLIBCXX_DEBUG _GLIBCPP_CONCEPT_CHECKS DEBUG=1 +// Currently turned off as this is broken using gcc 4.2, and there's no good way +// to conditionalize it. +// http://stackoverflow.com/questions/1416096/c-debug-builds-broke-in-snow-leopard-x-code +//GTM_CONFIGURATION_GCC_PREPROCESSOR_DEFINITIONS = _GLIBCXX_DEBUG_PEDANTIC _GLIBCXX_DEBUG _GLIBCPP_CONCEPT_CHECKS DEBUG=1 +GTM_CONFIGURATION_GCC_PREPROCESSOR_DEFINITIONS = DEBUG=1 // Turns on stack protection on debug builds for Leopard and above GTM_CONFIGURATION_OTHER_CFLAGS = -fstack-protector -fstack-protector-all // Stack protection doesn't exist on Tiger GTM_CONFIGURATION_OTHER_CFLAGS[sdk=macosx10.4*] = -// And is really broken on the iPhone Device. Works on simulator though. +// And is really broken on the iPhone Device. Works on simulator though. // rdar://639430 Xcode generates bad Arm code if -fstack-protector -fstack-protector-all GTM_CONFIGURATION_OTHER_CFLAGS[sdk=iphoneos*] = -- cgit v1.2.3