diff options
Diffstat (limited to 'XcodeConfig')
-rw-r--r-- | XcodeConfig/subconfig/Debug.xcconfig | 12 |
1 files changed, 8 insertions, 4 deletions
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*] = |